---
id: pr-flash-attention-2487
repo: Dao-AILab/flash-attention
pr: 2487
title: '[Cute,hd256] Post-merge cleanup: dead code, duplicate imports'
author: Johnsonms
date: '2026-04-23'
url: https://github.com/Dao-AILab/flash-attention/pull/2487
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark kernel
- cute
- sm100
techniques: []
hardware_features:
- blackwell
kernel_types:
- attention
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: b21e2049e510ce8a97c82a6c97819a1f14b46d43
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- flash_attn/cute/interface.py
- flash_attn/cute/mask.py
- tests/cute/test_flash_attn.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-2487
head_ref_oid: beca6f7021e1b2f67143492dc703102c2bc3a52e
---
# [Cute,hd256] Post-merge cleanup: dead code, duplicate imports

- Repository: `Dao-AILab/flash-attention`
- PR: [2487](https://github.com/Dao-AILab/flash-attention/pull/2487)
- 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`
- `flash_attn/cute/mask.py`
- `tests/cute/test_flash_attn.py`

## Evidence Bundle

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