---
id: pr-flashinfer-2560
repo: flashinfer-ai/flashinfer
pr: 2560
title: 'fix: guard CUTLASS FMHA against SM12x and fix fmha_v2 SM121a check'
author: blake-snc
date: '2026-03-13'
url: https://github.com/flashinfer-ai/flashinfer/pull/2560
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- flash-attention
- prefill
techniques: []
hardware_features: []
kernel_types:
- attention
- flash-attention
- prefill
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 74e99e8bb72db2fb8dd873606fceff21de88f26d
inclusion_reason: kernel file changes
changed_paths:
- flashinfer/jit/attention/modules.py
- flashinfer/prefill.py
head_ref_oid: dada79d695d3394a2b91f44381a1711615e9a857
artifact_dir: evidence/pull-bundles/flashinfer/gh-2560
---
# fix: guard CUTLASS FMHA against SM12x and fix fmha_v2 SM121a check

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

## Changed Paths

- `flashinfer/jit/attention/modules.py`
- `flashinfer/prefill.py`

## Evidence Bundle

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