github Dao-AILab/flash-attention v2.8.3.post2

13 hours ago

Maintenance release of FlashAttention 2 on top of v2.8.3.post1. No kernel feature changes.

  • Backport #2622: torch.load(..., weights_only=True) in flash_attn/utils/distributed.py and flash_attn/models (CVE-2026-31253 / GHSA-7g5w-pq96-8c5w). #2974
  • Backport #2702: safe tarfile extraction in hopper/setup.py (CVE-2026-62239 / GHSA-w9r7-4gwr-j959). #2974
  • Backport #2260: fix int32 overflow in the FA2 backward dq_accum offsets, which caused an illegal memory access or NaN gradients when batch * round128(seqlen_q) * nheads * headdim exceeded 2^31 (#2987). #2994
  • setup.py: request cu13 prebuilt wheels for CUDA 13 torch.

Don't miss a new flash-attention release

NewReleases is sending notifications on new releases.