---
title: "flash-attn 2.8.3.post2 Breaking Changes on PyPI | Since.dev"
description: "What each flash-attn release removed, renamed or changed: 32 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/flash-attn
last_updated: 2026-12-04
---

# flash-attn breaking changes

flash-attn 2.8.3.post2 (October 14, 2026) is its newest release with breaking changes. The first: Behavior changed flash_attn.utils.distributed. Every breaking API change we have recorded in flash-attn on PyPI: 32 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.8.3.post2`, released October 14, 2026. [Source repository](https://github.com/Dao-AILab/flash-attention)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.0.0](#v-1-0-0) to [2.8.3.post2](#v-2-8-3-post2): 1 breaking change in 1 version.

## flash-attn 2.8.3.post2 breaking changes

flash-attn 2.8.3.post2, released October 14, 2026: 1 breaking change.

- **Behavior changed** `flash_attn.utils.distributed`  

Checkpoint loading in the distributed utilities and models now restricts torch.load to weights only, as a security fix. Code that loads pickled non-tensor objects through these paths may now fail and needs a different loading approach. [github.com](https://github.com/Dao-AILab/flash-attention/releases/tag/v2.8.3.post2)

## flash-attn 1.0.0 breaking changes

flash-attn 1.0.0, released April 12, 2023: 31 breaking changes.

- **Removed** `flash_attn.models.gpt.remap_state_dict_gpt2`  

flash_attn.models.gpt.remap_state_dict_gpt2 was removed in flash-attn 1.0.0 [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)
- **Removed** `flash_attn.models.gpt.remap_state_dict_opt`  

flash_attn.models.gpt.remap_state_dict_opt was removed in flash-attn 1.0.0 [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)
- **Renamed** `flash_attn.models.opt.remap_state_dict_opt`  

Use flash_attn.models.opt.remap_state_dict_hf_opt instead. [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)
- **Signature changed** `flash_attn.flash_attention.flash_attn_unpadded_qkvpacked_func`  

Was def flash_attn_unpadded_qkvpacked_func(qkv, cu_seqlens, max_seqlen, dropout_p, softmax_scale=None, causal=False, return_attn_probs=False); now def flash_attn_unpadded_qkvpacked_func(qkv, cu_seqlens, max_seqlen, dropout_p... [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)
- **Signature changed** `flash_attn.flash_attention.FlashAttention.__init__`  

Was def \_\_init\_\_(self, softmax_scale=None, attention_dropout=0.0, device=None, dtype=None); now def \_\_init\_\_(self, softmax_scale=None, attention_dropout=0.0). [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)
- **Signature changed** `flash_attn.flash_attention.FlashMHA.__init__`  

Was def \_\_init\_\_(self, embed_dim, num_heads, bias=True, batch_first=True, attention_dropout=0.0, causal=False, device=None, dtype=None, \*\*kwargs) -> None; now def \_\_init\_\_(self, embed_dim, num_heads, bias=True, batch_first=True... [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)
- **Signature changed** `flash_attn.flash_attn_interface.flash_attn_unpadded_func`  

Was def flash_attn_unpadded_func(q, k, v, cu_seqlens_q, cu_seqlens_k, max_seqlen_q, max_seqlen_k, dropout_p, softmax_scale=None, causal=False, return_attn_probs=False); now def flash_attn_unpadded_func(q, k, v, cu_seqlens_q, cu_seqlens_k... [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)
- **Signature changed** `flash_attn.flash_attn_interface.flash_attn_unpadded_kvpacked_func`  

Was def flash_attn_unpadded_kvpacked_func(q, kv, cu_seqlens_q, cu_seqlens_k, max_seqlen_q, max_seqlen_k, dropout_p, softmax_scale=None, causal=False, return_attn_probs=False); now def flash_attn_unpadded_kvpacked_func(q, kv, cu_seqlens_q... [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)
- **Signature changed** `flash_attn.flash_attn_interface.flash_attn_unpadded_qkvpacked_func`  

Was def flash_attn_unpadded_qkvpacked_func(qkv, cu_seqlens, max_seqlen, dropout_p, softmax_scale=None, causal=False, return_attn_probs=False); now def flash_attn_unpadded_qkvpacked_func(qkv, cu_seqlens, max_seqlen, dropout_p... [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)
- **Signature changed** `flash_attn.flash_attn_interface.flash_attn_unpadded_qkvpacked_split_func`  

Was def flash_attn_unpadded_qkvpacked_split_func(qkv, cu_seqlens, max_seqlen0, max_seqlen1, batch_size0, dropout_p, softmax_scale=None, causal=False, return_attn_probs=False); now def flash_attn_unpadded_qkvpacked_split_func(qkv... [pypi.org](https://pypi.org/project/flash-attn/1.0.0/)

And 21 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
