Commit 165259d
committed
refactor: Defer and centralize ACL graph parameter initialization
Moves the setting of ACL graph parameters (`set_graph_params` and `set_mtp_graph_params`) from the initial setup of the model runner and proposer to a later point in the initialization lifecycle.
This change ensures that the graph parameters are configured using the definitive `aclgraph_batch_sizes`, which are only determined just before profiling preparation. It also centralizes this configuration logic within the `NPUModelRunner`.
Signed-off-by: Yizhou Liu <[email protected]>1 parent 310e960 commit 165259d
File tree
3 files changed
+9
-6
lines changed- vllm_ascend
- compilation
- spec_decode
- worker
3 files changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
213 | 212 | | |
214 | 213 | | |
215 | 214 | | |
216 | | - | |
217 | | - | |
218 | 215 | | |
219 | 216 | | |
220 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
3368 | 3369 | | |
3369 | 3370 | | |
3370 | 3371 | | |
3371 | | - | |
3372 | 3372 | | |
3373 | 3373 | | |
3374 | 3374 | | |
| |||
4087 | 4087 | | |
4088 | 4088 | | |
4089 | 4089 | | |
| 4090 | + | |
| 4091 | + | |
| 4092 | + | |
| 4093 | + | |
| 4094 | + | |
| 4095 | + | |
4090 | 4096 | | |
4091 | 4097 | | |
4092 | 4098 | | |
| |||
0 commit comments