#142 · Primary category: Inference & Local Deploy
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.
Project last updated:01/17/26
GitHub Stars
3.7K
Forks
493
Contributors
17
License
Apache-2.0
Why we included this project
Inference on modern transformers often comes down to how fast the attention kernel runs, and SageAttention targets exactly that piece. It replaces the standard attention computation with quantized CUDA and Triton kernels tuned for Ampere, Ada, Hopper, and Blackwell GPUs, giving roughly 2 to 5 times the throughput of FlashAttention while end-to-end quality stays intact for language, image, and video models. You can swap in a drop-in function that applies kernels tuned for your GPU generation, so integrating it into an existing pipeline is fairly low-effort. The maintainers keep several versions available, which is useful: SageAttention2 is the precision-first option, while the newer variants push for more speed. Combined with support for torch.compile and distributed inference.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ollama
Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
llama.cpp
LLM inference in C/C++
vllm
A high-throughput and memory-efficient inference and serving engine for LLMs
gpt4all
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
LocalAI
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.