---
id: pr-flashinfer-2019
repo: flashinfer-ai/flashinfer
pr: 2019
title: '[DSV3] Optimized Router Gemm'
author: nvmbreughe
date: '2025-11-07'
url: https://github.com/flashinfer-ai/flashinfer/pull/2019
source_category: upstream-code
architectures:
- sm100
tags:
- fp4
- gemm
techniques: []
hardware_features:
- fp4
kernel_types:
- gemm
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: c8f2b03dda635b97f7ea9ad9d6ec73eb96a153b2
inclusion_reason: kernel file changes
changed_paths:
- csrc/dsv3_router_gemm.cu
- flashinfer/dsv3_ops/__init__.py
- flashinfer/gemm/__init__.py
- flashinfer/gemm/gemm_base.py
- flashinfer/gemm/routergemm_dsv3.py
- flashinfer/jit/__init__.py
- flashinfer/jit/dsv3_optimizations.py
- include/flashinfer/gemm/dsv3_router_gemm.cuh
- scripts/task_test_blackwell_kernels.sh
- scripts/task_test_jit_cache_package_build_import.sh
- scripts/task_test_multi_node_comm_kernels.sh
- scripts/task_test_nightly_build.sh
- scripts/task_test_single_node_comm_kernels.sh
- tests/gemm/test_group_gemm.py
- tests/gemm/test_mm_fp4.py
- tests/gemm/test_tgv_gemm.py
- tests/model_optimizations/test_dsv3_router_gemm.py
head_ref_oid: 837d76ff6ea97af09f016d28235dc4b9b1702122
artifact_dir: evidence/pull-bundles/flashinfer/gh-2019
---
# [DSV3] Optimized Router Gemm

- Repository: `flashinfer-ai/flashinfer`
- PR: [2019](https://github.com/flashinfer-ai/flashinfer/pull/2019)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `csrc/dsv3_router_gemm.cu`
- `flashinfer/dsv3_ops/__init__.py`
- `flashinfer/gemm/__init__.py`
- `flashinfer/gemm/gemm_base.py`
- `flashinfer/gemm/routergemm_dsv3.py`
- `flashinfer/jit/__init__.py`
- `flashinfer/jit/dsv3_optimizations.py`
- `include/flashinfer/gemm/dsv3_router_gemm.cuh`
- `scripts/task_test_blackwell_kernels.sh`
- `scripts/task_test_jit_cache_package_build_import.sh`
- `scripts/task_test_multi_node_comm_kernels.sh`
- `scripts/task_test_nightly_build.sh`
- `scripts/task_test_single_node_comm_kernels.sh`
- `tests/gemm/test_group_gemm.py`
- `tests/gemm/test_mm_fp4.py`
- `tests/gemm/test_tgv_gemm.py`
- `tests/model_optimizations/test_dsv3_router_gemm.py`

## Evidence Bundle

`evidence/pull-bundles/flashinfer/gh-2019`
