- 10 min read
- 6 sources cited
- For Developers, AI makers, AI enthusiasts
Overview
Three Hugging Face releases form a sequence in the record. The earliest is patch v5.22.1, described in the release note as a documentation fix: the only listed change is removal of a work-in-progress document for ML4 (PR #50124), credited to @remi-or. The release note says "We just had to fix the documentation!". Two duplicate entries cover this release and agree on the single change; the exact release date is not given on the page, which shows a retrieval date of 2026-11-18.
Patch v5.22.2 followed, described as an interim patch for security and distributed fixes, with two listed commits: setting device_id only for NCCL in distributed runs (PR #50281) and hardening Jinja sandboxing (PR #50431). The two entries agree on both items. The v5.22.2 page also contains a GitHub interface loading error in the captured text, so the visible commit list may not be complete.
Feature release v5.23.0 came next, adding model support and internal changes. New model additions include Inkling 2 Small, a multimodal model from Thinking Machines Lab with a 48-layer mixture-of-experts backbone routing each token to 8 of 384 experts, for 594B total and 17B active parameters; the experimental JEV decision head; the LFM3 text family; Dots 3 Note Preview; LFM3-VL; IQuest-Coder-V1 in 7B, 14B and 40B sizes; and InternLM3 8B. The two entries agree on the Inkling 2 Small architecture description, with the fuller entry adding the other model and infrastructure changes.
Two Hugging Face articles sit outside the release sequence. One describes an experimental Transformers path that streams mixture-of-experts expert weights from SSD into a bounded device cache, and reports that streaming experts directly from SSD came within 6% of the Strata inference engine on token generation. The two entries agree on that headline figure; the fuller entry also reports the author's own token-rate measurements and the mechanics of the implementation. The other article introduces Model Integration Contracts, a proposed standard for packaging shrunk model fixtures with runnable usage paths and human-reviewed baselines. A second entry for it contains only the title and no additional body text.
A separate media commentary discusses OpenAI's GPT-6 Astra, looped transformers and recurrent depth, and whether Astra hides its chain-of-thought reasoning trace; it offers framing and impressions without concrete specifications or results. It carries no verifiable technical information and does not bear on the release sequence.
Why it matters
For most users, v5.22.1 changes nothing functional: its only listed item is a documentation removal. The two patches that carry operational weight are in v5.22.2.
Distributed training and inference teams face the device_id change. Setting device_id only for NCCL narrows a configuration option, so code relying on that setting with other distributed backends may need adjustment. The release note does not enumerate which backends previously accepted it or describe the affected code paths.
Teams that render templates through Transformers are the plausible audience for the Jinja sandbox hardening. That connection is an inference from the change's name; the release note gives no vulnerability detail and no severity rating, so what the previous behavior permitted and how exploitable it was is unknown.
Developers adopting the new model families in v5.23.0 get loadable architectures and, for several of them, the automatic classes and configuration classes they need, but support for a model type does not establish model quality. The JEV decision head and its decision pipeline are explicitly marked experimental, with APIs, configuration and behavior subject to change and a caution against production use.
Teams planning an upgrade face a checklist of breaking internal changes in v5.23.0, detailed below.
Context
Transformers is Hugging Face's model-definition framework for text, vision, audio and multimodal models, used for both inference and training.
The three releases differ in kind. v5.22.1 is documentation-only. v5.22.2 is an interim patch described as carrying security and distributed fixes. v5.23.0 is a feature release that combines model additions with internal changes flagged in the notes as breaking or notable.
The v5.23.0 additions span several architectures. Inkling 2 Small accepts text and image inputs and generates text outputs, using a Perception Encoder-based vision transformer that projects one embedding per 40x40-pixel patch into the language model embeddings. Dots 3 Note Preview is a mixture-of-experts causal language model that accepts native text, image, video and audio inputs through a shared vision encoder and a Whisper-style audio encoder, with BF16 and FP8 inference supported. LFM3-VL takes images and videos at native resolution with text, using a hybrid vision encoder and the LFM3 language model. The LFM3 text family uses a hybrid architecture of gated short convolutions with grouped-query attention, mixing full-attention and sliding-window layers. IQuest-Coder-V1 and InternLM3 8B both use Llama-compatible architectures, so the auto classes load them with the Llama implementation and only their configuration classes are specific to each.
Two pieces of background explain the work behind these releases. On local inference, Hugging Face's article compares how llama.cpp, vLLM and Transformers place and compute mixture-of-experts weights when a model does not fit in memory: llama.cpp can keep experts on CPU and compute them there so only activations cross PCIe, which works well while the experts fit in RAM but causes page-cache thrashing when they do not; vLLM's CPU-offload reads weights in place over PCIe with no disk tier, and hot experts are re-read per token; the Transformers Accelerate path offloads one module at a time, copying a layer's whole expert bank for every token, with no cache or routing awareness.
On testing, the Model Integration Contracts article reports that Transformers supports more than 750 model types, with 88,000+ CPU tests on main and 200,000+ GPU tests in a daily run. Integration tests that load real checkpoints are scheduled rather than run on every pull request, because a scheduled run can find a regression after it has already reached main.
Known, claimed, inferred
The release notes mark a set of changes as breaking or notable, and each affects a different group of users.
ep_routerexpert-parallel style removed — teams using that style for expert parallelism need to migrate to the remaining implementation paths.- MXFP4 GPT-OSS experts routed through
ep_dispatch_experts— teams on MXFP4 GPT-OSS with expert parallelism need to check that their configuration still selects the right path. - DeepGEMM Mega MoE expert-parallel implementation added — users of that DeepGEMM path move to the new implementation.
- librosa and phonemizer removed from the audio dependency set — audio pipelines relying on those packages must provide them separately or change their preprocessing.
Wav2Vec2ProcessorWithLMand pyctcdecode/kenlm LM decoding deprecated — speech-recognition code using those decoding paths needs a replacement before removal.- Processing defaults moved to the class — code relying on the previous default-resolution behavior needs adjustment.
- Rope deltas dropped from
ModelOutput— code reading rope deltas from model outputs needs another source. - Mac serve-path attention update, marked breaking — users serving from macOS need to revalidate attention behavior.
- Kernels version bump — users on pinned kernel versions need to check compatibility.
The MoE streaming result, stated once with its provenance. The article's headline claim is that streaming MoE experts directly from SSD gets within 6% of Strata on token generation. The supporting numbers are the author's own measurements on his hardware, not a published third-party test: a first implementation with an LRU cache and a Python loop running one expert at a time reached 10.1 tok/s against about 32 tok/s for vanilla Transformers, and the slot-pool version reached 34.6 tok/s against 38.1 tok/s for vanilla. The comparison models in the article's offloading experiments are Qwen3.6-35B-A3B on one A10G. The stated target of running 121 GB of experts on a 32 GB Mac, and the token rate it would produce, are not shown in the available text.
An inference about release cadence. The pattern of a documentation-only patch, then a targeted security and distributed patch, then a feature release suggests that narrow patches carry specific fixes between larger feature versions, rather than that each patch is a meaningful upgrade on its own. This is a reading of the release structure rather than a stated release policy.
What to watch. The open questions are concrete: whether the expert-streaming loader in pull request #50717 reaches a stable release, whether transformers-mic is adopted or merged into the Transformers repository, and whether the v5.23.0 exporter API and new model additions are accompanied by migration notes in later releases. Until then, users are left to infer upgrade steps from release-note item lists.
Opportunities
The slot-pool design in the expert-streaming loader is worth studying as a mechanism. It turns the cache into one preallocated device tensor shared by all layers, plus a per-layer table mapping expert id to slot. Remapping the router's expert ids to slots makes the pool look like a regular expert bank, so the existing grouped_mm kernel runs on it unchanged and no custom expert matmul is needed.
The exporter round trip is a concrete integration pattern. Every export now returns an ExportedModel that you call like the original model, with the same kwargs and output class, then push to the Hub and load back on the backend's own runtime; the same API covers Dynamo, ONNX Runtime, OpenVINO and ExecuTorch. The practical consequence is one export interface and one artifact type, with the backend chosen at load time rather than at export time.
The fixture-plus-baseline pattern is a workable CI design. A Model Integration Contract pairs a pinned shrunk fixture with a runnable Markdown usage path and human-reviewed baselines, and CI selects contracts based on the files a patch changes. The reported cost is modest: the experimental UMT5 fixture used 66 MB of weights against a 1,227 MB source checkpoint, and the selected T5 contract's runner step took 13.4 seconds on CPU, excluding setup.
Risks
The streaming loader is a pull-request install with no confirmed stable release. It was exposed as an option of from_pretrained in pull request #50717, with a model-specific package and Metal kernels, and the code was published in a Space named tarekziade/moe-expert-streaming. The author states that all of the code, including the Transformers pull request, the model-specific package and the Metal kernels, was built with AI.
Fixtures have structural limits as regression detectors. A fixture only helps if it goes through the same code as the real checkpoint: the UMT5 contract used SDPA, the default attention path, and running only the eager attention variant missed the bug. A contract also covers an architecture and a usage path rather than a single checkpoint, with compatible checkpoints sharing a fixture while each keeps its own expected results. The article states that fixtures will not replace full integration tests.
Local mixture-of-experts inference can be possible yet impractical. The article describes a Strata-based configuration running at 13.5 tok/s, which the author considered too slow for coding-agent use, and reports vLLM offload configurations under 1 tok/s in the author's Qwen3.6-35B-A3B comparisons on one A10G. The author also judged that the stated target was unlikely to reach the speed he wanted, and expected the work to stay too slow for his own use.
Upgrading to v5.23.0 is not a drop-in operation for every codebase. The breaking and notable internal changes are listed below.
Newly supported models carry unresolved deployment questions. No licensing, model-usage or data-provenance terms are stated for the added model families, for the proposed contract format or for the streaming code.
Limitations & uncertainties
No migration guide or upgrade-specific changelog is provided for either the v5.22.1 to v5.22.2 step or the upgrade to v5.23.0; the available material is limited to the release-note item lists.
Licensing, model-usage and data-provenance terms are not stated for the newly added model families, for the proposed contract format or for the streaming code.
The streaming loader remains a pull-request install, and its stable-release status is unknown.
The article describes transformers-mic as a proposed standard and says contracts are published in the huggingface-mic space, but does not say whether it has been formally adopted or merged into the Transformers repository.
The release notes do not describe the vulnerability or severity behind the Jinja sandbox hardening, and do not enumerate the distributed backends affected by the device_id restriction.
The exact release date of v5.22.1 is not stated in the release material.
Evidence & sources
- 1huggingface/transformers Patch release v5.22.1●github.comretrieved Nov 18, 2026
- 2huggingface/transformers Patch release v5.22.2●github.comretrieved Nov 18, 2026
- 3huggingface/transformers Release v5.23.0●github.comretrieved Nov 18, 2026
- 4180B Parameters, 32GB of RAM: Pushing MoE Inference to the Limit with Transformers●huggingface.coretrieved Nov 18, 2026
- 5Transformers Model Integration Contracts●huggingface.coretrieved Nov 18, 2026
- 6GPT-6 Astra, Looped Transformers, and Hidden Reasoningmagazine.sebastianraschka.comretrieved Nov 18, 2026
Updates & corrections
- First published
Found an error? Report it.