---
id: pr-flash-attention-1993
repo: Dao-AILab/flash-attention
pr: 1993
title: '[Cute,Fwd,Sm100] Support `q_stage=1` for inference'
author: timmy-feng
date: '2026-01-08'
url: https://github.com/Dao-AILab/flash-attention/pull/1993
source_category: upstream-code
architectures:
- sm100
tags:
- FA4
- arch_pipeline
- attention_kv
- blackwell
- compiler_runtime
- cute dsl
- head_dim
- softmax
techniques:
- async-copy
- pipeline-stages
- warp-specialization
hardware_features:
- blackwell
- tma
kernel_types:
- attention
- compiler
- runtime
- softmax
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 3c8ca4e2551bb096e58566237f7008aec6e2355f
inclusion_reason: 'Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.'
changed_paths:
- flash_attn/cute/block_sparsity.py
- flash_attn/cute/flash_fwd_sm100.py
- flash_attn/cute/interface.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-1993
head_ref_oid: e397adb58ff44acef2483fb81eaf36f1ff3dc7a2
---
# [Cute,Fwd,Sm100] Support `q_stage=1` for inference

- Repository: `Dao-AILab/flash-attention`
- PR: [1993](https://github.com/Dao-AILab/flash-attention/pull/1993)
- Decision: `Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.`
- Reason: Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.

## Changed Paths

- `flash_attn/cute/block_sparsity.py`
- `flash_attn/cute/flash_fwd_sm100.py`
- `flash_attn/cute/interface.py`

## Evidence Bundle

`evidence/pull-bundles/flash-attention/gh-1993`
