v0.32.0: Profilers, new hooks, speedups, and more!
huggingface_hub rather than our own implementation (https://github.com/huggingface/accelerate/pull/2795)dispatch_model (https://github.com/huggingface/accelerate/pull/2855)Accelerator.step number is now restored when using save_state and load_state (https://github.com/huggingface/accelerate/pull/2765)import accelerate and any other major core import by 68%, now should be only slightly longer than doing import torch (https://github.com/huggingface/accelerate/pull/2845)get_backend and added a clear_device_cache utility (https://github.com/huggingface/accelerate/pull/2857)allreduce. (https://github.com/huggingface/accelerate/pull/2841)log_line_prefix_template optional the notebook_launcher (https://github.com/huggingface/accelerate/pull/2888)accelerate merge-weights, one will be automatically created (https://github.com/huggingface/accelerate/pull/2854).safetensors (https://github.com/huggingface/accelerate/pull/2853)torch>=2.4 (https://github.com/huggingface/accelerate/pull/2825)@require_triton test decorator and enable test_dynamo work on xpu (https://github.com/huggingface/accelerate/pull/2878)load_state_dict not working on xpu and refine xpu safetensors version check (https://github.com/huggingface/accelerate/pull/2879)accelerate launch (https://github.com/huggingface/accelerate/pull/2902)dispatch_model by @panjd123 in https://github.com/huggingface/accelerate/pull/2855test_tracking.ClearMLTest by @faaany in https://github.com/huggingface/accelerate/pull/2863torch_device instead of 0 for device check by @faaany in https://github.com/huggingface/accelerate/pull/2861test_zero3_integration by @faaany in https://github.com/huggingface/accelerate/pull/2864log_line_prefix_template Optional in Elastic Launcher for Backward Compatibility by @yhna940 in https://github.com/huggingface/accelerate/pull/2888require_triton and enable test_dynamo work on xpu by @faaany in https://github.com/huggingface/accelerate/pull/2878load_state_dict for xpu and refine xpu safetensor version check by @faaany in https://github.com/huggingface/accelerate/pull/2879Full Changelog: https://github.com/huggingface/accelerate/compare/v0.31.0...v0.32.0
Fetched April 7, 2026