FlashAttention's I/O-Aware Tiling & Online Softmax

FlashAttention minimizes data transfers between slow HBM and fast on-chip SRAM by processing attention in tiled blocks and using an online softmax algorithm for mathematically exact results.

Sources

Open the full topic