[Bugfix][Structured Output] Disallow MRV1 + PP>1 + async sched + structured output (#56250)

Signed-off-by: Artem Perevedentsev <aperevedents@nvidia.com>
Co-authored-by: CNE Pierre FICHEPOIL <pierre-1.fichepoil@gendarmerie.interieur.gouv.fr>
This commit is contained in:
Artem Perevedentsev
2026-09-22 18:00:05 +04:00
committed by GitHub
co-authored by CNE Pierre FICHEPOIL
parent c9b34fdb2d
commit 1ea7c63f4a
2 changed files with 67 additions and 2 deletions
+23
View File
@@ -1522,6 +1522,15 @@ class VllmConfig:
"DP+EP generation accuracy."
)
self.scheduler_config.async_scheduling = False
elif (
self.parallel_config.pipeline_parallel_size > 1
and not self.use_v2_model_runner
):
logger.warning_once(
"Async scheduling is disabled because the V1 model runner "
"does not support it with pipeline parallelism."
)
self.scheduler_config.async_scheduling = False
else:
self.scheduler_config.async_scheduling = True
@@ -2962,6 +2971,20 @@ class VllmConfig:
if self.parallel_config.prefill_context_parallel_size > 1:
unsupported.append("prefill context parallel")
# Note(arpera):
# MRV1 + PP>1 + async sched + structured output
# does not work in vLLM. For more info see:
# https://github.com/vllm-project/vllm/issues/45014
# Since recently MRV1 has been deprecated then
# there was decided not to fix the issue but instead
# to disallow such configuration.
# At the same time MRV2 works fine in this case.
if (
self.parallel_config.pipeline_parallel_size > 1
and self.scheduler_config.async_scheduling
):
unsupported.append("pipeline parallelism with async scheduling")
# DSpark is implemented only by the V2 GPU model runner.
if self.speculative_config:
if self.speculative_config.method == "dspark":