跳转到内容

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

作者: Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper, Bryan Catanzaro (2019)

arXiv: 1909.08053

领域

架构

TLDR(中文)

提出张量并行(TP):把 self-attention 和 MLP 的矩阵乘按列/行切分到多张 GPU,层内并行、层间保持全精度激活,单卡只需承载 1/N 的权重与梯度。显式、可控、通信模式规则,与现代流水线、数据并行组合成 3D 并行范式,是大模型并行训练的奠基工作。

TLDR (English)

Introduces tensor parallelism (TP): split the matrix multiplications of self-attention and MLPs column-wise and row-wise across GPUs, parallelizing within layers while keeping inter-layer activations full precision, so each card holds 1/N of weights and gradients. Explicit, controllable, and regular in its communication pattern, it composes with pipeline and data parallelism into the 3D-parallel paradigm and founded large-model parallel training.

出现在这些文章里

同被引用

这些论文与本文出现在同一篇文章中

相关论文

同一领域的其他论文