v0.29.0: NUMA affinity control, MLU Support, and DeepSpeed Improvements
accelerate config, set the ACCELERATE_CPU_AFFINITY=1 env variable, or manually using the following:from accelerate.utils import set_numa_affinity
# For GPU 0
set_numa_affinity(0)
Big thanks to @stas00 for the recommendation, request, and feedback during development
set_seed by @muellerzr in https://github.com/huggingface/accelerate/pull/2569BatchSamplerShard by @universuen in https://github.com/huggingface/accelerate/pull/2584notebook_launcher can use multiple GPUs in Google Colab if using a custom instance that supports multiple GPUs by @StefanTodoran in https://github.com/huggingface/accelerate/pull/2561load_checkpoint_in_model behavior when unexpected keys are in the checkpoint by @fxmarty in https://github.com/huggingface/accelerate/pull/2588main_process_ip and master_addr when not using standard as deepspeed launcher by @asdfry in https://github.com/huggingface/accelerate/pull/2495deepspeed, set it with the DS_ENV_FILE environmental variable by @muellerzr in https://github.com/huggingface/accelerate/pull/2566main_process_ip and master_addr when not using standard as deepspeed launcher by @asdfry in https://github.com/huggingface/accelerate/pull/2495load_checkpoint_in_model behavior when unexpected keys are in the checkpoint by @fxmarty in https://github.com/huggingface/accelerate/pull/2588Full Changelog: https://github.com/huggingface/accelerate/compare/v0.28.0...v0.29.0
Fetched April 7, 2026