---
id: pr-flash-attention-2033
repo: Dao-AILab/flash-attention
pr: 2033
title: '[Cute,Bwd,Sm100] enable deterministic mode for sm100 bwd and fix race conditions'
author: jayhshah
date: '2025-11-25'
url: https://github.com/Dao-AILab/flash-attention/pull/2033
source_category: upstream-code
architectures:
- sm100
tags:
- arch_pipeline
- attention_kv
- benchmark_test
- compiler_runtime
- recent-kernel-path
- scheduler_autotune
techniques:
- autotuning
- pipeline-stages
- tile-scheduling
- warp-specialization
hardware_features:
- blackwell
- tmem
kernel_types:
- attention
- compiler
- runtime
- scheduler
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: 20cda05e6bfb4c266319065f6e38181878c9d02e
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_sm100.py
- flash_attn/cute/interface.py
- flash_attn/cute/tile_scheduler.py
- flash_attn/cute/utils.py
- tests/cute/test_flash_attn_race_condition.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-2033
head_ref_oid: d380832841e94ba199655d7fa1fe2511694265f2
---
# [Cute,Bwd,Sm100] enable deterministic mode for sm100 bwd and fix race conditions

- Repository: `Dao-AILab/flash-attention`
- PR: [2033](https://github.com/Dao-AILab/flash-attention/pull/2033)
- 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_sm100.py`
- `flash_attn/cute/interface.py`
- `flash_attn/cute/tile_scheduler.py`
- `flash_attn/cute/utils.py`
- `tests/cute/test_flash_attn_race_condition.py`

## Evidence Bundle

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