---
id: pr-flash-attention-2239
repo: Dao-AILab/flash-attention
pr: 2239
title: Add `FLASH_ATTENTION_TRITON_AMD_CONFIG_JSON` env var support
author: alexheretic
date: '2026-02-07'
url: https://github.com/Dao-AILab/flash-attention/pull/2239
source_category: upstream-code
architectures:
- sm100
tags:
- attention
techniques: []
hardware_features: []
kernel_types:
- attention
languages:
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 912c6c451863403414323be39eecb0d95e124d4c
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- README.md
- flash_attn/flash_attn_triton_amd/fwd_prefill.py
- flash_attn/flash_attn_triton_amd/utils.py
artifact_dir: evidence/pull-bundles/flash-attention/gh-2239
head_ref_oid: cf7c2b936aef51cc976170b9baf16b2493de2c5a
---
# Add `FLASH_ATTENTION_TRITON_AMD_CONFIG_JSON` env var support

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

- `README.md`
- `flash_attn/flash_attn_triton_amd/fwd_prefill.py`
- `flash_attn/flash_attn_triton_amd/utils.py`

## Evidence Bundle

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