---
id: pr-sglang-15731
repo: sgl-project/sglang
pr: 15731
title: '[Perf] Eliminate the slice op for Flashinfer `trtllm_fp4_block_scale_moe`'
author: elvischenv
date: '2026-02-27'
url: https://github.com/sgl-project/sglang/pull/15731
source_category: upstream-code
architectures:
- sm100
tags:
- block-scale
- fp4
- moe
- quantization
techniques: []
hardware_features:
- block-scale
- fp4
kernel_types:
- moe
- quantization
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: af3eccc9abf7bea2fcb278f63949c682094a0ac1
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/quantization/mxfp4.py
head_ref_oid: f28356d4abd1f67ef206d6c7ce56164238c53140
artifact_dir: evidence/pull-bundles/sglang/gh-15731
---
# [Perf] Eliminate the slice op for Flashinfer `trtllm_fp4_block_scale_moe`

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

## Changed Paths

- `python/sglang/srt/layers/quantization/mxfp4.py`

## Evidence Bundle

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