Skip to main content
All terms
Frameworks & Tools

Accelerate

A Hugging Face library that runs the same PyTorch training script across CPUs, GPUs, and Google's AI chips.

Definition

Accelerate is a Hugging Face library that hides the repetitive setup of training a model across many processors at once in PyTorch. With a few lines of code, one training script can run on a single CPU, a multi-GPU server, or a pod of Google's specialized AI chips (TPUs) without rewriting the core loop. It works with helper systems like DeepSpeed and FSDP that spread the work across machines.