[BugFix]Fix recomputed scheduler bug (#7137)
### What this PR does / why we need it? Fix the wrong usage of `model_type`. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? By CI. - vLLM version: v0.16.0 - vLLM main: https://github.com/vllm-project/vllm/commit/4034c3d32e30d01639459edd3ab486f56993876d Signed-off-by: nwpu-zxr <zhouxuerong2@huawei.com>
This commit is contained in:
1 parent
54668e73c5
commit
e16009b2cc
1 file changed
+2
-2
@@ -93,8 +93,8 @@ class RecomputeScheduler(Scheduler):
|
||||
)
|
||||
self.is_kv_producer = self.vllm_config.kv_transfer_config and self.vllm_config.kv_transfer_config.is_kv_producer
|
||||
self.is_hybrid_model = (
|
||||
"qwen3_next" in self.vllm_config.model_config.model_type
|
||||
or "qwen3_5" in self.vllm_config.model_config.model_type
|
||||
"qwen3_next" in self.vllm_config.model_config.hf_text_config.model_type
|
||||
or "qwen3_5" in self.vllm_config.model_config.hf_text_config.model_type
|
||||
)
|
||||
|
||||
def add_request(self, request: Request) -> None:
|
||||
|
||||
Reference in new issue
Block a user