Skip to content
AI360XpertBeta
Glossary
Definition

ZeRO

A distributed training memory optimization that partitions optimizer states, gradients, and model parameters across GPUs to eliminate redundant memory storage.

Think of It Like This

Like tearing a massive textbook into chapters and giving one chapter to each student to hold, rather than forcing every student to carry the whole book.

In standard data parallelism, every GPU holds a full replica of the model weights, gradients, and optimizer states, wasting massive amounts of VRAM. ZeRO automatically partitions these states across the cluster. It allows researchers to train trillion-parameter models on standard hardware clusters by virtually pooling the VRAM of all available GPUs.