Repository navigation
New Model additions
Qwen4
Qwen4 is a model that combines Gated DeltaNet and Qwen Sparse Attention with GatedResidual connections and a dense SwiGLU feed-forward network. In Hugging Face Transformers, Qwen4ForCausalLM handles text generation, and Qwen4ForConditionalGeneration handles image and video inputs. The documentation shows usage with the Qwen/Qwen4-27B checkpoint.
Links: Documentation
Qwen4 MoE
Qwen4 MoE uses the mixture-of-experts and per-layer embedding architecture described in Qwen4-Exp. Qwen4MoeForCausalLM handles text generation, and Qwen4MoeForConditionalGeneration handles image and video inputs. The documentation gives no further detail on the model's capabilities, training, or sizes.
Links: Documentation
Molmo3
Molmo3 is a family of open vision-language models from the Allen Institute for AI (Ai2), focused on spatial and 3D understanding and grounding. It accepts single images, multiple images and videos. It uses the Molmo2 architecture: a SigLIP 2-initialized vision transformer, an adapter that pools patch features into image tokens, and a Qwen3-initialized text decoder. A grounding head, introduced by MolmoPoint, generates grounding tokens instead of text coordinates. With it, the model can point to objects in images and videos, track objects in videos, segment objects, estimate depth or surface normals at a point, and predict 3D boxes.
Links: Documentation | Paper
WeatherNext 2
Links: Documentation
Liquid Codec
Liquid Codec is the speech codec of LFM3-Audio by Liquid AI. It converts 24 kHz audio into 12 codebooks of 2016 codes at 12.5 Hz and decodes the codes back to audio. It consists of a causal LFM3 encoder, a finite scalar quantizer, and a causal LFM3 decoder followed by an inverse STFT head that synthesizes the waveform. It supports batched processing with right padding and streaming decoding.
Links: Documentation
Breaking changes
- 🚨 [PR3] [Modular Cleanup] *RotaryEmbedding canonical parents and renaming (#50537) by @itazap
- 🚨 [
Indexer] Refactor Indexers (#51202) by @vasqu
Kernels
This release updates Hub kernel integrations and compatibility: it moves to mamba-ssm v6 and flash-attn4 v2 (which no longer need pip-installed einops), fixes the sonic-moe revision/version, and adjusts kernels that didn't meet Transformers' standards. It also re-enables the Atlas Gated DeltaNet kernels for Qwen3.5/3.6/3.8 on GB10 and Strix Halo, now that
- [Atlas Inference] Re-enable the Atlas GDN hub kernels cache rename and backward fixed (#51665) by @AzeezIsh in [#51665]
- [
kernels] fix sonicmoe revision/version (#51647) by @vasqu in [#51647] - [
Kernels] Adjust kernels compat (#51621) by @vasqu in [#51621] - [kernels] Use mamba-ssm v6 and flash-attn4 v2 (#51587) by @kashif in [#51587]
Attention
This release fixes several attention-related issues. The deferred generate check is now handled correctly for linear attention and encoder-decoder models, which keeps them compatible with the default cudagraphs compile config. Flash Attention is re-enabled for Gemma 4 checkpoints that don't use bidirectional attention over images (E2B and E4B), and still raises an error for those that do. Flash Attention also no longer drops queries in non-causal cross-attention when the keys are
- Fix deferred generate check for linear attention & encoder-decoder models (#51675) by @Cyrilvallez in [#51675]
- Allow Flash Attention for Gemma 4 checkpoints without bidirectional attention over images (#51558) by @albertvillanova in [#51558]
- Flash attention: keep every query in non-causal cross-attention with padded keys (#51280) by @arywk40-hue in [#51280]
Bugfixes and improvements
- Add mtp (#51701) by @vasqu in [#51701]
- Experts: per-expert post norms through
_apply_post_expert_norm, Ergo on the stock experts backends (#51615) by @IlyasMoutawwakil in [#51615] - Left-pad prompts in the SmolVLM mixed-batch example (#51686) by @stefanielizeth73-art in [#51686]
- Fix export after the indexer refactor (#51687) by @IlyasMoutawwakil in [#51687]
- [docs] Fix the code blocks in the video classification guide (#51534) by @AlexxRussell in [#51534]
- [CI] Update team members for the daily CI new-failure report (#51691) by @ydshieh in [#51691]
- [serge] Fix 2 integration tests regressed by commit 52bac5d (PR #50897) (#51660) by @sergereview[bot] in [#51660]
- OpenVINO exporter: keep rms_norm, col2im and repeat_interleave whole on OpenVINO 2026.5 (#51674) by @IlyasMoutawwakil in [#51674]
- [docs] Native FSDP2 (#51649) by @stevhliu in [#51649]
- Bump doc-builder workflow (#51641) by @stevhliu in [#51641]
- AMD Radeon R9700 CI: report to production channel + dataset (#51676) by @Abdennacer-Badaoui in [#51676]
- AMD CI: add Radeon AI Pro R9700 (gfx1201) lane (#51583) by @Abdennacer-Badaoui in [#51583]
- Add config defaults checker in repo consistency (#51366) by @zucchini-nlp in [#51366]
- Continuous batching: fill the host block table through numpy (#51358) by @qgallouedec in [#51358]
- Fix Gemma3n sparse MLP synchronization in eager CUDA inference (#51077) by @hlin99 in [#51077]
- [ALM] allow inputs_embeds + input_features (#51492) by @eustlb in [#51492]
- Fix the Mistral 3 batched inference examples (#51591) by @AyhamJo7 in [#51591]
- [docs] Fix undefined names in the task guide code blocks (#51582) by @AlexxRussell in [#51582]
- Fix activate_past_recording default value (#51640) by @Cyrilvallez in [#51640]
- [tests_fetcher] Trigger processor tests of models using another model's preprocessor via the auto mappings (#51624) by @ydshieh in [#51624]
- Keep packed sequences apart in the Qwen3.8-Flash-Next n-gram shift (#51576) by @albertvillanova in [#51576]
- OpenVINO exporter: fix exports on OpenVINO 2026.5 (#51584) by @IlyasMoutawwakil in [#51584]
- Fix Gemma 4 per-layer inputs under tensor parallelism (#51566) by @dacorvo in [#51566]
- Fix shared mutable defaults in SubConfigSpec (#51616) by @sushmanthreddy in [#51616]
- FIX (#51623) by @zucchini-nlp in [#51623]
- Fix device movement (#51622) by @Cyrilvallez in [#51622]
- fix scaling once and forever (#51609) by @zucchini-nlp in [#51609]
- Refresh Ergo chat fixtures for the released tool schema (#51598) by @younggyoseo in [#51598]
- Fix TimesFM's ONNX export comparison for fully padded patches. (#51610) by @sywangyi in [#51610]
- Fix video
smart_resizeto compute the pixel budget with padded frame counts (#51155) by @11098489 in [#51155] - Sum the MoE experts' top-k outputs without a float32 copy of all rows (#51491) by @eilamc14 in [#51491]
- cohere processor fix (#51254) by @ebezzam in [#51254]
- Update dev (#51586) by @vasqu in [#51586]
Significant community contributions
The following contributors have made significant changes to the library over the last release: