---
id: pr-sglang-5694
repo: sgl-project/sglang
pr: 5694
title: '[2/2] Add python wrapper for CUTLASS FP8 Blockscale MoE Kernel. '
author: elfiegg
date: '2025-05-16'
url: https://github.com/sgl-project/sglang/pull/5694
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- fp8
- moe
- quantization
techniques: []
hardware_features:
- fp8
kernel_types:
- moe
- quantization
languages:
- cuda-cpp
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 6fc93575033676ab754ce579065ae642bf1f98a8
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/layers/moe/cutlass_moe.py
- python/sglang/srt/layers/quantization/fp8.py
- python/sglang/srt/layers/quantization/fp8_utils.py
- python/sglang/test/test_cutlass_moe.py
- sgl-kernel/CMakeLists.txt
- sgl-kernel/csrc/common_extension.cc
- sgl-kernel/csrc/moe/fp8_blockwise_moe_kernel.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/moe.py
- sgl-kernel/tests/test_fp8_blockwise_moe.py
head_ref_oid: 3b46aef3a3c8d85cfd55bfd86036280e4d800edf
artifact_dir: evidence/pull-bundles/sglang/gh-5694
---
# [2/2] Add python wrapper for CUTLASS FP8 Blockscale MoE Kernel. 

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

## Changed Paths

- `python/sglang/srt/layers/moe/cutlass_moe.py`
- `python/sglang/srt/layers/quantization/fp8.py`
- `python/sglang/srt/layers/quantization/fp8_utils.py`
- `python/sglang/test/test_cutlass_moe.py`
- `sgl-kernel/CMakeLists.txt`
- `sgl-kernel/csrc/common_extension.cc`
- `sgl-kernel/csrc/moe/fp8_blockwise_moe_kernel.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/moe.py`
- `sgl-kernel/tests/test_fp8_blockwise_moe.py`

## Evidence Bundle

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