---
id: pr-sglang-6404
repo: sgl-project/sglang
pr: 6404
title: Add fp8 fused_experts kernel for CPU in sgl-kernel and add UT
author: chunyuan-w
date: '2025-05-23'
url: https://github.com/sgl-project/sglang/pull/6404
source_category: upstream-code
architectures:
- sm100
tags:
- fp8
- gemm
- kernel-fusion
- moe
techniques:
- kernel-fusion
hardware_features:
- fp8
kernel_types:
- gemm
- moe
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 3ded6235c9e423d39cb12e7fd3453c714e7a33ef
inclusion_reason: kernel file changes
changed_paths:
- sgl-kernel/csrc/cpu/gemm.h
- sgl-kernel/csrc/cpu/moe.cpp
- sgl-kernel/csrc/cpu/moe_fp8.cpp
- sgl-kernel/csrc/cpu/torch_extension_cpu.cpp
- sgl-kernel/setup_cpu.py
- test/srt/cpu/test_moe.py
- test/srt/cpu/utils.py
head_ref_oid: 0b01a634567a70f532a18c55323b75dddb165843
artifact_dir: evidence/pull-bundles/sglang/gh-6404
---
# Add fp8 fused_experts kernel for CPU in sgl-kernel and add UT

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

## Changed Paths

- `sgl-kernel/csrc/cpu/gemm.h`
- `sgl-kernel/csrc/cpu/moe.cpp`
- `sgl-kernel/csrc/cpu/moe_fp8.cpp`
- `sgl-kernel/csrc/cpu/torch_extension_cpu.cpp`
- `sgl-kernel/setup_cpu.py`
- `test/srt/cpu/test_moe.py`
- `test/srt/cpu/utils.py`

## Evidence Bundle

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