Migrating to Accelerate v1.3.0
Version v1.3.0 introduces 1 breaking change. This guide details how to update your code.
Released: 1/17/2025
1
Breaking Changes
0
Migration Steps
6
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
unwrap_modelextract_model_from_parallelload_state_dictxla.spawn_init_infer_auto_device_maptorch.xpu.mem_get_infoBreaking Changes
●Issue #1
Accelerate now requires PyTorch 2.0 or higher as the minimum version. Users on older PyTorch versions must upgrade to PyTorch 2.0+ to use this release.
Release Summary
This release enforces PyTorch 2.0 as the minimum required version and introduces improvements for handling compiled models, TPU execution, and various bug fixes across device support and offloading.
Need More Details?
View the full release notes and all changes for Accelerate v1.3.0.
View Full Changelog