---
id: pr-sglang-9744
repo: sgl-project/sglang
pr: 9744
title: '[CPU] Add FP8 Bmm support'
author: blzheng
date: '2026-03-19'
url: https://github.com/sgl-project/sglang/pull/9744
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- fp8
- gemm
- kernel-fusion
- mla
- moe
techniques:
- kernel-fusion
hardware_features:
- fp8
kernel_types:
- attention
- gemm
- mla
- moe
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: cd22aa27a941d10ecd3df1e2df69faa84454b443
inclusion_reason: kernel file changes
changed_paths:
- python/sglang/srt/models/bailing_moe_linear.py
- python/sglang/srt/models/deepseek_common/attention_forward_methods/forward_mla.py
- python/sglang/srt/models/deepseek_common/attention_forward_methods/forward_mla_fused_rope_cpu.py
- python/sglang/srt/models/deepseek_common/deepseek_weight_loader.py
- python/sglang/srt/models/longcat_flash.py
- python/sglang/srt/models/longcat_flash_nextn.py
- sgl-kernel/csrc/cpu/bmm.cpp
- sgl-kernel/csrc/cpu/gemm.h
- sgl-kernel/csrc/cpu/gemm_fp8.cpp
- sgl-kernel/csrc/cpu/qkv_proj.cpp
- sgl-kernel/csrc/cpu/torch_extension_cpu.cpp
- test/srt/cpu/test_bmm.py
- test/srt/cpu/test_qkv_proj_with_rope.py
- test/srt/run_suite.py
head_ref_oid: 43e09aca588553cba6210d349de51c995df8aec2
artifact_dir: evidence/pull-bundles/sglang/gh-9744
---
# [CPU] Add FP8 Bmm support

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

## Changed Paths

- `python/sglang/srt/models/bailing_moe_linear.py`
- `python/sglang/srt/models/deepseek_common/attention_forward_methods/forward_mla.py`
- `python/sglang/srt/models/deepseek_common/attention_forward_methods/forward_mla_fused_rope_cpu.py`
- `python/sglang/srt/models/deepseek_common/deepseek_weight_loader.py`
- `python/sglang/srt/models/longcat_flash.py`
- `python/sglang/srt/models/longcat_flash_nextn.py`
- `sgl-kernel/csrc/cpu/bmm.cpp`
- `sgl-kernel/csrc/cpu/gemm.h`
- `sgl-kernel/csrc/cpu/gemm_fp8.cpp`
- `sgl-kernel/csrc/cpu/qkv_proj.cpp`
- `sgl-kernel/csrc/cpu/torch_extension_cpu.cpp`
- `test/srt/cpu/test_bmm.py`
- `test/srt/cpu/test_qkv_proj_with_rope.py`
- `test/srt/run_suite.py`

## Evidence Bundle

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