Skip to content

[NPU] Remove enforce-eager for Qwen3.5-35B-A3B - #417

Merged
CalvinXKY merged 2 commits into
vllm-project:ascendfrom
Fulin-Gao:qwen3.5-35b-a3b-graph
Sep 14, 2026
Merged

CalvinXKY merged 2 commits into
vllm-project:ascendfrom
Fulin-Gao:qwen3.5-35b-a3b-graph

Conversation

@Fulin-Gao

@Fulin-Gao Fulin-Gao commented Sep 10, 2026

Copy link
Copy Markdown

Description

  • Removed enforce-eager: Removed the enforce-eager parameter for Qwen3.5-35B-A3B on vime-ascend to enable optimized graph execution mode, reducing PyEager overhead and improving overall hardware execution efficiency on Ascend NPU.
  • Performance Benchmarking: Conducted a comprehensive performance comparison for Qwen3.5-35B-A3B between vime-ascend and slime-ascend.
  • CI Test Fix: Fixed the check_mtp_only_grad false-positive failure in the GLM-4.7-Flash CI test, where the MTP isolation assertion incorrectly fired when GRPO group rewards differ (non-all-truncated case). Closes [NPU][Bug] check_mtp_only_grad fails on GLM-4.7-Flash #421.

Test Environment

  • Hardware: Ascend NPU A3 (16 NPUs)
  • Model: Qwen3.5-35B-A3B
  • Parallelism: TP=2, EP=8
  • Rollout: batch-size=8, n-samples=8, max-response-len=8192

Performance Comparison (vime-ascend vs slime-ascend)

perf_radar_compare

Conclusion

vime-ascend achieves 14.6% end-to-end step time reduction over slime-ascend. The most significant gains come from:

  1. Update Weights: -39.8% — native weight-sync mode with graph execution eliminates eager overhead
  2. Inference Throughput: +13.6% — graph execution mode improves NPU hardware utilization
  3. Rollout Time: -13.1% — faster inference directly reduces rollout phase duration

Actor Train tok/s is lower in Vime (-12.8%), but the overall pipeline efficiency is better due to significantly faster rollout and weight synchronization phases.

Signed-off-by: gaofulin <gaofulin1@huawei.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the VLLM arguments in the script scripts/run-qwen3.5-35B-A3B-npu.sh by increasing the GPU memory utilization from 0.7 to 0.85 and removing the --vllm-enforce-eager flag. There are no review comments, so I have no feedback to provide.

@Fulin-Gao
Fulin-Gao marked this pull request as ready for review September 10, 2026 08:31
Signed-off-by: gaofulin <gaofulin1@huawei.com>
@CalvinXKY
CalvinXKY merged commit 8a940bf into vllm-project:ascend Sep 14, 2026
4 of 5 checks passed
Meihan-chen added a commit to Meihan-chen/vime that referenced this pull request Sep 15, 2026
Merge upstream/ascend through 8a940bf (vllm-project#417). Keep the deferred Qwen3.5 NPU recipe absent and retain the validated 128-token GLM test limit. Both conflict resolutions preserve the current tree; no capability or validation scope is expanded.

Signed-off-by: Meihan-chen <zr010426ztt@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants