SHARED RESEARCH
ARTIFICIAL INTELLIGENCE
What if AI is slowed down not by maths but by moving data?
The attention calculation at the heart of language models got rapidly heavier as text grew longer. Instead of cutting the maths, this study focused on how many times data shuttles between a graphics chip's slow and fast memory. The result was FlashAttention, a method that does exactly the same calculation but runs several times faster. With it, models could handle much longer texts.
arXiv · 2022
Tri Dao · Daniel Y. Fu · Stefano Ermon · Atri Rudra · Christopher Ré
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
The full story of the research, its limits and, for open-access papers, the complete text are in the Schrollar app. 6 min read
About Schrollar