Tensor Parallel splits each layer across GPUs (low bubble, high comms overhead).
Pipeline Parallel splits layers into stages (low comms, but idle "bubble" time).
Data Parallel replicates the model - each GPU sees a different data shard.
Model Parallelism - Interactive Visualization
Training and serving 70B+ parameter models requires splitting them across multiple GPUs. Tensor parallelism splits individual layers horizontally across GPUs - each GPU handles a slice of attention heads. Pipeline parallelism splits layers into sequential stages - each GPU owns a contiguous block of layers, and micro-batches flow through like a pipeline. Data parallelism replicates the full model and splits the data. Each strategy has different memory, communication, and efficiency trade-offs.
GPU grid visualization: see exactly what each GPU holds under TP, PP, DP, or hybrid
Pipeline stage animation: watch micro-batches flow through stages, see idle "bubble" time
Memory per GPU calculator: compare 7B/13B/70B across 1/2/4/8 GPUs
Efficiency comparison bars: TP vs PP vs DP - which wastes the least compute
Used in: Megatron-LM, DeepSpeed, FSDP, Ray Train, HuggingFace Accelerate
Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.