Lattice
Skip to content

ZeRO

Sharding optimiser states, gradients and parameters across data-parallel workers to fit a larger model on the same GPUs.

By Entry last reviewedmethod

What it implies

The memory optimisation that makes fine-tuning large models on modest clusters possible. If your model already fits on one device, ZeRO buys nothing and costs communication.

Tools in this index

Related terms

Rules of thumb

  • A definition is only useful next to the decision it changes. Read the linked layer to see where this term bites.
  • If a vendor's definition differs from this one, ask what it measures. Marketing definitions rarely name a number.
  • Every optimisation spends latency, memory or quality somewhere. Find out which before you turn it on.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.