What is distributed training?

Definition

Devices can divide the training data, model computation or both. They exchange results so that their separate work contributes to a coordinated update, allowing runs that exceed the capacity or practical speed of one device.

Communication, synchronization, workload balance and recovery can limit performance. Adding devices does not guarantee proportional speed because devices may wait for data, network transfers or slower participants.

ELI5

Distributed training lets several computers or chips share the work of teaching a model. They need to exchange information so that their efforts improve the same model together.

For example, different chips could process different groups of training examples and combine what they learned before the next update. If their connection is slow, they may spend much of their time waiting.

Does twice as much hardware halve training time?

Not necessarily. Communication and coordination overhead can limit the gain.

Why are checkpoints useful for large training runs?

They preserve completed progress so a hardware failure does not require repeating the entire run.

  1. Portrait of Gabriel Jorge Menezes with the headline Train and Serve at Scale.
Definition card for distributed training: What is distributed training?

Distributed training coordinates multiple computing devices to train a model together.