---
id: pr-sglang-21233
repo: sgl-project/sglang
pr: 21233
title: '[refactor] Clean up duplicate flashinfer trtllm moe code'
author: trevor-m
date: '2026-04-01'
url: https://github.com/sgl-project/sglang/pull/21233
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
- moe
- quantization
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- moe
- quantization
languages:
- python
- triton
captured_at: '2026-04-17'
status: merged
merge_sha: 8950d129bdee9b9824ebd006befa433038b0e3f8
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/moe/ep_moe/layer.py
- python/sglang/srt/layers/moe/fused_moe_triton/layer.py
- python/sglang/srt/layers/moe/moe_runner/flashinfer_trtllm.py
- python/sglang/srt/layers/quantization/modelopt_quant.py
head_ref_oid: 13c427470ce5f81b2725c0e0ea522a0fad2408f5
artifact_dir: evidence/pull-bundles/sglang/gh-21233
---
# [refactor] Clean up duplicate flashinfer trtllm moe code

- Repository: `sgl-project/sglang`
- PR: [21233](https://github.com/sgl-project/sglang/pull/21233)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `python/sglang/srt/layers/moe/ep_moe/layer.py`
- `python/sglang/srt/layers/moe/fused_moe_triton/layer.py`
- `python/sglang/srt/layers/moe/moe_runner/flashinfer_trtllm.py`
- `python/sglang/srt/layers/quantization/modelopt_quant.py`

## Evidence Bundle

`evidence/pull-bundles/sglang/gh-21233`
