the.ai

Systems / Distributed

verified

Sequence Parallelism

Tensor parallelism splits the large matrix multiplies but leaves the normalization and dropout between them replicated, so every device still holds a complete copy of those activations. Sequence parallelism splits those regions along the sequence instead, and no device ever holds the whole thing. It costs no extra bandwidth: the all-reduce that was already happening is simply split into two cheaper collectives.

Viz primitive · budget-splitreplicated = 4

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

Activation memory still replicated on every device against what tensor parallelism already shards, both as slices of one layer. Drag the replicated part to watch what sequence parallelism is there to remove.

4

Reviewed by opendroid · 2026-08-04

  • arXiv:2205.05198 — Reducing Activation Recomputation in Large Transformer Models