[ROCm][CI] skip the ROCm MRV1 default where MRV1 cannot serve the config (#58535)

Signed-off-by: Stefan Koncarevic <Stefan.Koncarevic@amd.com>
Co-authored-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
stefankoncarevic
2026-09-24 15:36:36 -05:00
committed by GitHub
co-authored by Andreas Karatzas
parent 0908116dd9
commit e33de821c0
5 changed files with 91 additions and 2 deletions
+14 -2
View File
@@ -722,11 +722,23 @@ class VllmConfig:
if model_config is not None and current_platform.is_rocm():
architectures = getattr(model_config, "architectures", ())
if any(arch in ROCM_DEFAULT_MRV1_ARCHITECTURES for arch in architectures):
# This default is a speed preference, not a claim that V1 can
# serve the config, so it yields where V1 cannot. It yields by
# falling through to the checks below, not by selecting V2.
v1_unsupported = self._get_v1_model_runner_unsupported_features()
if not v1_unsupported:
logger.warning_once(
"Defaulting to V1 model runner on ROCm for model "
"architectures: %s",
", ".join(architectures),
)
return False
logger.warning_once(
"Defaulting to V1 model runner on ROCm for model architectures: %s",
"Skipping the ROCm V1 model runner default for %s: V1 does "
"not support %s.",
", ".join(architectures),
", ".join(v1_unsupported),
)
return False
if not HAS_TRITON:
logger.warning_once(