Home/Model Training/Megatron-LM
Megatron-LM logo

Megatron-LM

NVIDIA/Megatron-LM

Ongoing research training transformer models at scale

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

50views this month

18k stars4.5k forksLast push Sep 18, 2026 Python Other

Decision brief

Megatron-LM is a research project by NVIDIA for training large transformer models at scale, emphasizing parallelism strategies across multiple GPUs.

Good fit when

  • Use Megatron-LM when you need to train large transformer models and have access to multiple GPUs, as it excels in parallelism strategies like tensor parallelism (TP), pipeline parallelism (PP), data-2
  • >// The text was cut off, but based on the context, it seems to suggest using Megatron-LM for its advanced parallelism strategies which are particularly beneficial for large-scale model training on a多

Avoid when

  • Avoid using Megatron-LM if your project does not require large-scale model training or if you do not have access to multiple GPUs, as its benefits are most pronounced in these scenarios.
  • Do not use Megatron-LM if your team lacks the expertise to handle complex parallelism strategies or if your infrastructure cannot support the memory and computational demands of building from source.
Requirements:
Building from source can be memory-intensive, and users may need to limit parallel compilation jobs by setting MAX_JOBS to manage memory usage.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Backing

Company context for Nvidia. Display-only - separate from trust and ranking.

Company
NVIDIA Corporation·GitHub org profile·Jul 11, 2026
Employees
11,528·Wikidata (P1128 employees)·Jul 11, 2026
Commercial model
Pure OSS·GitHub org profile (public repos)·Jul 11, 2026

Install

pip install Megatron-LM
PyPI

How it fits your stack(9)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Related

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Megatron-LM is a research project by NVIDIA for training large transformer models at scale, focusing on parallelism strategies across multiple GPUs.

Capability facts

Languages
python

Source: github.language+pyproject.toml · Sep 18, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 18, 2026)

- **[Style Guide](style-guide.md)** - Python style overrides
Source link

Tags

README

Getting Started Install from PyPI: Or clone and install from source: Note: Building from source can use a lot of memory. If the build runs out of memory, limit parallel compilation jobs by setting (for example, ). For NVIDIA GPU Cloud (NGC) container setup and all installation op...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.