[CI][AMD]Bugfix] Check that model_config is not None in enable_norm_pad_fusion (#34007)

Signed-off-by: Randall Smith <Randall.Smith@amd.com>
This commit is contained in:
rasmith
2026-02-06 20:43:25 -06:00
committed by GitHub
parent 55aeec04f5
commit ec28784fdc

View File

@@ -109,6 +109,7 @@ def enable_norm_pad_fusion(cfg: "VllmConfig") -> bool:
envs.VLLM_ROCM_USE_AITER
and envs.VLLM_ROCM_USE_AITER_RMSNORM
and envs.VLLM_ROCM_USE_AITER_TRITON_GEMM
and cfg.model_config is not None
and cfg.model_config.get_hidden_size() == 2880
)