What is FlashAttention?

A fast attention implementation that tiles the computation in on-chip memory and never writes the large intermediate table to HBM. Its results match standard attention.

Field: AI Hardware & Software Stack

FlashAttention in the explanations

Questions that mention FlashAttention (1)

  1. What is the main idea behind fast attention implementations such as FlashAttention?

Related terms

HBM AI compiler AI inference All-reduce Arithmetic intensity Attention mechanism Backpropagation Batch size Computational graph Data parallelism

Back to the glossary