FlashAttention-3
An attention kernel optimized for Hopper-architecture GPUs that uses tiling and online softmax to fuse attention computation into on-chip SRAM, and employs asynchronous pipelining and Tensor Cores to achieve high throughput.
Timeline (last 90 days)
The fused decode attention kernel is faster than FlashAttention-3 on BF16, with numerical accuracy on par with the latter.
The team extended HiSA to FlashAttention-3 kernels, supporting both training and inference.
FlashAttention-3 is an attention kernel optimized for Hopper-architecture GPUs (such as H100), whose core ideas are tiling and online softmax, fusing attention computation into on-chip SRAM to reduce memory reads and writes, and leveraging asynchronous pipelines and Tensor Cores to achieve high throughput.
Integrating HiSA into the FlashAttention-3 kernel means the sparsity rule must be compatible with the tiling schedule: the omitted hidden dimensions need to be expressed at the granularity of tile loading and matrix multiplication so as not to break the kernel's pipeline efficiency.
All Facts (4)
The fused decode attention kernel is faster than FlashAttention-3 on BF16, with numerical accuracy on par with the latter.
50%UnverifiedThe team extended HiSA to FlashAttention-3 kernels, supporting both training and inference.
50%UnverifiedFlashAttention-3 is an attention kernel optimized for Hopper-architecture GPUs (such as H100), whose core ideas are tiling and online softmax, fusing attention computation into on-chip SRAM to reduce memory reads and writes, and leveraging asynchronous pipelines and Tensor Cores to achieve high throughput.
50%UnverifiedIntegrating HiSA into the FlashAttention-3 kernel means the sparsity rule must be compatible with the tiling schedule: the omitted hidden dimensions need to be expressed at the granularity of tile loading and matrix multiplication so as not to break the kernel's pipeline efficiency.
50%