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.
Open the full topic