refactor(moe): de-duplicate triton MoE runner path into shared helpers (#23019)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cheng Wan
2026-04-17 17:05:13 -07:00
committed by GitHub
co-authored by Claude Opus 4.7
parent fd7db0eace
commit 5f7aee726a
322 changed files with 589 additions and 704 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import pytest
import torch
from sglang.srt.layers.activation import SiluAndMul
from sglang.srt.layers.moe.fused_moe_triton.fused_moe import fused_moe
from sglang.srt.layers.moe.moe_runner.triton_utils.fused_moe import fused_moe
from sglang.srt.layers.moe.topk import TopKConfig, select_experts
from sglang.srt.server_args import ServerArgs, set_global_server_args_for_scheduler
from sglang.srt.utils import get_device