From 52c8a3632a97157ec99403b302d58670d8ff3bab Mon Sep 17 00:00:00 2001 From: Alison Shao <54658187+alisonshao@users.noreply.github.com> Date: Thu, 26 Feb 2026 18:32:08 -0800 Subject: [PATCH] Fix missing StandardCombineInput import in BF16 flashinfer_trtllm MoE (#19400) Co-authored-by: Alison Shao --- python/sglang/srt/layers/moe/moe_runner/flashinfer_trtllm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/sglang/srt/layers/moe/moe_runner/flashinfer_trtllm.py b/python/sglang/srt/layers/moe/moe_runner/flashinfer_trtllm.py index b76e37b0b..5ff4722ab 100644 --- a/python/sglang/srt/layers/moe/moe_runner/flashinfer_trtllm.py +++ b/python/sglang/srt/layers/moe/moe_runner/flashinfer_trtllm.py @@ -501,6 +501,8 @@ def fused_experts_none_to_flashinfer_trtllm_bf16( runner_config: MoeRunnerConfig, ) -> StandardCombineInput: # lazy import + from sglang.srt.layers.moe.token_dispatcher.standard import StandardCombineInput + try: from flashinfer.fused_moe import trtllm_bf16_moe except ImportError as e: