---
id: pr-sglang-5432
repo: sgl-project/sglang
pr: 5432
title: '[perf] introduce deep gemm group_gemm_masked as bmm'
author: Alcanderian
date: '2025-04-20'
url: https://github.com/sgl-project/sglang/pull/5432
source_category: upstream-code
architectures:
- sm90
- sm100
tags:
- gemm
- moe
- decode
techniques:
- fine-grained-quantization
- kernel-fusion
hardware_features:
- fp8
- wgmma
- tma
kernel_types:
- grouped-gemm
- decode
- mla
- gemm
- moe
languages:
- cuda-cpp
- python
captured_at: 2026-04-16
status: merged
merge_sha: 99456bcacb81a1e39c710f44d5921c1e60814cda
inclusion_reason: manually curated, Blackwell kernel relevance
changed_paths:
- python/sglang/srt/layers/quantization/fp8_kernel.py
- python/sglang/srt/models/deepseek_v2.py
- python/sglang/test/test_block_fp8.py
head_ref_oid: 81fbaebab4a450432d9741342c68be22085f0c4e
artifact_dir: evidence/pull-bundles/sglang/gh-5432
---
# [perf] introduce deep gemm group_gemm_masked as bmm

- Repository: `sgl-project/sglang`
- PR: [5432](https://github.com/sgl-project/sglang/pull/5432)
- Decision: `manually curated, Blackwell kernel relevance`
- Reason: manually curated, Blackwell kernel relevance

## Changed Paths

- `python/sglang/srt/layers/quantization/fp8_kernel.py`
- `python/sglang/srt/models/deepseek_v2.py`
- `python/sglang/test/test_block_fp8.py`

## Evidence Bundle

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