You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What this PR does / why we need it?
This PR reverts vllm-project#9865 / commit
`9099b7f66d123ea704e329d7586333ad8b08db50`, which introduced pre-KV ACL
graph memory profiling in `determine_available_memory()`.
After that change, the combined scenario below can hang during inference
and eventually fail with an HCCL timeout in lmhead TP communication:
- MTP enabled
- `finegrained_tp_config.lmhead_tensor_parallel_size > 0`
- ACL graph enabled
- AIV/HCCL graph communication path enabled
The likely trigger is that the pre-KV graph memory profiling path runs
an additional graph warmup/capture before normal KV cache allocation and
normal graph capture. In the MTP + lmhead TP path, the draft graph can
execute `compute_logits()`, which enters lmhead TP `all_gather` /
`all_to_all`. With AIV enabled, this introduces an extra collective
graph/capture path before the regular runtime path, and can leave the
lmhead TP communication sequence or graph/stream state inconsistent.
### Does this PR introduce _any_ user-facing change?
Yes. This reverts the ACL graph memory estimation added by vllm-project#9865.
KV cache auto-sizing will no longer subtract the estimated ACL graph
pool memory during `determine_available_memory()`. This restores the
previous behavior and may increase the computed KV cache budget compared
with the reverted implementation.
### How was this patch tested?
This PR is a targeted revert.
Validation focus:
- MTP + lmhead TP + ACL graph + AIV inference no longer hangs in lmhead
TP communication.
- Existing initialization and graph capture flow returns to the behavior
before vllm-project#9865.
No new unit test is added because the failure requires multi-node NPU
runtime, HCCL communication, ACL graph capture, MTP, lmhead TP, and AIV
enabled together, which is not covered by local UT.
- vLLM version: v0.23.0
- vLLM main:
vllm-project/vllm@1f486d9
Signed-off-by: Yizhou Liu <liu_yizhou@outlook.com>
0 commit comments