---
id: pr-flashinfer-2631
repo: flashinfer-ai/flashinfer
pr: 2631
title: 'fix: add SM121 support to SM120 version guards'
author: Yuening-wa
date: '2026-02-25'
url: https://github.com/flashinfer-ai/flashinfer/pull/2631
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- decode
- flash-attention
- fp4
- fp8
- gemm
- kernel-fusion
- mla
- moe
techniques:
- kernel-fusion
hardware_features:
- fp4
- fp8
kernel_types:
- attention
- decode
- flash-attention
- gemm
- mla
- moe
languages:
- cuda-cpp
captured_at: '2026-04-27'
status: merged
merge_sha: dd417a50266bfda06c2ba977d01dafd2a85079ca
inclusion_reason: kernel file changes
changed_paths:
- csrc/gemm_groupwise_sm120.cu
- csrc/group_gemm_fp8_groupwise_sm120.cu
- csrc/trtllm_fmha_v2_binding.cu
- flashinfer/decode.py
- flashinfer/gemm/gemm_base.py
- flashinfer/jit/gemm/core.py
- flashinfer/jit/gemm/cutlass/generate_kernels.py
- flashinfer/mla.py
- flashinfer/xqa.py
- include/flashinfer/gemm/cutlass_gemm_configs.h
- include/flashinfer/gemm/fp4_gemm_cutlass_template_sm120.h
- include/flashinfer/gemm/fp4_gemm_template_sm120.h
- include/flashinfer/gemm/gemm_groupwise_sm120.cuh
- include/flashinfer/gemm/group_gemm_fp8_groupwise_sm120.cuh
- include/flashinfer/trtllm/common.h
- tests/attention/test_trtllm_gen_mla.py
- tests/attention/test_xqa.py
- tests/attention/test_xqa_batch_decode.py
- tests/attention/test_xqa_mla_batch_decode.py
- tests/moe/test_trtllm_cutlass_fused_moe.py
head_ref_oid: f86d2df4483873a632e469d4fddb8082bd0be553
artifact_dir: evidence/pull-bundles/flashinfer/gh-2631
---
# fix: add SM121 support to SM120 version guards

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

## Changed Paths

- `csrc/gemm_groupwise_sm120.cu`
- `csrc/group_gemm_fp8_groupwise_sm120.cu`
- `csrc/trtllm_fmha_v2_binding.cu`
- `flashinfer/decode.py`
- `flashinfer/gemm/gemm_base.py`
- `flashinfer/jit/gemm/core.py`
- `flashinfer/jit/gemm/cutlass/generate_kernels.py`
- `flashinfer/mla.py`
- `flashinfer/xqa.py`
- `include/flashinfer/gemm/cutlass_gemm_configs.h`
- `include/flashinfer/gemm/fp4_gemm_cutlass_template_sm120.h`
- `include/flashinfer/gemm/fp4_gemm_template_sm120.h`
- `include/flashinfer/gemm/gemm_groupwise_sm120.cuh`
- `include/flashinfer/gemm/group_gemm_fp8_groupwise_sm120.cuh`
- `include/flashinfer/trtllm/common.h`
- `tests/attention/test_trtllm_gen_mla.py`
- `tests/attention/test_xqa.py`
- `tests/attention/test_xqa_batch_decode.py`
- `tests/attention/test_xqa_mla_batch_decode.py`
- `tests/moe/test_trtllm_cutlass_fused_moe.py`

## Evidence Bundle

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