Architecture
A model-parallel technique that splits the weight matrices inside each layer across several GPUs, so every GPU computes a slice of every layer and the partial results are combined with collective communication.
A model-parallel technique that splits the weight matrices inside each layer across several GPUs, so every GPU computes a slice of every layer and the partial results are combined with collective communication. Megatron-LM popularized it for transformers by partitioning attention heads and MLP matrices with only a few all-reduce operations per layer. Because GPUs synchronize on every layer, it needs a fast interconnect and is usually kept within one server, set in serving engines with options like vLLM's --tensor-parallel-size.
Primary source: arxiv.org
Example
Because GPUs synchronize on every layer, it needs a fast interconnect and is usually kept within one server, set in serving engines with options like vLLM's --tensor-parallel-size.
Hands-on guides, comparisons, and tutorials that cover Architecture.
FAQ
A model-parallel technique that splits the weight matrices inside each layer across several GPUs, so every GPU computes a slice of every layer and the partial results are combined with collective communication.
Tensor Parallelism sits in the Architecture part of the AI stack. Understanding it helps you make better decisions when building, debugging, and shipping AI features.
Developers Digest publishes tutorials and videos that cover Architecture topics including Tensor Parallelism. Check the blog and YouTube channel for hands-on walkthroughs.
Related
The algorithm that computes how much each weight in a neural network contributed to the error, so gradient descent knows how to adjust it.
Grouped-query attention is a middle ground between multi-head and multi-query attention: query heads are split into groups, and each group shares one key head and one value head.
The number of learned weights in a model, usually given in billions (7B, 70B, 405B).

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.