AIXX Pedia › Tech Concept › Tensor Parallelism
Tensor Parallelism (TP) is a parallelization strategy that splits the matrix operations of a single layer across multiple GPUs: each GPU handles a portion of the matrix's columns or rows, and results are merged via AllReduce/AllGather after the computation completes. It is one of the most core parallelization strategies for large model training and inference—together with Data Parallelism (DP), Pipeline Parallelism (PP), and Expert Parallelism (EP), it forms the four major parallelization strategies.
What it means for buyers: the communication bottleneck of tensor parallelism determines "how much GPU-to-GPU Interconnect matters"—the finer the TP split, the greater the inter-GPU communication volume, and the higher the demand for NVLink/PCIe bandwidth. This is why an HGX baseboard (NVLink domain) is better suited for training than PCIe standalone cards—TP's AllReduce operates with near-zero latency within the NVLink domain.
| Item | Value / Basis |
|---|---|
| Communication Primitives | AllReduce / AllGather / ReduceScatter |
| Interconnect Dependency | NVLink (intra-domain) / RDMA (cross-node) |
| NCCL | NVIDIA Collective Communications Library (automatically selects the optimal path) |
| Parallelism Strategy Combinations | TP × DP × PP × EP |
The NVLink domain of an 8-GPU B300 HGX (1.8TB/s per GPU, fully connected within the domain) makes TP=8 nearly lossless—but once TP=8 exceeds the domain size, communication must cross nodes over RDMA, and the communication bottleneck rises sharply. The GB200 NVL72 extends the domain size to 72 GPUs—TP for trillion-parameter models can be completed entirely within the domain.