chore(deps): Update dependency transformers to >=5.17.0 - autoclosed - #1441
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/transformers-5.x
branch
5 times, most recently
from
September 15, 2026 23:22
f5d8d9f to
3d36d45
Compare
renovate
Bot
force-pushed
the
renovate/transformers-5.x
branch
from
September 16, 2026 09:11
3d36d45 to
af1ede2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=5.16.1→>=5.17.0Release Notes
huggingface/transformers (transformers)
v5.17.0: Release 5.17.0Compare Source
Release v5.17.0
New Model additions
HYV4
Hy4-Preview is a 780B-parameter mixture-of-experts language model that activates 49B parameters per
token. Each MoE layer holds 256 routed experts plus one always-active shared expert and routes every
token to 8 of them. The context window is 1M tokens.
The architecture combines four features:
(
kv_lora_rank) thatkv_b_projexpands back to one key/value per query head.index_topkkeys per query with a lightweight indexer.Following IndexShare, only the layers marked
"full"in
indexer_typesrun an indexer;"shared"layers reuse the previous full layer's selection.in the softmax and contributes no value, as in GPT-OSS.
hc_multparallelresidual streams that are collapsed before, and redistributed after, every sublayer.
The implementation does not execute the multi-token prediction (MTP) layers. Released checkpoints
keep those weights so that other runtimes can use them for speculative decoding; they are ignored
at load time.
Links: Documentation
VibeVoice
VibeVoice is a novel framework for synthesizing high-fidelity, long-form speech with multiple speakers by employing a next-token diffusion approach within a Large Language Model (LLM) structure. It's designed to capture the authentic conversational "vibe" and is particularly suited for generating audio content like podcasts and multi-participant audiobooks.
Links: Documentation
NeoMME
NeoMME is a family of efficient 260M and 800M parameter multimodal-native multilingual foundation encoders from H Company. It processes multilingual text tokens and raw image patches in a single bidirectional Transformer encoder, without a separately pretrained vision tower or causal language model.
NeoMME-Retriever is a model fine-tuned from the NeoMME backbone for visual document retrieval with joint late-interaction and dense objectives. It takes text queries and documents (text or page screenshots) and produces multi-vector embeddings for MeanMaxSim scoring (late-interaction) and mean-pooled embeddings for cosine similarity (dense).
Links: Documentation
Fun-ASR-Nano
Fun-ASR-Nano is an 800M-parameter end-to-end speech recognition model developed by Alibaba DAMO Academy's FunAudioLLM team. It achieves state-of-the-art performance on Chinese, English, and Japanese ASR benchmarks while being significantly smaller than comparable models.
Key features are
Links: Documentation
KimiLinear
Kimi Linear is a hybrid linear attention architecture from Moonshot AI, introduced in
Kimi Linear: An Expressive, Efficient Attention Architecture.
At its core is Kimi Delta Attention (KDA), a refinement of Gated DeltaNet
that gives each key channel its own forget gate, so the recurrent state decays per channel instead of per head. KDA is
used in most layers; every fourth layer keeps a full-attention block that reuses DeepSeek-V3's Multi-head Latent
Attention (MLA), and the feed-forward blocks are DeepSeek-V3-style MoE with a shared expert.
Links: Documentation
Canary
Canary-1B-v2, a fast, robust multilingual model for Automatic Speech Recognition (ASR) and Speech-to-Text Translation (AST):
Canary reuses the Fast Conformer encoder from Parakeet (loaded through [
ParakeetEncoder] / [ParakeetEncoderConfig]) and pairs it with a Transformer decoder that uses fixed sinusoidal positional embeddings, cross-attention to the encoder outputs and tied input/output embeddings. The task is selected through a decoder prompt prefix built by [CanaryProcessor] of the form<|startofcontext|> <|startoftranscript|> <|emo:undefined|> <source_lang> <target_lang> <pnc|nopnc> <|noitn|> <|notimestamp|> <|nodiarize|>, wheresource_lang == target_langselects transcription and otherwise selects translation.Links: Documentation
NeuCodec
The NeuCodec model was proposed in Finite Scalar Quantization Enables Redundant and Transmission-Robust Neural Audio Compression at Low Bit-rates.
NeuCodec is a neural audio codec extending on XCodec2. It takes advantage of the following features:
Links: Documentation
Breaking changes
Vision rotary embeddings (2D/3D) have been standardized into a unified RoPE frequency computation module, so users with custom vision models relying on attention-layer-level or model-specific RoPE grid interleaving logic must migrate to the new centralized
modeling_rope_utils.pyimplementation.Generation
Generation improvements include a performance optimization that avoids unnecessary accelerator synchronization on every decode step (reducing per-step overhead), and a fix to prevent unconditional downloading of remote hub files during generation. Several correctness fixes were also applied, including enforcing auto-compile cache checks for encoder-decoder models, standardizing
past_key_valuesnaming in AfMoE, and resolving flaky export and integration test failures.Generate] Avoid unconditionally downloading remote hub file (#48620) by @vasqu in [#48620]generationfailing withoutput_mismatch(list output differs (4)) (#48133) by @sergereview[bot] in [#48133]Cache
Fixed several cache-related bugs, including a quantized cache issue in VibeVoice, incorrect rejection of non-static cache implementations in VoxtralRealtime, missing auto-compile cache checks for encoder-decoder models, and a silent failure when paged attention is called without a cache. Documentation was also updated to clarify
ContinuousBatchingConfigusage and sliding window model limitations.Kernels
Kernel support was improved with fixes for nested FLA kernel imports when only
fla-coreis installed, a warning when hub-kernel functions silently fall back to slower pure-PyTorch reference implementations, and the ability to register standalone functions (e.g., RoPE) inKernelConfigwith optional non-inheritance of default mappings. Additional fixes include corrected repository paths for ESMFold2 kernels and updated documentation forKernelConfigcustomization.Kernels] Enable functions into kernels registry and allow non inheritance (#48443) by @vasqu in [#48443]Quantization
Fixed several quantization bugs, including a quant cache issue in VibeVoice, incorrect FP8 embedding handling for Qwen models, missing FP8 tensor parallelism layer overrides, and unnecessary MXFP4 weight dequantization on XPU devices.
Bugfixes and improvements
shift_labelsin decoder-only LLM/VLM losses (#48493) by @qgallouedec in [#48493]generate_flagsparsing intransformers chat(#48597) by @SunMarc in [#48597]distogram_headin fp32 as well (#48488) by @kaixuanliu in [#48488]supports_context_paralleltoPreTrainedModel(#48442) by @qgallouedec in [#48442]glm4_moefailing withOOM(other (2)) (#48551) by @sergereview[bot] in [#48551]nemotronfailing withimport_or_config(other (2)) (#48582) by @sergereview[bot] in [#48582]83d46aa(PR #47625) (#48580) by @sergereview[bot] in [#48580]kosmos2failing withimport_or_config(other (2)) (#48552) by @sergereview[bot] in [#48552]layer_idxin Gemma3/Gemma4create_masks_for_vision_model(#48482) by @jiqing-feng in [#48482]Qwen 3.5 Moe] Fix decorators (#48436) by @vasqu in [#48436]fsmtfailing withoutput_mismatch(tensor values differ (2)) (#48496) by @sergereview[bot] in [#48496]Qwen4 Exp] Use partial to avoid skipping mask more easily (#48456) by @vasqu in [#48456]bd95093(PR #47493) (#48426) by @sergereview[bot] in [#48426]cwmfailing withimport_or_config(other (2)) (#48414) by @sergereview[bot] in [#48414]hyperclovaxfailing withother(other (2)) (#48440) by @sergereview[bot] in [#48440]seamless_m4t_v2failing withother(other (6)) (#48425) by @sergereview[bot] in [#48425]check_failed_testsjob (#48391) by @ydshieh in [#48391]test_small_model_integration_test_batchexpected output (value drift) (#48376) by @ydshieh in [#48376]safe_openmmap memory exhaustion on Windows by usingpreadbackend (#48341) by @eryk-roch in [#48341]CI] Unblock fast CI for now (failing tests) (#48344) by @vasqu in [#48344]Significant community contributions
The following contributors have made significant changes to the library over the last release:
check_failed_testsjob (#48391)test_small_model_integration_test_batchexpected output (value drift) (#48376)Configuration
📅 Schedule: (in timezone Europe/Vienna)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.