flash-attn 2.7.4.post1 wheels for sm_120 (RTX 5090) and sm_80 (RTX 3090 / 4090)

Unofficial prebuilt wheels of flash-attention 2.7.4.post1 for torch 2.9.1+cu128 and Python 3.10. Upstream does not publish wheels for this combination, so they otherwise have to be built from source on every new machine.

Folder Arch GPUs SHA-256
/ (root) sm_120 RTX 5090 (Blackwell consumer) 768c8e62884de2279d957d47f96bd6ee9af67929675b45a330d91287364ab81c
sm80/ sm_80 (runs on 8.x) RTX 3090 (sm_86), RTX 4090 (sm_89), A100 2d81f8b9fea5f570b3e5ad66a748ac66d16af052cecfa30261337de5a9aaa3b7

The table below describes the sm_120 wheel; the sm_80 wheel was built the same way with FLASH_ATTN_CUDA_ARCHS=80.

File flash_attn-2.7.4.post1-cp310-cp310-linux_x86_64.whl
SHA-256 768c8e62884de2279d957d47f96bd6ee9af67929675b45a330d91287364ab81c (also in SHA256SUMS)
Python 3.10 (CPython, Linux x86_64)
PyTorch 2.9.1+cu128 (the wheel links against this torch ABI; other versions are not supported)
CUDA 12.8 toolkit from pytorch/pytorch:2.9.1-cuda12.8-cudnn9-devel
Arch FLASH_ATTN_CUDA_ARCHS=120 (sm_120 only)
Built 2026-11-29, pip wheel --no-build-isolation --no-deps flash-attn==2.7.4.post1, MAX_JOBS=8, NVCC_THREADS=2

Install

# RTX 5090
pip install https://huggingface.co/kmigo11/flash-attn-sm120/resolve/main/flash_attn-2.7.4.post1-cp310-cp310-linux_x86_64.whl
# RTX 3090 / 4090
pip install https://huggingface.co/kmigo11/flash-attn-sm120/resolve/main/sm80/flash_attn-2.7.4.post1-cp310-cp310-linux_x86_64.whl

Verify the SHA-256 before installing in automated setups.

License

flash-attention is released under the BSD 3-Clause License by Tri Dao and contributors. The original LICENSE and AUTHORS files are included here unchanged. This repository only redistributes a compiled binary of the unmodified upstream source; it is not affiliated with or endorsed by the upstream authors.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support