EP113: How FlashAttention-3 Doubles H100 Speed episode artwork

EPISODE · Mar 7, 2026 · 18 MIN

EP113: How FlashAttention-3 Doubles H100 Speed

from Learning GenAI via SOTA Papers · host Yun Wu

FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision addresses the core computational bottleneck of the attention mechanism in Transformer models, specifically targeting the underutilization of newer hardware like the Hopper H100 GPU. While its predecessor, FlashAttention-2, achieved only 35% utilization on the H100, FlashAttention-3 introduces three main techniques to significantly boost performance:Producer-Consumer Asynchrony: It utilizes a warp-specialized software pipelining scheme to overlap data movement and overall computation, effectively hiding memory and instruction latencies.Hiding Softmax: The algorithm uses pingpong scheduling and a 2-stage pipeline to interleave comparatively slower, non-matmul operations (like softmax) with asynchronous matrix multiplications (GEMMs).Hardware-Accelerated Low-Precision (FP8): It adapts the forward pass algorithm to leverage FP8 Tensor Cores. To combat the higher numerical error and outlier features typically associated with lower-precision FP8, it employs block quantization (scaling per block rather than per tensor) and incoherent processing (multiplying queries and keys with a random orthogonal matrix to spread out outlier values).Key Results:FlashAttention-3 achieves a 1.5x to 2.0x speedup over FlashAttention-2 on H100 GPUs. In FP16, it reaches up to 740 TFLOPs/s (75% hardware utilization), and with FP8, it reaches close to 1.2 PFLOPs/s. Furthermore, thanks to its error-mitigation techniques, the FP8 implementation achieves 2.6x lower numerical error than baseline FP8 attention.

Episode metadata supplied by the publisher feed · Published Mar 7, 2026

Embed this episode

Ready to play

EP113: How FlashAttention-3 Doubles H100 Speed

0:00 18:30

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

Frequently Asked Questions

How long is this episode of Learning GenAI via SOTA Papers?

This episode is 18 minutes long.

When was this Learning GenAI via SOTA Papers episode published?

This episode was published on March 7, 2026.

Can I download this Learning GenAI via SOTA Papers episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!