[BugFix] Gate MRV2 mixed sparse-MLA warmup on max_num_seqs > 1 (#47050)

Signed-off-by: Nick Hill <nickhill123@gmail.com>
Co-authored-by: ziminghuang <ziminghuang@inferact.ai>
This commit is contained in:
Nick Hill
2026-06-30 16:31:27 +01:00
committed by GitHub
co-authored by ziminghuang
parent 9e84ec8648
commit fcaa84efa7
3 changed files with 34 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ def run_mixed_prefill_decode_warmup(
req_id_prefix: str = "_v2_mixed_warmup",
) -> bool:
"""Run a V2 mixed prefill+decode step through normal scheduler inputs."""
if model_runner.is_pooling_model or num_tokens < 3:
if model_runner.is_pooling_model or model_runner.max_num_reqs < 2 or num_tokens < 3:
return False
decode_req_id = f"{req_id_prefix}_decode_"