---
id: pr-flash-attention-2330
repo: Dao-AILab/flash-attention
pr: 2330
title: '[Bwd,Sm120] Add SM120 backward pass support'
author: blake-snc
date: '2026-03-12'
url: https://github.com/Dao-AILab/flash-attention/pull/2330
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- arch_pipeline
- attention_kv
- blackwell
- compiler_runtime
- head_dim
- sm90
techniques:
- pipeline-stages
hardware_features:
- blackwell
- hopper
kernel_types:
- attention
- compiler
- runtime
languages:
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 921f70c9cbc503f00c5cae243c835a7a8044bbbb
inclusion_reason: 'Extract the architecture assumption first: SM target, TMA/WGMMA/tcgen path, cluster use, and pipeline stages.'
changed_paths:
- flash_attn/cute/flash_bwd_postprocess.py
- flash_attn/cute/flash_bwd_sm120.py
- flash_attn/cute/interface.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-2330
head_ref_oid: a045446d36d2f88369df9a5f7b3d4f4b9f001e30
---
# [Bwd,Sm120] Add SM120 backward pass support

- Repository: `Dao-AILab/flash-attention`
- PR: [2330](https://github.com/Dao-AILab/flash-attention/pull/2330)
- 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/flash_bwd_postprocess.py`
- `flash_attn/cute/flash_bwd_sm120.py`
- `flash_attn/cute/interface.py`

## Evidence Bundle

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