chore(deps): update dependency accelerate to v1.15.0 - #471
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/accelerate-1.x-lockfile
branch
from
September 9, 2026 18:36
684a26f to
b314eef
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:
1.10.0→1.15.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
v1.14.0: : AMD ROCm support, FSDP2 hardeningCompare Source
FSDP2 Improvements
This release brings a large batch of FSDP2 fixes and quality-of-life improvements: correct dtype handling on load, sharding of embeddings/norms, QLoRA crash prevention, and a more robust auto-wrap policy.
AMD ROCm support
Accelerate now works end-to-end on AMD ROCm devices. Thanks @Abdennacer-Badaoui!
Neuron
Further Neuron improvements to reduce recompilation and cover missing device cases.
Quantization & Offloading
We improved offloading support for quantized models, including Torchao, int8, and tied-weight handling.
Data Loading
Minor fixes
Full Changelog: huggingface/accelerate@v1.13.0...v1.14.0
v1.13.0: : Neuron support, IPEX removal, and distributed training fixesCompare Source
AWS Neuron support
We now have support for AWS Neuron (Trainium/Inferentia) devices. Thanks @michaelbenayoun for adding this.
XPU Improvements
We've removed IPEX dependency and improved device-agnostic code for XPU.
#3912
FSDP2 Improvements
We've added a bunch of important fixes for FSDP2 users: upcasting only grad-requiring params, better tied embedding errors, DCP optimizer loading, bf16 optimizer step crash fix, and torch < 2.7.0 compatibility.
DeepSpeed Sequence Parallelism
We've added several fixes to the DeepSpeed + Sequence Parallelism integration introduced in v1.12.0, including evaluation support during SP training and proper process group handling.
FP8
We've enhanced FP8 training. Thanks @shimizust for fixing torchao support.
Performance
Accelerate now imports faster by deferring heavy dependencies, and torch.compile hooks are disabled lazily.
Minor fixes
v1.12.0: : Deepspeed Ulysses/ALSTCompare Source
Deepspeed Ulysses/ALST integration
Deepspeed Ulysses/ALST is an efficient way of training on long sequences by employing sequence parallelism and attention head parallelism. You can learn more about this technology in this paper https://arxiv.org/abs/2506.13996 or this deepspeed tutorial https://www.deepspeed.ai/tutorials/ulysses-alst-sequence-parallelism/.
To enable Deepspeed Ulysses, you first need to create
ParallelismConfigand settingsprelated args:Then, you need to make sure to compute the correct loss as described on our docs
... losses_per_rank = torch.distributed.nn.functional.all_gather(loss, group=sp_group) good_tokens = (shift_labels != -100).view(-1).sum() good_tokens_per_rank = torch.distributed.nn.functional.all_gather(good_tokens, group=sp_group) total_loss = sum( losses_per_rank[rank] * good_tokens_per_rank[rank] for rank in range(sp_world_size) if good_tokens_per_rank[rank] > 0 ) total_good_tokens = sum(good_tokens_per_rank) loss = total_loss / max(total_good_tokens, 1)Thanks @S1ro1 for starting this work and for @stas00 for finishing this work. Also thanks @kashif for adding docs and reviewing/testing this PR !
This feature will also be available in HF Trainer thanks for this PR from @stas00: huggingface/transformers#41832
Minor changes
cpu_ram_efficient_loadingby @SunMarc in #3816New Contributors
Full Changelog: huggingface/accelerate@v1.11.0...v1.12.0
v1.11.0: : TE MXFP8, FP16/BF16 with MPS, Python 3.10Compare Source
TE MXFP8 support
We've added support for MXFP8 in our TransformerEngine integration. To use that, you need to set
use_mxfp8_block_scalinginfp8_config. See nvidia docs [here]. (https://docs.nvidia.com/deeplearning/transformer-engine/user-guide/examples/fp8_primer.html#MXFP8-and-block-scaling)FP16/BF16 Training for MPS devices
BF16 and FP16 support for MPS devices is finally here. You can now pass
mixed_precision = "fp16" or "bf16"when training on a mac (fp16requires torch 2.8 andbf16requires torch 2.6)FSDP updates
The following PRs add respectively support to
ignored_paramsandno_sync()for FSDPv2:Mixed precision can now be passed as a dtype string from accelerate cli flag or
fsdp_configin accelerate config file:Nd-parallel updates
Some minor updates concerning nd-parallelism.
Bump to Python 3.10
We've dropped support for python 3.9 as it reached EOL in October.
Lots of minor fixes:
cpuand offloaded tometaby @Qubitium in #3796within Accelerator.autocast()instead of__enter__()and__exit__()for more elegant style. by @EquationWalker in #3767SWANLAB_MODEby @SunMarc in #3808New Contributors
Full Changelog: huggingface/accelerate@v1.10.1...v1.11.0
v1.10.1: : PatchfixCompare Source
Full Changelog: huggingface/accelerate@v1.10.0...v1.10.1
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.