A broadcast operation sends one value or result to every process in a participating process group. In distributed training, workers receive reduced gradients so they can update identical, current model copies. section 3.3.2
A broadcast operation participates in a distributed training workflow:
- Workers calculate gradients from their data partitions. section 3.3.2
- A reduce operation combines gradients using a function such as sum, maximum, minimum, or average. section 3.3.2
- The broadcast operation sends the reduced result to every worker, completing an allreduce cycle. section 3.3.2
- Workers begin the next round with the updated model, without requiring parameter servers. section 3.3.2
Synchronous worker update
Three workers calculate gradient vectors. A reduce operation merges them through the first process, and a broadcast operation distributes the reduced gradients to all workers so each stores the same model. section 3.3.2 section 3.7
Figure 3.19 An example of a broadcast operation that sends a value to every process in the process group
Use the figure to trace one value moving from a process to every member of the process group. section 3.3.2
