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
On this page
Latest version 2.8.3.post2, released October 14, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
- From 1.0.0 to 2.8.3.post2: 1 breaking change in 1 version.
flash-attn 2.8.3.post2 breaking changes
- 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
flash-attn 1.0.0 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 - 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 - Renamed
flash_attn.models.opt.remap_state_dict_opt
Use flash_attn.models.opt.remap_state_dict_hf_opt instead. pypi.org - 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 - 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 - 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 - 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 - 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 - 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 - 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
And 21 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.