the.ai

Systems / Distributed

verified

Tensor Parallelism

When a single layer is too large for one device, split the layer. Each device holds a slice of the weight matrix, computes a slice of the answer, and the pieces are combined before the result is needed. Unlike data parallelism, every device is working on the same example at the same moment — which is why this wants a very fast interconnect and rarely crosses a machine boundary.

Viz primitive · budget-splitcomm-time = 20

comm-time holds 17% of the budget; rest holds the remaining 83%.

Time a transformer block spends on the all-reduce tensor parallelism needs, against time spent computing, both in microseconds. Drag the communication cost to watch it overtake the work it makes possible.

20

Reviewed by opendroid · 2026-08-04

  • arXiv:1909.08053 — Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism