papers / flashattention2 / study
Next task →
Research Papers/Efficient inference and systems/FlashAttention-2: Faster Attention with Bett/Guided study
Guided mastery · Efficient inference and systems · paper 3

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

Tri Dao · 2023 · 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: The first FlashAttention reduced memory traffic but still left GPU occupancy low and wasted work on non-matmul operations.
  2. 02Identify who would have cared in 2023 and what failed before: The authors wanted to better align the algorithm with GPU execution model by increasing parallelism and reducing non-matmul FLOPs.
  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)