---
id: pr-flash-attention-2283
repo: Dao-AILab/flash-attention
pr: 2283
title: '[Cute][Testing] Add fake tensor mode support for compile-only test passes'
author: Alkaid-Benetnash
date: '2026-03-03'
url: https://github.com/Dao-AILab/flash-attention/pull/2283
source_category: upstream-code
architectures:
- sm100
tags:
- attention kernel
- cuda kernel
- cutlass
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- cuda-cpp
- cute-dsl
captured_at: '2026-05-16'
status: merged
merge_sha: f2682b6c86fc2290f760403ea14668015a59b2cd
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- flash_attn/cute/interface.py
- flash_attn/cute/testing.py
- tests/cute/test_flash_attn.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-2283
head_ref_oid: 4167ed5fe9dc92b3829c85dd98bb7d0f316d6012
---
# [Cute][Testing] Add fake tensor mode support for compile-only test passes

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

## Evidence Bundle

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