[Bugfix] Pass vllm_config to kv_connector_no_forward in NPUModelRunner (#4970)

### What this PR does / why we need it?

The newest version crashes in PD separation scenarios because the
function is missing the `vllm_config` parameter.

- vLLM version: v0.12.0
- vLLM main:
https://github.com/vllm-project/vllm/commit/ad32e3e19ccf0526cb6744a5fed09a138a5fb2f9

Signed-off-by: Jade Zheng <zheng.shoujian@outlook.com>
This commit is contained in:
Jade Zheng authored and GitHub committed 2025-12-12 22:36:23 +08:00
1 parent fa367e3b1a
commit 45889a6185
1 file changed
+2 -1
+2 -1
View File
@@ -1444,7 +1444,8 @@ class NPUModelRunner(GPUModelRunner):
)
# Return empty ModelRunnerOuptut if there's no work to do.
return EMPTY_MODEL_RUNNER_OUTPUT
return self.kv_connector_no_forward(scheduler_output)
return self.kv_connector_no_forward(scheduler_output,
self.vllm_config)
if self.dynamic_eplb:
self.eplb_updator.forward_before()