From 04516eabc840471c016c875991e1d72fb142c7c8 Mon Sep 17 00:00:00 2001 From: Yintong Lu Date: Fri, 29 May 2026 14:37:20 +0800 Subject: [PATCH] [XPU] add gelu_tanh to xpu moe backend supported activations (#42822) Signed-off-by: yintong-lu Co-authored-by: Kunshang Ji --- vllm/model_executor/layers/fused_moe/experts/xpu_moe.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vllm/model_executor/layers/fused_moe/experts/xpu_moe.py b/vllm/model_executor/layers/fused_moe/experts/xpu_moe.py index b5614401fc..8cbf0a6ce0 100644 --- a/vllm/model_executor/layers/fused_moe/experts/xpu_moe.py +++ b/vllm/model_executor/layers/fused_moe/experts/xpu_moe.py @@ -86,6 +86,7 @@ class XPUExperts(mk.FusedMoEExpertsModular): return activation in [ MoEActivation.SILU, MoEActivation.GELU, + MoEActivation.GELU_TANH, MoEActivation.SWIGLUOAI, MoEActivation.RELU2_NO_MUL, ]