What huggingface/transformers shipped
Written by FoxPlug from the repository's own releases; not affiliated with Hugging Face. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/huggingface/transformers; Hugging Face did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Week of November 9, 2026
What shipped
- Version 5.23.0 was released, adding Inkling2, a multimodal model that accepts text and image inputs and generates text outputs. Release
- The
past_key_valuesandcache_paramsarguments were unified into a single cache argument. Pull request #50585 - The audio extra now installs only torchaudio, soundfile and soxr, dropping librosa and phonemizer and shrinking from about 371 MiB to about 1.4 MiB on top of torch. Pull request #50610
- BeamForTokenClassification was added using GenericForTokenClassification and BeamPre. Pull request #50634
- The
ep_routerexpert-parallel style was removed. Pull request #49615 - MXFP4 GPT-OSS experts now run through
ep_dispatch_expertsunder expert parallelism. Pull request #49613 - Flash Attention support is now checked before loading a Flash Attention kernel from the Hub. Pull request #50712
- Support for inkling2 was added. Pull request #50682
- A PEFT adapter in the root directory is now loaded when resuming from a checkpoint. Pull request #50368
Why it matters
The release brings a new multimodal model and the long-planned rename of the cache arguments, so existing call sites passing past_key_values or cache_params need updating. The audio extra is far smaller, which changes what gets installed for audio work, and a set of fixes addresses PEFT resume, offloading output and kernel loading.
Changelog entry
- Release v5.23.0, adding the Inkling2 multimodal model. Release
- Rename
past_key_valuesandcache_paramsto a single cache argument. Pull request #50585 - Slim the audio extra down to torchaudio, soundfile and soxr. Pull request #50610
- Add BeamForTokenClassification. Pull request #50634
- Add inkling2 support. Pull request #50682
- Remove the
ep_routerexpert-parallel style. Pull request #49615 - Run MXFP4 GPT-OSS experts through
ep_dispatch_experts. Pull request #49613 - Check Flash Attention support before loading a Hub kernel. Pull request #50712
- Load the root-level PEFT adapter when resuming from a checkpoint. Pull request #50368
- Fix XVector outputs of the wav2vec2 family when TDNN layers are offloaded. Pull request #50646
- Replace doc examples using pipeline tasks removed in v5. Pull request #50625
Digest: v5.23.0 is out with Inkling2, a multimodal model. past_key_values/cache_params are now one cache argument. The audio extra installs only torchaudio, soundfile and soxr, down from about 371 MiB to about 1.4 MiB. Plus fixes for PEFT resume and Flash Attention kernel loading
Week of November 2, 2026
What shipped
- Patch release v5.22.2 shipped, containing a distributed fix that sets
device_idonly for NCCL and hardening of Jinja sandboxing. Release - Jinja sandboxing was hardened to close an issue where a CPython bug allowed an array overflow to be triggered. Pull request #50431
- HSDP support was added to DistributedConfig, so
dp_replicate_sizewithfsdp_sizeshards parameters across devices and replicates them. Pull request #50285 - HSDP now works with expert parallelism in the distributed package. Pull request #50293
- The Trainer now reduces FSDP and HSDP gradients on the last micro-batch only when gradient accumulation is used. Pull request #50286
- With DeepSpeed ZeRO-3,
from_pretrainednow reads weights on rank 0 only and converts them one group at a time, reducing CPU memory use. Pull request #50284 - The OpenVINO exporter now lets OpenVINO fuse attention, RoPE, the KV cache and compressed matmuls, with decode reported 2.4 to 3.9 times faster than main. Pull request #50311
- The LFM3 text model was added as part of the LFM3 family. Pull request #50322
- An unchanged generation config can now be saved, covering Hub configs that fail strict validation on save. Pull request #49914
- Weight loading no longer silently ignores mismatched keys, including when quantizing. Pull request #50433
Why it matters
This week brings a patch release with a distributed fix and hardened Jinja sandboxing, plus new HSDP configuration and expert parallelism support for people training across many devices. Memory use when loading with DeepSpeed ZeRO-3 is reduced, and the OpenVINO exporter path gains fused kernels. Several model and pipeline fixes also landed, including saving unchanged generation configs and reporting mismatched weight keys.
Changelog entry
- Patch release v5.22.2 with a distributed fix for NCCL
device_idand hardened Jinja sandboxing. Release - Harden Jinja sandboxing against an array overflow triggerable through a CPython bug. Pull request #50431
- Add HSDP (
dp_replicate_size) to DistributedConfig. Pull request #50285 - Support HSDP with expert parallelism. Pull request #50293
- Reduce FSDP/HSDP gradients on the last micro-batch only in the Trainer. Pull request #50286
- ZeRO-3: read weights on rank 0 only and convert them one group at a time. Pull request #50284
- OpenVINO exporter: fuse attention, RoPE, KV cache and compressed matmuls. Pull request #50311
- Add the LFM3 text model. Pull request #50322
- Allow saving an unchanged generation config. Pull request #49914
- Fix mismatched keys being silently ignored during loading. Pull request #50433
- Validate zero-shot object detection batch labels in pipelines. Pull request #50318
Transformers v5.22.2 is out with a distributed fix and hardened Jinja sandboxing. Also this week: HSDP with expert parallelism, lower CPU memory with ZeRO-3 loading, fused OpenVINO decode, and the LFM3 text model.
Transformers v5.22.2 is out, containing a distributed fix that sets device_id only for NCCL and hardening of our Jinja sandboxing. This week also added HSDP to DistributedConfig, including support with expert parallelism, and the Trainer now reduces FSDP/HSDP gradients on the last micro-batch only. Loading with DeepSpeed ZeRO-3 reads weights on rank 0 and converts them one group at a time to cut CPU memory. The OpenVINO exporter now lets OpenVINO fuse attention, RoPE, the KV cache and compressed matmuls. The LFM3 text model was added, and weight loading no longer silently ignores mismatched keys.
Week of October 26, 2026
What shipped
- Importing transformers is faster because the package distribution mapping is now built lazily instead of at import time. Pull request #50047
- Removed the deprecated torch.jit.script usage that was emitting warnings with the latest torch. Pull request #50082
- Shipped patch release v5.22.1 to fix the documentation. Release
- Refreshed the quantization docs so the navigation no longer mixes several separate approaches. Pull request #50093
- The docs now build English only, with other languages handled as machine translations. Pull request #50120
- Pull request run-slow comments now surface pre-existing failures alongside new ones. Pull request #50122
- Added a docs bot that checks whether a pull request needs documentation changes and comments only when it does. Pull request #49999
- Generated files are marked as linguist-generated so they collapse in pull request diffs. Pull request #50061
- Pipelines no longer pass
code_revisionto model classes that are not Auto classes. Pull request #50126 - Fixed the p-value computation in WatermarkDetector, which was returning incorrect values. Pull request #50123
Why it matters
This week brought faster imports and cleaner diffs, plus docs work that makes quantization guidance and translated documentation easier to follow. Several fixes target training and distributed setups, including ZeRO-3 initialization for composite models, float32 parameter sharding in FSDP2, and PEFT checkpoint saving on every rank. A patch release also corrected documentation issues.
Changelog entry
- Speed up import transformers by building the package distribution mapping lazily Pull request #50047
- Remove deprecated torch.jit.script usage Pull request #50082
- Patch release v5.22.1 to fix documentation Release
- Refresh the quantization docs navigation Pull request #50093
- Build English docs only, with other languages machine-translated Pull request #50120
- Add a docs bot that comments when a pull request needs documentation Pull request #49999
- Show pre-existing failures in the PR run-slow comment Pull request #50122
- Mark generated files as linguist-generated to collapse them in diffs Pull request #50061
- Stop passing
code_revisionto non-Auto model classes in pipelines Pull request #50126 - Fix WatermarkDetector p-value computation Pull request #50123
- Fix ZeRO-3 init for composite models built via _from_config Pull request #49982
- Shard float32 parameters in their own FSDP2 group Pull request #49501
This week: faster import of transformers via a lazy package mapping, a patch release fixing docs, refreshed quantization docs, and a docs bot that flags pull requests missing documentation.
This week in transformers: the package distribution mapping is now built lazily, speeding up import. A patch release v5.22.1 fixed documentation issues, the quantization docs were refreshed, and English-only docs builds are in place with other languages handled as machine translations. Generated files are now marked as linguist-generated so they collapse in pull request diffs, and run-slow comments surface pre-existing failures next to new ones. Fixes also landed for ZeRO-3 initialization of composite models, float32 parameter sharding under FSDP2, and PEFT checkpoint saving on every rank.
Week of October 19, 2026
What shipped
- The minimum supported Python version is now 3.11, following the end of life of Python 3.10. Pull request #49251
- QuantizedCache gains an FP8 backend alongside its existing backends. Pull request #48677
- NemotronConfig now includes a tensor parallel plan covering q, k, v and up projections. Pull request #48780
- Some imports are deferred so that loading a config or tokenizer no longer pulls in the generation stack up front. Pull request #49663
- Test dependencies are restored for dynamically resolved image processors, fixing image processor tests after the multi-backend refactor. Pull request #49826
- Module tying is fixed for several object detection models and loaders, including grounding dino, dab-detr and rt-detr-v2. Pull request #49827
- Mask2Former now registers
input_projectionsas an nn.ModuleList instead of a plain Python list. Pull request #49703 - An out-of-bounds index in MusicgenMelodySinusoidalPositionalEmbedding is fixed. Pull request #49842
- All ForXXX classes accept a boolean
logits_to_keepmask. Pull request #48825 - The LED and Longformer ONNX-export chunking path replaces a for-loop with unfold. Pull request #46169
Why it matters
This week brings a minimum Python version bump to 3.11, a new FP8 backend for quantized caching and a tensor parallel plan for Nemotron. It also lands a set of correctness fixes across object detection, music generation and encoder-decoder logits processing. Developers should note the Python requirement change and that config and tokenizer loading now import less code, which should make startup lighter.
Changelog entry
- Raise the minimum Python version to 3.11. Pull request #49251
- Add an FP8 backend to QuantizedCache. Pull request #48677
- Add a base tensor parallel plan to NemotronConfig. Pull request #48780
- Defer imports so loading a config or tokenizer no longer pulls in the generation stack. Pull request #49663
- Restore missing test dependencies for dynamically resolved image processors. Pull request #49826
- Fix module tying for several object detection models and loaders. Pull request #49827
- Register
input_projectionsas an nn.ModuleList in Mask2Former. Pull request #49703 - Fix an out-of-bounds index in the MusicgenMelody sinusoidal positional embedding. Pull request #49842
- Accept a boolean
logits_to_keepmask in all ForXXX classes. Pull request #48825 - Replace a for-loop with unfold in the LED and Longformer ONNX-export chunking path. Pull request #46169
- Fix the FourOverSix availability check so the require decorator no longer passes when the package is absent. Pull request #49894
- Fix gemma4 cross imports that broke importing without torch but with PIL. Pull request #49748
This week: minimum Python is now 3.11, QuantizedCache gets an FP8 backend, Nemotron gains a tensor parallel plan, and some imports are deferred so config and tokenizer loading stays lighter. Also several fixes for object detection tying, Mask2Former and MusicgenMelody.
This week in the repository: the minimum supported Python version moves to 3.11 as Python 3.10 reaches end of life. QuantizedCache adds an FP8 backend alongside its existing backends, and NemotronConfig now carries a tensor parallel plan for q, k, v and up projections. Some imports are deferred, so loading a config or tokenizer no longer brings in the generation stack up front. Fixes land for module tying in several object detection models and loaders, input_projection registration in Mask2Former, an out-of-bounds index in MusicgenMelody, and test dependencies for dynamically resolved image processors. All ForXXX classes now accept a boolean logits_to_keep mask.
Week of October 12, 2026
What shipped
- Released v5.20.0 with new model additions including Muse Spark Open. Release
- Released v5.20.1 with the new Beam model from Reflection AI. Release
- Added Muse Spark Open, a multimodal mixture-of-experts model with a 1,048,576 token context window. Pull request #49644
- Added optimizer checkpoint support to FSDP x TP saving and loading. Pull request #49256
- Added model checkpoint saving and loading for TP and FSDP. Pull request #48802
- Added the MOSS-Transcribe-Diarize model. Pull request #48386
- Integrated the UltraBERT architecture. Pull request #49596
- Changed MoE parallel plans so experts are sharded in every TP/EP plan, and added tests for it. Pull request #49206
- Fixed
from_pretrainedon torch 2.7 by requiring torch>=2.8 for distributed checkpointing. Pull request #49652 - Added an AITER kernel fallback for
flash_attention_2on ROCm when the flash-attn package is absent. Pull request #49608
Why it matters
This week brought two releases adding new models and a batch of fixes around distributed training, quantization and device support. People running on ROCm, MPS and XPU, or using MoE, FSDP and TP, get several targeted fixes and docs to match.
Changelog entry
- V5.20.0 released with new model additions including Muse Spark Open. Release
- V5.20.1 released with the new Beam model. Release
- Added Muse Spark Open multimodal mixture-of-experts model. Pull request #49644
- Added MOSS-Transcribe-Diarize model. Pull request #48386
- Integrated the UltraBERT architecture. Pull request #49596
- Added checkpoint saving and loading for TP and FSDP. Pull request #48802
- Added optimizer checkpoints to FSDP x TP saving and loading. Pull request #49256
- MoE parallel plans now shard experts in every TP/EP plan, with tests. Pull request #49206
- From_pretrained on torch 2.7 fixed by requiring torch>=2.8 for distributed checkpointing. Pull request #49652
- Flash_attention_2 falls back to the AITER kernel on ROCm without flash-attn. Pull request #49608
- Kept
enable_expert_parallelas expert parallelism alone. Pull request #49633 - Added a hardware docs section, with a follow-up TPU guide and a template. Pull request #49541
Released v5.20.0 and v5.20.1 with new models including Muse Spark Open and Beam. Also this week: optimizer checkpoints in FSDP x TP, MOSS-Transcribe-Diarize, UltraBERT, and fixes for torch 2.7 loading, MoE sharding and ROCm flash_attention_2.
Two releases this week: v5.20.0 and v5.20.1, adding new models including Muse Spark Open, a multimodal mixture-of-experts model with a context window up to 1,048,576 tokens, and Beam from Reflection AI. Beyond releases, we added model checkpoint saving and loading for TP and FSDP plus optimizer checkpoint support, the MOSS-Transcribe-Diarize model and the UltraBERT architecture. Fixes include from_pretrained on torch 2.7, MoE plans that now shard experts in every TP/EP plan, ROCm flash_attention_2 falling back to the AITER kernel, and a docs hardware section with a TPU guide.
Week of October 5, 2026
What shipped
- Molmo2 architecture added to the repository. Pull request #43451
- PP-DocLayoutV4 model support added. Pull request #48387
- Image decoding moved to torchcodec for improved performance. Pull request #47963
- SubConfigSpec introduced for centralized initialization of subconfigs. Pull request #48282
- Generation cleanup refactored in pipelines. Pull request #49269
- Torch version bumped with guarded checks for
current_accelerator. Pull request #49395 - Hub rotary kernel now used for inference only on CUDA. Pull request #49439
- QuantizedCache residual flushing fixed for multi-token updates. Pull request #49418
- Phi3 LongRoPE cache rebuild fixed at context boundary. Pull request #49361
Why it matters
This week brought new model support with Molmo2 and PP-DocLayoutV4, performance improvements through torchcodec image decoding and optimized kernel selection, and infrastructure enhancements like SubConfigSpec for better configuration management. Numerous bug fixes address generation pipelines, cache handling, and model-specific issues, while CI improvements and torch version bumps maintain code quality and compatibility.
Changelog entry
- Added Molmo2 architecture support Pull request #43451
- Added PP-DocLayoutV4 model support Pull request #48387
- Moved image decoding to torchcodec Pull request #47963
- Introduced SubConfigSpec for centralized subconfig initialization Pull request #48282
- Bumped minimum Torch version with guarded accelerator checks Pull request #49395
- Use Hub rotary kernel for CUDA inference only Pull request #49439
- Fixed QuantizedCache residual flushing for multi-token updates Pull request #49418
- Refactored generation cleanup in pipelines Pull request #49269
- Fixed Phi3 LongRoPE cache rebuild at context boundary Pull request #49361
- Fixed Whisper batch timestamp decoding for tensors Pull request #49419
- Fixed data-dependent branch in causal mask SDPA under compile Pull request #49354
New week, new models: Molmo2 and PP-DocLayoutV4 joined the repo. We improved image decoding with torchcodec, optimized inference kernels, and fixed critical generation and cache bugs.
Transformers shipped big updates this week: Molmo2 and PP-DocLayoutV4 models are now available, image decoding improved through torchcodec integration, and we optimized inference kernels for CUDA. Infrastructure wise, SubConfigSpec centralizes subconfig initialization. Multiple fixes target generation pipelines, quantized caches, and model-specific issues. Torch version bumped for better hardware support.
Week of September 28, 2026
What shipped
- Released version 5.18.0 with new model additions including Nemotron 3 Diarization for speaker identification in audio. Release
- Added GTE model support to the library. Pull request #48416
- Added Trainer.loss_is_scaled_for_ga property to declare whether
compute_lossalready scales for gradient accumulation. Pull request #49240 - Implemented support for per-layer cache configuration. Pull request #48178
- Deprecated the 'paged|' prefix for SDPA and flash attention configurations. Pull request #49112
- Added support for continuous batching in regular attention implementations. Pull request #49101
- Made continuous batching more device-agnostic and added XPU device support. Pull request #49156
- Fixed missing
router_logitsoutput in Qwen3.5-MoE and other mixture-of-experts models. Pull request #49179 - Fixed JSON schema type mapping for bare list, tuple, and dict annotations in
get_json_schema. Pull request #49145
Why it matters
Version 5.18.0 brings new model support and infrastructure improvements for distributed training and attention mechanisms. The addition of per-layer cache configuration and continuous batching support improves inference flexibility and performance. Bug fixes in mixture-of-experts models and distributed training address issues for users deploying these configurations.
Changelog entry
- Release 5.18.0 with Nemotron 3 Diarization and GTE model additions Release
- Add GTE model to Transformers Pull request #48416
- Add Trainer.loss_is_scaled_for_ga to declare gradient accumulation scaling Pull request #49240
- Support per-layer cache configuration Pull request #48178
- Deprecate 'paged|' prefix for SDPA and flash attention Pull request #49112
- Make regular attention support continuous batching Pull request #49101
- Make continuous batching device-agnostic and add XPU support Pull request #49156
- Fix missing
router_logitsin Qwen3.5-MoE and other MoE models Pull request #49179 - Map bare list, tuple and dict annotations to correct JSON schema types Pull request #49145
- Fix
additional_special_tokensdata loss withextra_special_tokensPull request #47848
Transformers 5.18.0 is out! New Nemotron 3 Diarization model, GTE support, per-layer cache config, and improved continuous batching. Plus fixes for MoE and distributed training setups.
Week of September 21, 2026
What shipped
- Added support for Nemotron Omni architecture. Pull request #46509
- Added Nemotron3Diarization model support. Pull request #49056
- Added MLX recipe for Executorch. Pull request #48910
- Added Trainer.end method. Pull request #48875
- Integrated PEFT with Dtensor-based tensor parallelism. Pull request #48485
- Added image processing tester init. Pull request #48829
- Added support for loading GGUF models via Chat CLI. Pull request #49031
- Fixed legacy Gemma 1
hidden_actconfiguration remapping. Pull request #49084 - Fixed exporters import compatibility with torch versions below 2.9. Pull request #49124
- Enabled ROCm flash attention 3 routing and fixture generation for gpt-oss. Pull request #46837
Why it matters
This week includes two new model architectures (Nemotron Omni and Nemotron3Diarization), expanded deployment options through MLX recipes and GGUF support in Chat CLI, and fixes for critical issues across attention mechanisms, configuration handling, and compatibility layers. New trainer functionality and improved device handling strengthen the core training pipeline.
Changelog entry
- Support for Nemotron Omni architecture Pull request #46509
- Support for Nemotron3Diarization Pull request #49056
- MLX recipe for Executorch Pull request #48910
- Trainer.end method Pull request #48875
- PEFT integration with Dtensor-based tensor parallelism Pull request #48485
- GGUF model loading in Chat CLI Pull request #49031
- Image processing tester initialization Pull request #48829
- Fix legacy Gemma 1
hidden_actremapping in config post-init Pull request #49084 - Fix exporters import on torch < 2.9 (
is_contiguous_or_false) Pull request #49124 - ROCm flash attention 3 routing and fixture generation for gpt-oss Pull request #46837
- Use
grouped_mmon TPU devices under torch.compile Pull request #49097 - Preserve eos ids declared in config Pull request #49082
- Fix MaskFormerSwin attention mask dtype to follow hidden states Pull request #49032
- Use namespaced dataset ids in docs and PyTorch examples Pull request #49005
- Fix RGB early-return skipping PNG tRNS compositing Pull request #49092
- Fix NaN in Parakeet eager attention with padded batches Pull request #49070
- Fix mask creation not being skipped under torch.compile Pull request #48975
- Add
use_associative_scanconfig flag to Zamba to avoid torch.compile slowdown Pull request #48331
This week: Nemotron Omni & Nemotron3Diarization support, MLX & GGUF integration, Trainer.end method, PEFT tensor parallelism, plus fixes for attention, configs & compatibility [20,26,10,12,36,33]
Transformers now supports Nemotron Omni and Nemotron3Diarization architectures, expands deployment with MLX recipes and GGUF loading in Chat CLI, introduces Trainer.end for better training control, and ships PEFT integration with Dtensor-based tensor parallelism. This week also includes critical fixes for attention mechanisms, configuration handling, and cross-version compatibility to strengthen both inference and training workflows.