Accelerate

Latest version: v1.5.2

Safety actively analyzes 722032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 18

0.2.1

Fix a bug preventing the load of a config with `accelerate launch`

0.2.0

SageMaker launcher

It's now possible to launch your training script on AWS instances using SageMaker via `accelerate launch`.

- Launch script on SageMaker 26 (philschmid )
- Add defaults for compute_environmnent 23 (sgugger )
- Add Configuration setup for SageMaker 17 (philschmid )

Kwargs handlers

To customize how the different objects used for mixed precision or distributed training are instantiated, a new API called `KwargsHandler` is added. This allows the user to pass along the kwargs that will be passed to those objects if used (and it is ignored if those are not used in the current setup, so the script can still run on any kind of setup).

- Add KwargsHandlers 15 (sgugger )

Pad across processes

Trying to gather tensors that are not of the same size across processes resulted in a process hang, a new method `Accelerator.pad_across_processes` has been added to help with that.

- Add utility to pad tensor across processes to max length 19 (sgugger )

Various bug fixes

- added thumbnail 25 (philschmid )
- Cleaner diffs in README and index 22 (sgugger )
- Use proper size 21 (sgugger )
- Alternate diff 20 (sgugger )
- Add YAML config support 16 (sgugger )
- Don't error on non-Tensors objects in move to device 13 (sgugger )
- Add CV example 10 (sgugger )
- Readme clean-up 9 (thomwolf )
- More flexible RNG synchronization 8 (sgugger )
- Fix typos and tighten grammar in README 7 (lewtun )
- Update README.md 6 (voidful )
- Fix TPU training in example 4 (thomwolf )
- Fix example name in README 3 (LysandreJik )

0.1.52

**Full Changelog**: https://github.com/Chris-hughes10/pytorch-accelerated/compare/v0.1.51...v0.1.52

0.1.51

What's Changed
* Wsd scheduler by Chris-hughes10 in https://github.com/Chris-hughes10/pytorch-accelerated/pull/67


**Full Changelog**: https://github.com/Chris-hughes10/pytorch-accelerated/compare/v0.1.50...v0.1.51

0.1.50

What's Changed
* Add functionality to save and restore scheduler state by Chris-hughes10 in https://github.com/Chris-hughes10/pytorch-accelerated/pull/62
* Update accelerate to 1.2.1 by Chris-hughes10 in https://github.com/Chris-hughes10/pytorch-accelerated/pull/63
* Trainer step modification by Chris-hughes10 in https://github.com/Chris-hughes10/pytorch-accelerated/pull/64
* Add capability to perform intermediate evaluation during training loop by Chris-hughes10 in https://github.com/Chris-hughes10/pytorch-accelerated/pull/65
* update docs by Chris-hughes10 in https://github.com/Chris-hughes10/pytorch-accelerated/pull/66


**Full Changelog**: https://github.com/Chris-hughes10/pytorch-accelerated/compare/v0.1.48...v0.1.50

0.1.49

- Nothing changed but the PyPI upload broke due to old credentials for the previous release and a new release is the easiest fix

Page 11 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.