Skip to main content

FlashAttention

FlashAttention

  • Hardware & deployment
  • Stage 5 · Running It
  • refs checked 2026-11-09
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.

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.

Task handbooks → · Filter three candidates →