FlashAttention: Fusion's Breakthrough for LLMs

FlashAttention is a key innovation for large language models that uses kernel fusion to combine all attention operations into a single CUDA kernel, significantly reducing memory traffic between GPU high bandwidth memory (HBM) and on-chip SRAM.

Sources

Open the full topic