---
id: pr-flash-attention-2230
repo: Dao-AILab/flash-attention
pr: 2230
title: '[AMD] Migrate to Triton Backend to Aiter'
author: micmelesse
date: '2026-03-12'
url: https://github.com/Dao-AILab/flash-attention/pull/2230
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- cutlass
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- cute-dsl
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 3f94643fb41bcedded28c85185a8e11d42ef1592
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- .gitmodules
- README.md
- flash_attn/flash_attn_interface.py
- flash_attn/flash_attn_triton_amd/__init__.py
- flash_attn/flash_attn_triton_amd/bwd.py
- flash_attn/flash_attn_triton_amd/common.py
- flash_attn/flash_attn_triton_amd/fwd_decode.py
- flash_attn/flash_attn_triton_amd/fwd_prefill.py
- flash_attn/flash_attn_triton_amd/interface_v2.py
- flash_attn/flash_attn_triton_amd/interface_v3.py
- flash_attn/flash_attn_triton_amd/pyproject.toml
- flash_attn/flash_attn_triton_amd/utils.py
- hopper/flash_attn_interface.py
- setup.py
- tests/test_flash_attn_triton_amd.py
- third_party/aiter
artifact_dir: evidence/pull-bundles/flash-attention/gh-2230
head_ref_oid: 1abf20de88ec76b23f41642dbf79e3c6e3ebe85e
---
# [AMD] Migrate to Triton Backend to Aiter

- Repository: `Dao-AILab/flash-attention`
- PR: [2230](https://github.com/Dao-AILab/flash-attention/pull/2230)
- 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

- `.gitmodules`
- `README.md`
- `flash_attn/flash_attn_interface.py`
- `flash_attn/flash_attn_triton_amd/__init__.py`
- `flash_attn/flash_attn_triton_amd/bwd.py`
- `flash_attn/flash_attn_triton_amd/common.py`
- `flash_attn/flash_attn_triton_amd/fwd_decode.py`
- `flash_attn/flash_attn_triton_amd/fwd_prefill.py`
- `flash_attn/flash_attn_triton_amd/interface_v2.py`
- `flash_attn/flash_attn_triton_amd/interface_v3.py`
- `flash_attn/flash_attn_triton_amd/pyproject.toml`
- `flash_attn/flash_attn_triton_amd/utils.py`
- `hopper/flash_attn_interface.py`
- `setup.py`
- `tests/test_flash_attn_triton_amd.py`
- `third_party/aiter`

## Evidence Bundle

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