---
id: pr-sglang-6093
repo: sgl-project/sglang
pr: 6093
title: '[1/2] Add Kernel support for Cutlass based Fused FP4 MoE'
author: pavanimajety
date: '2025-06-02'
url: https://github.com/sgl-project/sglang/pull/6093
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- gemm
- kernel-fusion
- moe
- nvfp4
techniques:
- kernel-fusion
hardware_features:
- fp4
- nvfp4
kernel_types:
- gemm
- moe
languages:
- cuda-cpp
- python
captured_at: '2026-04-27'
status: merged
merge_sha: eb38c7d1cae1c616de3c1c0ce40353c720f7e3c7
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/moe/cutlass_moe.py
- python/sglang/test/test_fp4_moe.py
- sgl-kernel/CMakeLists.txt
- sgl-kernel/csrc/common_extension.cc
- sgl-kernel/csrc/gemm/nvfp4_expert_quant.cu
- sgl-kernel/csrc/gemm/nvfp4_quant_entry.cu
- sgl-kernel/csrc/moe/nvfp4_blockwise_moe.cu
- sgl-kernel/csrc/moe/prepare_moe_input.cu
- sgl-kernel/include/sgl_kernel_ops.h
- sgl-kernel/python/sgl_kernel/__init__.py
- sgl-kernel/python/sgl_kernel/gemm.py
- sgl-kernel/python/sgl_kernel/moe.py
head_ref_oid: c9ecc6e70f67598dfe663b439aedb3e583105fb5
artifact_dir: evidence/pull-bundles/sglang/gh-6093
---
# [1/2] Add Kernel support for Cutlass based Fused FP4 MoE

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

## Changed Paths

- `python/sglang/srt/layers/moe/cutlass_moe.py`
- `python/sglang/test/test_fp4_moe.py`
- `sgl-kernel/CMakeLists.txt`
- `sgl-kernel/csrc/common_extension.cc`
- `sgl-kernel/csrc/gemm/nvfp4_expert_quant.cu`
- `sgl-kernel/csrc/gemm/nvfp4_quant_entry.cu`
- `sgl-kernel/csrc/moe/nvfp4_blockwise_moe.cu`
- `sgl-kernel/csrc/moe/prepare_moe_input.cu`
- `sgl-kernel/include/sgl_kernel_ops.h`
- `sgl-kernel/python/sgl_kernel/__init__.py`
- `sgl-kernel/python/sgl_kernel/gemm.py`
- `sgl-kernel/python/sgl_kernel/moe.py`

## Evidence Bundle

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