From 768f4a6f269651fd4c727413fd47f6adb28257fe Mon Sep 17 00:00:00 2001 From: rasmith Date: Thu, 14 May 2026 03:44:22 -0500 Subject: [PATCH] [CI][AMD][BugFix] Prevent triton compiler error when running test_moe_layer with use_ep = True on ROCm (#40857) Signed-off-by: Randall Smith --- vllm/model_executor/layers/fused_moe/experts/triton_moe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/model_executor/layers/fused_moe/experts/triton_moe.py b/vllm/model_executor/layers/fused_moe/experts/triton_moe.py index b9b046aa17..f3a8e40e54 100644 --- a/vllm/model_executor/layers/fused_moe/experts/triton_moe.py +++ b/vllm/model_executor/layers/fused_moe/experts/triton_moe.py @@ -237,7 +237,7 @@ class TritonExperts(LoRAExpertsMixin, mk.FusedMoEExpertsModular): hidden_states, w1, intermediate_cache1, - a1q_scale, + a1q_scale if a1q_scale is not None else self.a1_scale, self.w1_scale, None, # topk_weights sorted_token_ids,