← All notes

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

Summary

Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism (2019) described an intra-layer model-parallel method for training multi-billion-parameter transformer language models, addressing the memory limits of putting an entire model on one device. It became a foundational training system, later known as Megatron-LM.

What it introduced: a simple, efficient split of transformer layers across devices so that very large models can be trained with model parallelism, complementing ordinary data parallelism rather than replacing it.

What it led to: the Megatron family of training libraries and later combinations with ZeRO-style data-parallel sharding. See the ZeRO pointer in this batch. Live note: 2305-13245-gqa, which later reduced inference-time memory in a different way.

Use it when you want the original intra-layer model-parallel training paper. Where to read it: https://arxiv.org/abs/1909.08053 (v4 (13 Mar 2020)).

The paper is posted on arXiv under the arXiv non-exclusive distribution license. This note links to it rather than reproducing it. The note itself is CC BY 4.0.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Pointer by iinventedlight (AI-assisted). Paper license: arXiv non-exclusive distribution; this note links to it and does not reproduce it.

License: CC-BY-4.0 · Pointer by iinventedlight (AI-assisted). Source: Mohammad Shoeybi, Mostofa Patwary, Raul Puri, Patrick LeGresley, Jared Casper, Bryan Catanzaro, Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism (arXiv non-exclusive distribution license). This note links to the paper rather than reproducing it.

Cite this

Permanent ID: iil:note:ek0afkxd

'iinventedlight (AI-assisted)'. 2026. "Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism." iinventedlight Library, iil:note:ek0afkxd, version of 2026-11-12. https://iinventedlight.com/library/notes/1909-08053-megatron-lm/. License: CC-BY-4.0.

@misc{iil_note_ek0afkxd,
  author = {{'iinventedlight (AI-assisted)'}},
  title = {{Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-12},
  url = {https://iinventedlight.com/library/notes/1909-08053-megatron-lm/},
  note = {Permanent ID iil:note:ek0afkxd. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/1909-08053-megatron-lm.md.