papers / flashattention2022 / study
Next task →
Research Papers/Efficient inference and systems/FlashAttention: Fast and Memory-Efficient Ex/Guided study
Guided mastery · Efficient inference and systems · paper 2

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

Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, Christopher Re · 2022 · NeurIPS — one stage at a time. 0/14 stages complete.
Stage 1 of 140% mastered
20 minin progress

1. Problem & motivation

State the exact problem the paper solves before reading any technical section.

Do this now
  1. 01Write down the problem in your own words: Standard attention materializes an N-by-N score matrix in high-bandwidth memory, making memory traffic dominate runtime for long sequences.
  2. 02Identify who would have cared in 2022 and what failed before: The authors wanted exact attention that respects the GPU memory hierarchy instead of approximating it or slowing training with recomputation.
  3. 03Write one sentence on why a smarter version of the old approach would not obviously solve it.
Questions you must answer before continuing
  • ?What would count as success for this paper?
  • ?Which assumption about the world does the problem statement already smuggle in?
Expected deliverable
A three-sentence problem statement with no jargon from the method.
Completion check
You can explain the problem to a colleague without naming the paper's technique.
Stage notes (saved locally)