Parallel training, memory and recovery
hard 6 minEach device needs some combination of weights, gradients, optimizer state, activations and temporary communication buffers.
Trace the example
Follow the evidence through each stage, then test a change in the case.
Fit a training step across four accelerators
Training job
Dispatch different samples
Four workers receive input slices according to the data-parallel plan.