2025
FlashMask: Efficient and Rich Mask Extension of FlashAttention
ICLR 2025poster
The computational and memory demands of vanilla attention scale quadratically with the sequence length $N$, posing significant challenges for processing long sequences in Transformer models. FlashAttention alleviates these challenges by eliminating the $\mathcal{O}(N^2)$ memory dependency and reduci…