---
id: pr-sglang-7627
repo: sgl-project/sglang
pr: 7627
title: Add dsv3 router gemm kernel
author: Fridge003
date: '2025-06-30'
url: https://github.com/sgl-project/sglang/pull/7627
source_category: upstream-code
architectures:
- sm100
tags:
- PDL
- benchmark_test
- gemm_quant
techniques:
- fine-grained-quantization
hardware_features:
- fp4
- pdl
kernel_types:
- gemm
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 7248272ccc211c89ce01c584873413a686964a0f
inclusion_reason: Mine shape sets, tolerance rules, warmup logic, and profile commands before mutating code.
changed_paths:
- sgl-kernel/CMakeLists.txt
- sgl-kernel/benchmark/bench_dsv3_router_gemm.py
- sgl-kernel/csrc/common_extension.cc
- sgl-kernel/csrc/gemm/dsv3_router_gemm.cu
- sgl-kernel/include/sgl_kernel_ops.h
- sgl-kernel/python/sgl_kernel/__init__.py
- sgl-kernel/python/sgl_kernel/gemm.py
- sgl-kernel/tests/test_dsv3_router_gemm.py
artifact_dir: evidence/pull-bundles/sglang/gh-7627
head_ref_oid: 9440b50b6389b875680a55bab04e07e784f21cb8
---
# Add dsv3 router gemm kernel

- Repository: `sgl-project/sglang`
- PR: [7627](https://github.com/sgl-project/sglang/pull/7627)
- Decision: `Mine shape sets, tolerance rules, warmup logic, and profile commands before mutating code.`
- Reason: Mine shape sets, tolerance rules, warmup logic, and profile commands before mutating code.

## Changed Paths

- `sgl-kernel/CMakeLists.txt`
- `sgl-kernel/benchmark/bench_dsv3_router_gemm.py`
- `sgl-kernel/csrc/common_extension.cc`
- `sgl-kernel/csrc/gemm/dsv3_router_gemm.cu`
- `sgl-kernel/include/sgl_kernel_ops.h`
- `sgl-kernel/python/sgl_kernel/__init__.py`
- `sgl-kernel/python/sgl_kernel/gemm.py`
- `sgl-kernel/tests/test_dsv3_router_gemm.py`

## Evidence Bundle

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