Tensor parallelism vs pipeline parallelism
Tensor parallelism vs pipeline parallelism is a choice about where a model is cut and what must cross the GPU interconnect after that cut.
Tensor parallelism splits work inside every transformer layer. Pipeline parallelism gives whole groups of layers to different GPUs. The better choice depends on memory fit, network topology, latency, and request concurrency.
The short answer is to keep tensor parallel groups inside the fastest interconnect domain. Use pipeline stages when the model must cross slower links, when layer splits are uneven, or when throughput matters more than one-request latency.
In this article
- Tensor parallelism vs pipeline parallelism in one request
- Tensor parallelism pays communication inside each layer
- Pipeline parallelism sends fewer, larger boundaries
- Interconnect topology usually decides first
- Memory fit is necessary but not sufficient
- Latency favors TP and throughput can favor PP
- Hybrid parallelism follows the hardware boundary
- Choose with a measurement sequence
Continue reading
This field note is part of Fanout Pro, with the complete archive, courses, labs, and every Daily paper guide.
See plans