Distributed training

Step 7 of 7 in MLOps · Build · Hard

Split data across GPUs and average gradients (data parallel), or split the model itself when it doesn't fit (model parallel).

Build it

  1. DDP

    Convert your FashionMNIST loop to DistributedDataParallel with 2 processes.

    Done when: Same accuracy as single process; you explain all-reduce.

Resources

Earn this star

On the map, you log what you built. Finish the step and its star lights.

Open this step on the map