---
id: pr-sglang-10101
repo: sgl-project/sglang
pr: 10101
title: Optimize nvfp4 block scaled gemm kernel when M is small.
author: HydraQYH
date: '2025-09-07'
url: https://github.com/sgl-project/sglang/pull/10101
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- gemm
- nvfp4
techniques: []
hardware_features:
- fp4
- nvfp4
kernel_types:
- gemm
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: 85ed8e0a5ec9ed47a5d1ac93ecc8bee2159468e0
inclusion_reason: kernel file changes
changed_paths:
- sgl-kernel/csrc/gemm/nvfp4_scaled_mm_kernels.cu
head_ref_oid: 7242d6ba58a5916a5aca991fa6507eac7a8bd08e
artifact_dir: evidence/pull-bundles/sglang/gh-10101
---
# Optimize nvfp4 block scaled gemm kernel when M is small.

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

## Changed Paths

- `sgl-kernel/csrc/gemm/nvfp4_scaled_mm_kernels.cu`

## Evidence Bundle

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