FlashAttention: Mathematical Foundations, Online Softmax Tiling, IO-Awareness, and Exact Attention Scaling
Standard attention bottlenecks GPU memory bandwidth. FlashAttention solves this via IO-aware algorithms, online softmax, and SRAM tiling for exact computation without materializing full matrices.
