BOINC AI Accelerate
๐ Accelerate is a library that enables the same PyTorch code to be run across any distributed configuration by adding just four lines of code! In short, training and inference at scale made simple, efficient and adaptable.
Copied
Built on torch_xla
and torch.distributed
, ๐ Accelerate takes care of the heavy lifting, so you donโt have to write any custom code to adapt to these platforms. Convert existing codebases to utilize DeepSpeed, perform fully sharded data parallelism, and have automatic support for mixed-precision training!
To get a better idea of this process, make sure to check out the Tutorials!
This code can then be launched on any system through Accelerateโs CLI interface:
Copied
Last updated