---
id: pr-flash-attention-2298
repo: Dao-AILab/flash-attention
pr: 2298
title: '[CuTe] Include broadcast dims in backward compile cache keys'
author: bonpyt
date: '2026-03-03'
url: https://github.com/Dao-AILab/flash-attention/pull/2298
source_category: upstream-code
architectures:
- sm100
tags:
- cuda kernel
- cutlass
techniques:
- cache-policy
hardware_features: []
kernel_types:
- attention
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: be76c60f5b9c829236248504a380793f38c697f1
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- flash_attn/cute/interface.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-2298
head_ref_oid: bfb243fcc9c44467ee5d755e491cf03f2b09638f
---
# [CuTe] Include broadcast dims in backward compile cache keys

- Repository: `Dao-AILab/flash-attention`
- PR: [2298](https://github.com/Dao-AILab/flash-attention/pull/2298)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `flash_attn/cute/interface.py`

## Evidence Bundle

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