FlashAttention
FlashAttention
What problem it solves
A more memory-efficient, faster attention algorithm; the base of long contexts.
What it is
Dao et al.'s definition: an IO-aware exact attention algorithm using tiling to cut reads and writes between GPU memory and on-chip SRAM.
The paper identifies quadratic cost in sequence length as why long sequences are slow.
Why it matters
This is the underlying reason bigger contexts are slower, and a standard kernel in serving stacks.
Terms in the same area
What you can do now
Models atlas: which quantisations exist and which tier fits your VRAM ↗
Sources
- FlashAttention paper ↗
Use this term in a task
Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.