FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness episode artwork

EPISODE · Apr 26, 2026 · 12 MIN

FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness

from Mastering Language Models: From Architecture to Optimization

Episode six of Topic 3 stops spreading work across machines and crawls inside a single GPU. FlashAttention's accusation is that attention was slow for the wrong reason: not too much math, too much traffic — the quadratic score matrix hauled back and forth between high-bandwidth memory and the tiny on-chip SRAM beside the compute units. Maya and Leo open at a laundromat where the machines were never the problem, walk through tiling and the online-softmax running tally that keeps blockwise attention mathematically exact, then stage the field's real fight: approximate the asymptote or engineer the exact computation's route. The stopwatch settles it — end-to-end wall-clock wins over approximate methods that cut FLOPs but not traffic — before the honest concession that the square law survives, and the closing diagnostic: after a faster kernel, which bottleneck inherited the crown? Sources: • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness: https://arxiv.org/pdf/2205.14135

Episode metadata supplied by the publisher feed · Published Apr 26, 2026

Embed this episode

NOW PLAYING

FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness

0:00 12:11

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.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Mastering Language Models: From Architecture to Optimization?

This episode is 12 minutes long.

When was this Mastering Language Models: From Architecture to Optimization episode published?

This episode was published on April 26, 2026.

Can I download this Mastering Language Models: From Architecture to Optimization episode?

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