Skip to content

Releases

20261123 sageattention-2.2.0 + sageattn3-1.0.0

Choose a tag to compare

@mengqin mengqin released this 23 Nov 11:53

Starting with this release, both packages ship as cp310-abi3 wheels. Choose the wheel that matches your PyTorch and CUDA build. The same wheel works across CPython 3.10 and later versions supported by that PyTorch build.

Supported versions

  • Added Windows builds for CUDA 13.0, 13.2, and 13.4, with PyTorch versions up to 2.15.0.
  • CUDA 12.8 builds are available for both packages. CUDA 12.4 and 12.6 builds are available for SageAttention 2.2.

Optimizations

  • SageAttention 2.2 uses standard E4M3 conversion and computes softmax row sums from the rounded FP8 probabilities on supported paths. It keeps FP32 row sums when returning log-sum-exp and reduces peak memory during FP8 value quantization. [VC-Attention](https://arxiv.org/abs/2609.15810)
  • SageAttention 3 selects the NVFP4 scale with the lowest reconstruction error from five candidates per Q/K block. It also fuses Q centering with FP4 quantization on aligned inputs. [Four Over Six](https://arxiv.org/abs/2512.02010)

Fixes

  • SageAttention 2.2 fixed CUDA Graph replay, causal masking for unequal query and key lengths, and NaNs in zero-scale FP8 value channels.
  • SageAttention 3 fixed causal and padding masks after FP4 token permutation and restored accumulation for the key block before the causal diagonal. [Upstream #410](thu-ml#410) Β· [Upstream #408](thu-ml#408)
  • Windows builds fixed a CUDA 13 PTX compilation error on Hopper.

20251229 sageattention-2.2.0 + sageattn3-1.0.0

Choose a tag to compare

@mengqin mengqin released this 30 Dec 06:51

Staying in sync with the upstream code, the upstream project has restored some pull requests, including support for sm12.1.

20251214 sageattention-2.2.0 + sageattn3-1.0.0

Choose a tag to compare

@mengqin mengqin released this 14 Dec 12:40

Synchronized with upstream code, fixed the crash issue in Sage Attention 3, and resolved other build problems.

20251207 sageattention-2.2.0

Choose a tag to compare

@mengqin mengqin released this 08 Dec 06:35

Sage Attention 2.2.0 build based on the original branch from 2025/12/7.