Skip to content
Project

Megatron-LM

GPU-optimized training of transformer models at scale (Megatron Core).

Stars
18k
Forks
4.8k
Open issues
2.2k
Latest release
core_v0.20.1
License
NOASSERTION
Language
Python
Stars
latest
18k▲ 380
Forks
latest
4.8k▲ 178
Open issues + PRs
latest
2.2k▲ 613
Merged PRs (30d)
latest
344▲ 257
PR authors (90d)
latest
132▲ 88
Releases (365d)
latest
17▲ 5

Daily snapshots since metrics history started (44 days so far); trends need at least a week.

Contribute

Contributing guide
CONTRIBUTING ↗
Open wanted issues
3 good first issue, 3 help wanted
Merged PRs (30d)
344
Release cadence
17 in 365 daysmedian 19.3 days apart

GitHub community profile 75%. Maintainer response time is not collected yet.

Regular contributors (by commits)

Top ranked issues

Good first issueMegatron-LM#163370

[BUG] GPT2BPETokenizer (and possibly others) missing decode and offsets methods

I've encountered an issue when running text generation with Megatron-LM. Apologies in advance if there are any mistakes — I'm a new user. After successfully preprocessing the data using: bash python tools/preprocess data.py --tokenizer-type GPT2BPETokenizer and completing…

good first issue

Demand: 0 reactions, 5 comments · Maintainer engagement: 343 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 25 days ago

Help wantedMegatron-LM#578566

Determinism roadmap tracking

This issue tracks the Megatron-Core determinism effort. User-facing documentation describes the supported contract; this issue records current implementation and validation status. Contract Determinism claims are split into three gates: 1. Fixed-environment repeatability: two…

help wanted

Demand: 0 reactions, 10 comments · Maintainer engagement: 343 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 7 days ago

Help wantedMegatron-LM#567661

[ROADMAP][2026 Q3] Megatron Core Roadmap

This roadmap tracks the key Megatron Core features, enhancements, and improvements originally planned for Q3 2026, including their carry-over status as of October 15, 2026. The 26.08 release has been delivered; remaining items continue beyond Q3 without a new delivery…

help wanted

Demand: 0 reactions, 9 comments · Maintainer engagement: 343 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 25 days ago

Help wantedMegatron-LM#932561

[ROADMAP][2026 Q4] Megatron Core MoE Roadmap

Description The focus for Megatron Core MoE is to provide comprehensive support for latest MoE architectures, advanced parallelism strategies, and performance optimizations for Blackwell and Rubin. This is a tentative roadmap and subject to change. - ⚠️ Most items are developed…

help wanted

Demand: 0 reactions, 4 comments · Maintainer engagement: 343 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 10 days ago

Good first issueMegatron-LM#576660

[docs] Add a "configuration errors" troubleshooting page

Description Megatron Core validates many interactions between tensor, pipeline, context, expert, and sequence parallelism. The resulting errors are useful individually, but users lack a central explanation of how to diagnose them. Add a short troubleshooting page covering 5-8…

good first issueuntouched

Demand: 0 reactions, 2 comments · Maintainer engagement: 343 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 62 days ago

Opportunities

18 concerning this

Review · 10open tab →

RFC / designMegatron-LM#936345

[Tracking] Consolidating Megatron-Bridge into Megatron-LM

This issue tracks the work to consolidate Megatron-Bridge into Megatron-LM. PRs that are part of this effort will link back here. Phase 1: Move the training loop from args to config objects Megatron-LM's training loop is moving from the global args namespace to structured config…

open design/roadmap

Build · 1open tab →

Signals · 7open tab →

Recurring pain

“wrong results” in open issues of 20 projects

20 projects60 open issues
Recurring pain

“illegal memory” in open issues of 20 projects

20 projects72 open issues
Recurring pain

“memory leak” in open issues of 18 projects

18 projects28 open issues

Research implemented

1

Maintainers

1
  • GPU, networking and systems vendor; maintains CUDA and much of the AI software stack.

Top contributors

16

Releases & tracking issues

38
See all 38

Related projects

3
  • DeepSpeed★ 43k

    Deep learning optimization library (ZeRO).

  • Framework for building and training generative AI models.

  • TorchTitan★ 6.0k

    PyTorch-native platform for large-scale LLM pre-training.

Related projects

3
  • DeepSpeed★ 43k

    Deep learning optimization library (ZeRO).

  • Framework for building and training generative AI models.

  • TorchTitan★ 6.0k

    PyTorch-native platform for large-scale LLM pre-training.