Repository navigation
chore(deps): update loader dependencies non-major - #291
Merged
Merged
Conversation
| datasource | package | from | to | | ---------- | ------------ | ------ | ------ | | pypi | accelerate | 1.14.0 | 1.15.0 | | pypi | transformers | 5.16.1 | 5.17.0 |
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:
==1.14.0→==1.15.0==5.16.1→==5.17.0Release Notes
huggingface/accelerate (accelerate)
v1.15.0: : FSDP2 activation memory, dtensor improvementsCompare Source
v1.15.0: FSDP2 activation memory, dtensor improvements
FSDP2
A large batch of FSDP2 work this release: two fixes that cut activation memory at long sequence lengths, tied-embedding support on torch >= 2.13, and a round of checkpointing correctness and scale fixes.
Activation checkpointing was wrapping each child of the matched layer (
self_attn,mlp, the norms) instead of the layer itself, so every inter-child activation stayed saved for backward. It now wraps the layer.There's also a new FSDP2-only
activation_checkpointing_offload, which moves the remaining per-layer checkpoint inputs to pinned CPU memory. Gradients are exactly those of plain activation checkpointing:activation_checkpointing_offload: offload checkpointed layer inputs to pinned CPU memory by @qgallouedec in #4175FULL_STATE_DICTdropping every rank's adapter shard except rank 0 by @AmineDiro in #4206DTensor
Two fixes for DTensor-sharded models, which you hit with FSDP2, tensor parallelism, or any N-D parallelism setup: gradient clipping no longer fails on the
foreachop when plain tensors and DTensors are mixed, andprepare_modelleaves an already-sharded model where it is:Offloading & Quantization
An entire model can now be dispatched to disk, including tied weights — useful for tools like
llm-compressorthat compress large models on machines that can't hold them:Trackers
Custom trackers can be registered by name and then selected from
log_with=like any built-in one:Device support
Neuron gains a torch dynamo backend (so
--torch-compileworks with the Transformers Trainer) and MPS is now reported and handled properly byaccelerate envandfind_executable_batch_size.neuronbackend for torch dynamo by @michaelbenayoun in #4097accelerate envby @xquantize in #4158CLI
estimate-memoryfor timm>=1.0.29 by adding thehf-hub:prefix by @iamsharduld in #4213Minor fixes
New Contributors
Full Changelog: huggingface/accelerate@v1.14.0...v1.15.0
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](https://rConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate CLI.