From cea16bf22933d909750daa6564faa1bbbae875e3 Mon Sep 17 00:00:00 2001 From: Yuankai Chen Date: Sun, 9 Aug 2026 06:44:01 +0800 Subject: [PATCH] Fix Qwen3-MoE producing garbage with the mori a2a backend (#34006) --- python/sglang/srt/models/qwen3_moe.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/sglang/srt/models/qwen3_moe.py b/python/sglang/srt/models/qwen3_moe.py index 00e654521..83082bce6 100644 --- a/python/sglang/srt/models/qwen3_moe.py +++ b/python/sglang/srt/models/qwen3_moe.py @@ -300,6 +300,7 @@ class Qwen3MoeSparseMoeBlock(nn.Module): if ( not get_moe_a2a_backend().is_deepep() + and not get_moe_a2a_backend().is_mori() and not get_moe_a2a_backend().is_ascend_fuseep() ): return self.forward_normal(hidden_states)