the.ai

Systems / Distributed

verified

Data Parallelism

The simplest way to use many accelerators is to put a full copy of the model on each, give each a different slice of the batch, and average the gradients before stepping. Every copy stays identical, so the result is one large-batch update computed in parallel.

Viz primitive · budget-splitworkers = 8

workers holds 50% of the budget; rest holds the remaining 50%.

Share of step time spent communicating gradients against computing them. Drag the worker count to watch communication grow into the bottleneck.

8

Reviewed by opendroid · 2026-08-04

  • arXiv:2006.15704 — PyTorch Distributed: Experiences on Accelerating Data Parallel Training