Migrating to Accelerate v1.9.0
Version v1.9.0 introduces 1 breaking change. This guide details how to update your code.
Released: 7/16/2025
1
Breaking Changes
2
Migration Steps
4
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
Acceleratorfind_executable_batch_size()set_module_tensor_to_deviceno_sync()Breaking Changes
●Issue #1
The behavior of `find_executable_batch_size()` has changed: it will no longer halve the batch size after an Out-Of-Memory (OOM) error. Instead, it will multiply the batch size by 0.9 as the default back-off strategy.
Migration Steps
- 1If you rely on `find_executable_batch_size()` and were expecting the batch size to be halved on OOM, update your expectations as it now uses a 0.9 multiplier.
- 2To use trackio, initialize the accelerator with `accelerator = Accelerator(log_with="trackio")` and call `accelerator.init_trackers()` with appropriate arguments, including `init_kwargs` if hosting the dashboard on Spaces.
Release Summary
This release introduces native support for the trackio experiment tracking library and includes significant speedups for model loading, alongside various minor improvements and fixes for FSDP and DeepSpeed configurations.
Need More Details?
View the full release notes and all changes for Accelerate v1.9.0.
View Full Changelog