[Core] Add MRV2 virtual-batch PCP for MLA (#46570)

Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com>
Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: Matthew Bonanni <mbonanni@redhat.com>
This commit is contained in:
Lucas Wilkinson
2026-07-19 02:53:15 +00:00
committed by GitHub
co-authored by Codex OpenAI Codex Matthew Bonanni
parent 9243e0124e
commit b6ff8a2f50
39 changed files with 1204 additions and 196 deletions
+3 -2
View File
@@ -2130,9 +2130,10 @@ class VllmConfig:
model_config = self.model_config
speculative_config = self.speculative_config
if self.parallel_config.prefill_context_parallel_size > 1:
if self.parallel_config.prefill_context_parallel_size > 1 and not (
model_config is not None and model_config.use_mla
):
unsupported.append("prefill context parallelism")
if self.compilation_config.mode == CompilationMode.STOCK_TORCH_COMPILE:
unsupported.append("stock torch.compile")