Chapter 252 / 4
Cluster Infrastructure: 5D Parallelism, Scheduling, and Checkpoints
Implement toy data-parallel SGD with manual gradient all-reduce (torch
Medium
Implement toy data-parallel SGD with manual gradient all-reduce (torch.distributed or a simulated ring).
Target interface
ring_all_reduce(buffers)Complete the starter code in the editor. Any correct approach is accepted.
Hints0 / 2
Reference solution
Your own code stays in the editor.