v1.2.0: Bug Squashing & Fixes across the board
find_executable_batch_size on XPU by @faaany in https://github.com/huggingface/accelerate/pull/3236numpy._core instead of numpy.core by @qgallouedec in https://github.com/huggingface/accelerate/pull/3247data_loader] Optionally also propagate set_epoch to batch sampler by @tomaarsen in https://github.com/huggingface/accelerate/pull/3246accelerate config prompt text by @faaany in https://github.com/huggingface/accelerate/pull/3268align_module_device, ensure only cpu tensors for get_state_dict_offloaded_model by @kylesayrs in https://github.com/huggingface/accelerate/pull/3217get_state_dict_from_offload by @kylesayrs in https://github.com/huggingface/accelerate/pull/3253preload_module_classes is lost for nested modules by @wejoncy in https://github.com/huggingface/accelerate/pull/3248Update code in tracking documentation by @faaany in https://github.com/huggingface/accelerate/pull/3235
Replaced set/check breakpoint with set/check trigger in the troubleshooting documentation by @relh in https://github.com/huggingface/accelerate/pull/3259
Update set-seed by @faaany in https://github.com/huggingface/accelerate/pull/3228
Fix typo by @faaany in https://github.com/huggingface/accelerate/pull/3221
Use real path for checkpoint by @faaany in https://github.com/huggingface/accelerate/pull/3220
Fixed multiple typos for Tutorials and Guides docs by @henryhmko in https://github.com/huggingface/accelerate/pull/3274
align_module_device, ensure only cpu tensors for get_state_dict_offloaded_model by @kylesayrs in https://github.com/huggingface/accelerate/pull/3217find_executable_batch_size on XPU by @faaany in https://github.com/huggingface/accelerate/pull/3236data_loader] Optionally also propagate set_epoch to batch sampler by @tomaarsen in https://github.com/huggingface/accelerate/pull/3246numpy._core instead of numpy.core by @qgallouedec in https://github.com/huggingface/accelerate/pull/3247accelerate config prompt text by @faaany in https://github.com/huggingface/accelerate/pull/3268get_state_dict_from_offload by @kylesayrs in https://github.com/huggingface/accelerate/pull/3253preload_module_classes is lost for nested modules by @wejoncy in https://github.com/huggingface/accelerate/pull/3248checkpoint by @faaany in https://github.com/huggingface/accelerate/pull/3220Release diff: https://github.com/huggingface/accelerate/compare/v1.1.1...v1.2.0
Fetched April 7, 2026