---
id: pr-flashinfer-2503
repo: flashinfer-ai/flashinfer
pr: 2503
title: 'refactor: Port upstream CUTLASS fixes and refactor grouped_gemm_nt_masked GEMM module location'
author: bkryu
date: '2026-02-06'
url: https://github.com/flashinfer-ai/flashinfer/pull/2503
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
- grouped-gemm
techniques: []
hardware_features: []
kernel_types:
- gemm
- grouped-gemm
languages:
- cute-dsl
captured_at: '2026-04-27'
status: merged
merge_sha: 03422621adb012f7861c7ae928d9282ab4a36471
inclusion_reason: kernel file changes
changed_paths:
- benchmarks/bench_cute_dsl_blockscaled_gemm.py
- flashinfer/cute_dsl/__init__.py
- flashinfer/cute_dsl/blockscaled_gemm.py
- flashinfer/gemm/__init__.py
- flashinfer/gemm/kernels/__init__.py
- flashinfer/gemm/kernels/grouped_gemm_masked_blackwell.py
- tests/gemm/test_cute_dsl_blockscaled_gemm.py
head_ref_oid: a8f6dda0805c4b1827ff42c19ed95ea4c5e4645b
artifact_dir: evidence/pull-bundles/flashinfer/gh-2503
---
# refactor: Port upstream CUTLASS fixes and refactor grouped_gemm_nt_masked GEMM module location

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

## Changed Paths

- `benchmarks/bench_cute_dsl_blockscaled_gemm.py`
- `flashinfer/cute_dsl/__init__.py`
- `flashinfer/cute_dsl/blockscaled_gemm.py`
- `flashinfer/gemm/__init__.py`
- `flashinfer/gemm/kernels/__init__.py`
- `flashinfer/gemm/kernels/grouped_gemm_masked_blackwell.py`
- `tests/gemm/test_cute_dsl_blockscaled_gemm.py`

## Evidence Bundle

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