Tensor Parallelism
One of the core partitioning strategies for multi-device inference. It splits the tensor computations of a single model layer across multiple GPUs for parallel execution, achieving intra-layer acceleration. This approach distributes weight matrices and associated operations so that each device handles a shard of the computation, with results aggregated via collective communication operations.
Core Facts
Modern large model training typically employs a combination of multiple parallelism strategies simultaneously—including data parallelism, pipeline parallelism, tensor parallelism, and expert parallelism—forming a 3D or 4D parallel architecture.
The core principle of diffusion models consists of two stages: the forward diffusion process (progressively adding Gaussian noise) and the reverse denoising process (restoring an image from noise).
MoE models in distributed training typically require the simultaneous deployment of four strategies: data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism.
Timeline (last 90 days)
When evaluating non-NVIDIA inference solutions, it is necessary to check operator coverage (whether attention variants, activation functions, and normalization layers have efficient implementations), alignment of quantization and parallelism strategies (native FP8/INT8 support, and the efficiency of tensor parallelism and pipeline parallelism on the chip interconnect topology), as well as measured end-to-end throughput and first-token latency
Tensor parallelism refers to splitting the weight matrices of a single model layer across multiple devices to jointly compute the forward pass, in order to break through the memory limit of a single machine, but the cost is frequent exchange of intermediate results between devices, making communication bandwidth and latency the bottleneck.
Tensor parallelism (TP) splits weight matrices by row or column within a layer, with each card computing a portion and then assembling the complete result through communication such as All-Reduce; its communication is frequent and demands high inter-card bandwidth, so it is usually limited to a single machine or within high-speed interconnect nodes such as NVLink.
In multi-machine tensor-parallel inference, every generated Token requires synchronizing intermediate activations or gradient shards across machines, so inter-machine latency almost directly determines overall throughput.
Tensor Parallelism is the splitting of a single Transformer layer's weight matrices by dimension across multiple devices, and each layer internally generates collective communication (such as All-Reduce), making it extremely sensitive to inter-device bandwidth and latency.
Tensor parallelism is extremely sensitive to communication bandwidth and latency and typically requires high-speed interconnects such as NVLink or RDMA between GPUs; unlike pipeline parallelism, which splits by layer.
The key constraints of cross-node tensor parallelism include: network link quality (RDMA connectivity), strict consistency of software versions on both ends (matching image digests), and sufficient GPU memory budget allocation.
Tensor parallelism is expanded within each layer, unlike pipeline parallelism, which splits by layer, and therefore places higher demands on inter-device bandwidth.
Data parallelism distributes different data batches to different devices; tensor parallelism splits the weight matrices of a single layer across multiple devices; pipeline parallelism splits the model by layer across different devices and executes it in a pipelined manner with micro-batches; expert parallelism spreads the different experts of an MoE across different devices.
Tensor parallelism requires frequent All-Reduce communication to synchronize intermediate results, so it is usually restricted to use within a node (NVLink interconnect).
40 more timeline events
All Facts (20)
Modern large model training typically employs a combination of multiple parallelism strategies simultaneously—including data parallelism, pipeline parallelism, tensor parallelism, and expert parallelism—forming a 3D or 4D parallel architecture.
90%VerifiedThe core principle of diffusion models consists of two stages: the forward diffusion process (progressively adding Gaussian noise) and the reverse denoising process (restoring an image from noise).
90%VerifiedMoE models in distributed training typically require the simultaneous deployment of four strategies: data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism.
75%VerifiedMegatron-LM is a large model training framework developed by NVIDIA, focusing on tensor parallelism and pipeline parallelism.
70%Unverified块调度建议将张量并行(TP)限制在NVLink带宽最高的GPU子集内(同一个最小块),数据并行(DP)跨块分布,流水线并行(PP)沿拓扑层次展开
85%UnverifiedFor large models at the 70B scale, a single GPU's memory is often insufficient, requiring multi-GPU tensor parallelism or the use of quantization techniques.
70%UnverifiedTensor parallelism splits the computation of a single layer (such as matrix multiplication) across multiple GPUs for parallel execution; it has a high communication frequency and typically requires high-bandwidth interconnects such as NVLink between GPUs.
70%UnverifiedTensor parallelism splits the weight matrix of a single model layer across multiple GPUs for parallel computation and aggregates results through All-Reduce communication.
70%UnverifiedEach token generated by a large model requires a large number of matrix multiplication operations on the GPU, which is the core computational step of the attention mechanism in the Transformer architecture.
60%UnverifiedLarge model parallel training requires mastery of the combined scheduling of three strategies—data parallelism, tensor parallelism, and pipeline parallelism—along with the use of the NCCL communication library and frameworks such as Megatron-LM and DeepSpeed.
60%UnverifiedWhen evaluating non-NVIDIA inference solutions, it is necessary to check operator coverage (whether attention variants, activation functions, and normalization layers have efficient implementations), alignment of quantization and parallelism strategies (native FP8/INT8 support, and the efficiency of tensor parallelism and pipeline parallelism on the chip interconnect topology), as well as measured end-to-end throughput and first-token latency
50%UnverifiedTensor parallelism refers to splitting the weight matrices of a single model layer across multiple devices to jointly compute the forward pass, in order to break through the memory limit of a single machine, but the cost is frequent exchange of intermediate results between devices, making communication bandwidth and latency the bottleneck.
50%UnverifiedTensor parallelism (TP) splits weight matrices by row or column within a layer, with each card computing a portion and then assembling the complete result through communication such as All-Reduce; its communication is frequent and demands high inter-card bandwidth, so it is usually limited to a single machine or within high-speed interconnect nodes such as NVLink.
50%UnverifiedIn multi-machine tensor-parallel inference, every generated Token requires synchronizing intermediate activations or gradient shards across machines, so inter-machine latency almost directly determines overall throughput.
50%UnverifiedTensor Parallelism is the splitting of a single Transformer layer's weight matrices by dimension across multiple devices, and each layer internally generates collective communication (such as All-Reduce), making it extremely sensitive to inter-device bandwidth and latency.
50%UnverifiedThe key constraints of cross-node tensor parallelism include: network link quality (RDMA connectivity), strict consistency of software versions on both ends (matching image digests), and sufficient GPU memory budget allocation.
50%UnverifiedTensor parallelism is extremely sensitive to communication bandwidth and latency and typically requires high-speed interconnects such as NVLink or RDMA between GPUs; unlike pipeline parallelism, which splits by layer.
50%UnverifiedTensor parallelism is expanded within each layer, unlike pipeline parallelism, which splits by layer, and therefore places higher demands on inter-device bandwidth.
50%UnverifiedData parallelism distributes different data batches to different devices; tensor parallelism splits the weight matrices of a single layer across multiple devices; pipeline parallelism splits the model by layer across different devices and executes it in a pipelined manner with micro-batches; expert parallelism spreads the different experts of an MoE across different devices.
50%UnverifiedTensor parallelism requires frequent All-Reduce communication to synchronize intermediate results, so it is usually restricted to use within a node (NVLink interconnect).
50%