FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
Problem: attention is the core bottleneck for long-context models; FlashAttention reduced memory traffic but still left Hopper Tensor Cores, TMA and FP8 underused.
Where the evidence sits: the abstract notes FlashAttention-2 reaches only 35% utilization on H100; FlashAttention-3 uses warp specialization, interleaved block-wise matmul/softmax and FP8 block quantization to reach up to 740 TFLOPs/s in FP16 (75% utilization) and close to 1.2 PFLOPs/s in FP8, with a 1.5–2.0× speedup and 2.6× lower FP8 numerical error than a baseline.
What the authors say about limits: the optimisation targets Hopper (H100) and specific kernels; other GPU architectures do not automatically get the same gain; it measures the attention operator, not end-to-end model throughput; FP8 accuracy depends on model and task.
What it does not claim: not that every attention implementation must be rewritten; not that FP8 is lossless for every model; not that 75% utilization means 2× end-to-end inference.
Key specs
- 证据位置 / evidence
- 摘要
- 硬件 / hardware
- NVIDIA H100(Hopper)
- FP16 速度 / FP16
- 最高 740 TFLOPs/s,75% 利用率
- FP8 速度 / FP8
- 接近 1.2 PFLOPs/s
- 复现状态 / reproduction
- 未复现(只读摘要)
What the source says
FlashAttention-2 achieving only 35% utilization on the H100 GPU
achieves speedup on H100 GPUs by 1.5-2.0× with FP16 reaching up to 740 TFLOPs/s (75% utilization)
with FP8 reaching close to 1.2 PFLOPs/s
Source and licence
- Source checked
- 2026-11-20
- Licence / kind
- arxiv-preprint
- Licence evidence
- https://arxiv.org/abs/2407.08608
- Category
- Efficiency
How to read the numbers
Before citing a score, separate what it measures, how it is scored, what it compares against and whether contamination is controlled. If unsure, go back to the experiment setup in the paper. See benchmark cards · See dataset cards