GitHub·Code·Apache-2.0

thu-ml/SageAttention

[ICLR2025, ICML2025, NeurIPS2025 Spotlight] Quantized Attention achieves speedup of 2-5x compared to FlashAttention, without losing end-to-end metrics across language, image, and video models.

3.5k stars·Updated Jul 2026
attentioncudaefficient-attentioninference-accelerationllmllm-inframlsysquantizationtritonvideo-generatevideo-generationvit
Open on GitHub

Linked papers

Code

SageAttention2++: A More Efficient Implementation of SageAttention2

ES-FoMo III · 2025

Why Lacuna links this resource
Confirmed by the paper and resource

The paper explicitly states that its code is available at the provided GitHub repository URL. The repository's README explicitly confirms it provides the official implementation of SageAttention2++ and includes the exact citation for the paper. Since the repository hosts implementations for multiple related papers (SageAttention, SageAttention2, SageAttention3, etc.), it is classified as a bundled resource.

Code

SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Acceleration

arxiv · 2024

Why Lacuna links this resource
Confirmed by the paper and resource

The paper explicitly states that its code is available at the provided GitHub repository. The repository's README confirms it provides the official implementation for this paper, alongside subsequent versions (SageAttention2 and SageAttention3), making it a bundled resource. Both sides explicitly identify each other.