Commit a3970e8
authored
[0.9.1][Bugfix][Aclgraph] Fix qwen3-moe + aclgraph + tp (#2647)
### What this PR does / why we need it?
Qwen3 moe + Aclgraph only support pure tp scenario. Cause in v0.9.1-dev
branch, aclgraph only support allgather.
This pr change to use `AscendSparseMoeBlock` to make aclgraph work with
tp
### Does this PR introduce _any_ user-facing change?
Users could only run Qwen3 moe + pure tp when enabling aclgraph
### How was this patch tested?
CI passed with new added test.
---------
Signed-off-by: MengqingCao <[email protected]>1 parent 234a5a4 commit a3970e8
File tree
2 files changed
+8
-17
lines changed- tests/multicard
- vllm_ascend/models
2 files changed
+8
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 81 | | |
87 | 82 | | |
88 | 83 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
97 | 87 | | |
98 | 88 | | |
99 | 89 | | |
| |||
0 commit comments