pypi accelerate 0.16.0
v0.16.0: Improved and Interactive Documentation, DataLoader Improvements

latest releases: 1.1.1, 1.1.0, 1.0.1...
22 months ago

New code exploration doc tool

A new interactive tool has been introduced to the documentation to help users quickly learn how to utilize features of the framework before providing more details on them as shown below:
image

Not only does it provide a code diff, but it also includes an explanation and links to more resources the user should check out to learn more:

image

Try it out today in the docs

Skip batches in dataloaders

When resuming training, you can more efficiently skip batches in your dataloader with the new skip_first_batches function (also available as a method on your Accelerator).

DeepSpeed integration enhancements:

A new ZeRO-3 init context manager is added to provide granular control to users in situations involving nested/multiple models. Refactoring of DeepSpeed Config file support to remove ambiguity between it and Accelerate config.

Adding support for auto entries in the DeeSpeed config file to be filled via the accelerate launch command. Try it out today by referring to the section Things to note when using DeepSpeed Config File

  • ds zero-3 init context manager by @pacman100 in #932
  • raise error for duplicate accelerate config values when using deepspeed_config_file by @pacman100 in #941

What's new?

Don't miss a new accelerate release

NewReleases is sending notifications on new releases.