ussoewwin/flash-attention

Fast and memory-efficient exact attention

2

stars

1,620

commits

Python

primary language

Sep 5, 2026

updated

Browse cluster: Efficient Attention Mechanisms for LLMs

README

FlashAttention

Source fork of Dao-AILab/flash-attention. Installation, build prerequisites, CUDA and ROCm paths, API usage, benchmarks, tests, and citations are documented in the upstream repository; this file only lists pointers.

Pre-compiled Windows .whl binaries for various PyTorch and CUDA versions (including the latest split_align architectures for Blackwell/Ampere/Hopper) are officially published at: 👉 Hugging Face: Flash-Attention-2_for_Windows

Installation Guideline

You do not need to build from source (which can take several hours). Simply locate the wheel that matches your environment (Python, PyTorch, CUDA version) from the Hugging Face repository and install it directly via pip:

pip install https://huggingface.co/ussoewwin/Flash-Attention-2_for_Windows/resolve/main/<your_matching_wheel_file>.whl

⚠️ Important Note for v1.6 (fa2.9.2) users: If your chosen wheel filename contains -blackwell- or -legacy- just before the -cp313 portion, you must rename the first hyphen to a period (.) before installing, or pip will throw an Invalid build number error due to strict PEP 427 filename rules.

  • ...abiTRUE-blackwell-cp...whl
  • ...abiTRUE.blackwell-cp...whl

(This filename issue has been corrected in the repository's build scripts for future releases).

Upstream (authoritative)

Changelog

  • Fork-only release history (not the upstream project changelog): md/CHANGELOG.md

Documentation

Contributors

(top 30 of 195)

tridao

959 commits

ussoewwin

87 commits

drisspg

82 commits

jayhshah

30 commits

ussoewwin/flash-attention

Fast and memory-efficient exact attention

2

stars

1,620

commits

Python

primary language

Sep 5, 2026

updated

Browse cluster: Efficient Attention Mechanisms for LLMs

README

FlashAttention

Source fork of Dao-AILab/flash-attention. Installation, build prerequisites, CUDA and ROCm paths, API usage, benchmarks, tests, and citations are documented in the upstream repository; this file only lists pointers.

Pre-compiled Windows .whl binaries for various PyTorch and CUDA versions (including the latest split_align architectures for Blackwell/Ampere/Hopper) are officially published at: 👉 Hugging Face: Flash-Attention-2_for_Windows

Installation Guideline

You do not need to build from source (which can take several hours). Simply locate the wheel that matches your environment (Python, PyTorch, CUDA version) from the Hugging Face repository and install it directly via pip:

pip install https://huggingface.co/ussoewwin/Flash-Attention-2_for_Windows/resolve/main/<your_matching_wheel_file>.whl

⚠️ Important Note for v1.6 (fa2.9.2) users: If your chosen wheel filename contains -blackwell- or -legacy- just before the -cp313 portion, you must rename the first hyphen to a period (.) before installing, or pip will throw an Invalid build number error due to strict PEP 427 filename rules.

  • ...abiTRUE-blackwell-cp...whl
  • ...abiTRUE.blackwell-cp...whl

(This filename issue has been corrected in the repository's build scripts for future releases).

Upstream (authoritative)

Changelog

  • Fork-only release history (not the upstream project changelog): md/CHANGELOG.md

Documentation

Contributors

(top 30 of 195)

tridao

959 commits

ussoewwin

87 commits

drisspg

82 commits

jayhshah

30 commits

Languages

Python

71.2%

C++

21.4%

Cuda

7.2%