Skip to content

FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning

Authors: Tri Dao (2023)

arXiv: 2307.08691

Domains

Inference

TLDR (English)

Uses more aggressive warp-level parallelism and work partitioning to double FlashAttention performance. Today vLLM/SGLang/Megatron training backends have all upgraded to FA-2.

TLDR(中文)

用更激进的 warp 级并行和 work partition 把 FlashAttention 再翻倍。今天 vLLM / SGLang / Megatron 训练后端基本都升级到 FA-2。

Appears in These Articles

Co-cited Papers

These papers appear in the same articles as this one

Related Papers

Other papers in the same domain