-
Notifications
You must be signed in to change notification settings - Fork 835
[NPU] Upgrade to v0.14.0 #820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
cc54986
[NPU] Enable ACLGraph for Qwen3-Omni
gcanlin 02c06c2
fix lint
gcanlin 78cb352
revert to eager mode by default
gcanlin 2453029
Merge branch 'main' into npu-graph
gcanlin bcb3b10
[NPU] Upgrade to v0.14.0
gcanlin 74362bf
remove patch
gcanlin 2b31ab0
remove patch
gcanlin 8119884
disable async scheduling in stage2
gcanlin 7fecf33
don't need copy anymore
gcanlin 254d446
align with GPUModelRunner
gcanlin 0eea581
Merge branch 'main' into npu-graph
gcanlin daf4520
align bagel and chunks
gcanlin 25b545f
Support Qwen3-TTS
gcanlin db54647
Merge branch 'main' into npu-graph
gcanlin ecd81f0
Merge branch 'main' into npu-graph
gcanlin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| stage_args: | ||
| - stage_id: 0 | ||
| stage_type: llm # Use llm stage type to launch OmniLLM | ||
| runtime: | ||
| devices: "0" | ||
| max_batch_size: 1 | ||
| engine_args: | ||
| model_stage: qwen3_tts | ||
| model_arch: Qwen3TTSForConditionalGeneration | ||
| worker_cls: vllm_omni.worker.npu.npu_generation_worker.NPUGenerationWorker | ||
| scheduler_cls: vllm_omni.core.sched.omni_generation_scheduler.OmniGenerationScheduler | ||
| enforce_eager: true | ||
| trust_remote_code: true | ||
| async_scheduling: false | ||
| enable_prefix_caching: false | ||
| engine_output_type: audio # Final output: audio waveform | ||
| gpu_memory_utilization: 0.1 | ||
| distributed_executor_backend: "mp" | ||
| max_num_batched_tokens: 1000000 | ||
|
|
||
| final_output: true | ||
| final_output_type: audio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need the modification in the model file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We add those properties so the wrapper presents the same interface as a normal Qwen MLP. vLLM-Ascend’s
SharedFusedMoEvalidation splits the shared expert intogate_up_proj → act_fn → down_projand expects these attributes to exist. The wrapper only holds the real MLP, so we forward them to keep validation and split execution working on NPU. It doesn't affect GPU behaviour. When we upgrade to vLLM v0.15.0 or later, we will remove this hack wrapper because upstream has implemented shared expert in Qwen3-MoE that we can reuse directly.