Home Projects SageAttention
SageAttention

SageAttention

by thu-ml · GitHub

[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.

# attention# cuda# efficient-attention# inference-acceleration
View on GitHub
⭐ Stars
3.5k
🍴 Forks
444
🔥 Trending
+12 this week
📜 License
Apache-2.0
Commercial use OK
📅 Created
2024
🔄 Last commit
6 mo ago
🏷️ Category
attention
💻 Language
Cuda
You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
SageAttention — GitHub preview card
📈 Star history
3.50k3.46k
2026-07-072026-07-22
📄 About

[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.

Frequently asked questions

What is 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.

Is SageAttention open source?

SageAttention is an open-source project. It is released under the Apache-2.0 license.

Is SageAttention free?

Yes. SageAttention is free and open source — you can use, modify and self-host it.

🏅 Maintainer of this project?
OpenSourceAI badge — SageAttention

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![OpenSourceAI](https://opensourceai.tech/badge.php?tool=thu-ml-sageattention)](https://opensourceai.tech/project/thu-ml-sageattention.html)
More badge options →
🧬 Related projects🧬 View the DNA map →