FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning episode artwork

EPISODE · Apr 26, 2026 · 11 MIN

FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning

from Mastering Language Models: From Architecture to Optimization

Episode seven of Topic 3 stays inside the GPU for the sequel. FlashAttention ended attention's memory commute, and the same author's audit found the chip still far from busy — so FlashAttention-2 re-divides the labor instead of the math: less slow non-matmul bookkeeping, a single attention head's work split across many thread blocks so long-sequence runs fill the machine, and warps exchanging less through shared memory. Maya maps the three findings onto a moving crew — the tape gun, the empty stairwells, the over-the-shoulder pass — while Leo reads the stopwatch: about twice the already-fast kernel, fifty to seventy-three percent of theoretical peak on A100s, and end-to-end GPT-style training near seventy-two percent model FLOP utilization. They argue whether scheduling counts as research, agree the schedule has become part of the algorithm, and close on the harder truth: a partition tuned for one chip is a hypothesis about the next. Sources: • FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning: https://arxiv.org/pdf/2307.08691 • 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-2: Faster Attention with Better Parallelism and Work Partitioning

0:00 11:45

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 11 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!