Skip to content
English

Switch theme

// ▲ Pretraining, Scaling & Distributed Training

Tensor Parallelism (Megatron-LM)

Splits a layer's matrix multiplications across GPUs.

张量并行(Megatron) 2019 Advanced core

IN PLAIN WORDS

Split attention heads and FFN weights by columns/rows so each GPU computes a part, then combine with a few collectives. Best within a fast-interconnect node.

Used in: Megatron-LM, NeMo

TIMELINE · prerequisites → this → what builds on it

2017 Transformer &…2018 Pipeline Para…2019 Tensor Parallelis…

01Original paper

Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism

Mohammad Shoeybi, Mostofa Patwary, Raul Puri, et al. · 2019

arXiv ↗ ✓ Verified · arXiv API

02Where it sits

Learn the left column first; the right column builds on this one.

Learn first

Tensor Parallelism (Megatron-LM)

Then you can learn

Related:ZeRO / FSDP (Sharded Data Parallelism)

Transformer & S…Pipeline Parall…ZeRO / FSDP (Sh… Tensor Parallelism …

Left: prerequisites · right: builds on this · dashed: related. Full map →

03Learning resources

Official docs, explainers, courses and reference code. All links checked.

04Where the course teaches it

For AI / data

Data updated: AI algorithms & curriculum(UTC+8)