Accelerate

Accelerate is a popular, easy-to-use library built to work with PyTorch models. It provides a very straightforward API that wraps with PyTorch and transformers code.

Accelerate can automatically allocate GPU memory usage across nodes, and is used for both training and inference. It is built on top of Megatron and can interface with DeepSpeed.

Previous
Next
RC Logo RC Logo © 2025 The Rector and Visitors of the University of Virginia