Dao-AILab/flash-attention
Fast and memory-efficient exact attention observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 1567
- days_rel: 84
- days_push: 7
- n_releases_24m: 24
Adoption not part of the score
24787 stars · 3010 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Official implementation of FlashAttention, FlashAttention-2, -3, and -4: fast and memory-efficient exact attention kernels for GPUs. It accelerates transformer training and inference on NVIDIA (and ROCm) hardware with IO-aware CUDA kernels.
Use cases
- speed up transformer training on GPUs
- reduce memory usage of attention in LLM training
- run attention efficiently on H100 GPUs
- train large language models faster
- use exact attention instead of approximations
- benchmark attention kernel performance
When to choose
- you train or fine-tune transformers on NVIDIA GPUs and need faster, memory-efficient attention
- you need exact attention with long sequences that would otherwise OOM
- you target Hopper/Blackwell GPUs and want optimized FP16/BF16/FP8 kernels
When to avoid
- you are not using GPU-accelerated PyTorch with CUDA or ROCm
- you need Windows support or non-CUDA hardware
- you only need a high-level API and prefer frameworks that bundle attention kernels already
Facets
library · maturity active
machine-learning deep-learning gpu-computing benchmarking deep-learning large-language-models gpu-computing machine-learning python attention transformers cuda-kernels pytorch memory-efficiency flash-attention linux gpu cuda
1 source
- readme: https://github.com/Dao-AILab/flash-attention · fetched 2026-08-28 · e0f876a0d696
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Dao-AILab/flash-attention | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="Dao-AILab/flash-attention")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem