NVIDIA/Megatron-LM
Ongoing research training transformer models at scale observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 22
- age_days: 2722
- days_rel: 14
- days_push: 7
- n_releases_24m: 24
Adoption not part of the score
17615 stars · 4417 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
NVIDIA's GPU-optimized library for training large transformer models at scale, comprising Megatron-LM (reference training scripts) and Megatron Core (composable building blocks with advanced parallelism). It supports tensor, pipeline, data, expert, and context parallelism plus mixed precision including FP8.
Use cases
- pretrain large language models on multi-GPU clusters
- train LLaMA or DeepSeek style models with tensor and pipeline parallelism
- train mixture-of-experts models at scale
- build a custom LLM training framework from composable blocks
- shard optimizer states to fit large models in GPU memory
- convert Hugging Face checkpoints to Megatron format
When to choose
- you need to pretrain or fine-tune multi-billion-parameter transformers on NVIDIA GPUs
- you want state-of-the-art parallelism strategies like TP, PP, EP, CP, and FSDP
- you are a research team or framework developer building custom training pipelines
When to avoid
- you only need inference or serving rather than training
- you lack NVIDIA GPUs or multi-node infrastructure
- you want a simple high-level fine-tuning API with minimal configuration
Facets
library · maturity active
llm-training deep-learning machine-learning gpu-computing large-language-models deep-learning machine-learning gpu-computing python distributed-training transformer tensor-parallelism pipeline-parallelism mixture-of-experts fp8 nvidia linux gpu docker
10 sources
- readme: https://github.com/NVIDIA/Megatron-LM · fetched 2026-08-28 · 0af414bbe1d2
- homepage: https://docs.nvidia.com/megatron-core/developer-guide/latest/get-started/quickstart.html · fetched 2026-08-29 · 5c9573c3650f
- site_page: https://docs.nvidia.com/megatron-core/developer-guide/latest/get-started/install.html · fetched 2026-08-29 · 81a056cf3d49
- site_page: https://docs.nvidia.com/megatron-core/developer-guide/latest/user-guide/features/moe.html · fetched 2026-08-29 · b42f263cae78
- site_page: https://docs.nvidia.com/megatron-core/developer-guide/latest/user-guide/features/multi_token_prediction.html · fetched 2026-08-29 · e438d95423a0
- site_page: https://docs.nvidia.com/megatron-core/developer-guide/latest/user-guide/features/multi_latent_attention.html · fetched 2026-08-29 · a0f116aee748
- site_page: https://docs.nvidia.com/megatron-core/developer-guide/latest/user-guide/features/context_parallel.html · fetched 2026-08-29 · 31506a7ab598
- site_page: https://docs.nvidia.com/megatron-core/developer-guide/latest/user-guide/features/megatron_fsdp.html · fetched 2026-08-29 · f9d63adf0f62
- site_page: https://docs.nvidia.com/megatron-core/developer-guide/latest/user-guide/features/dist_optimizer.html · fetched 2026-08-29 · d48b8f13bfbb
- site_page: https://docs.nvidia.com/megatron-core/developer-guide/latest/user-guide/features/optimizer_cpu_offload.html · fetched 2026-08-29 · df85a4f6130f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| NVIDIA/Megatron-LM | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="NVIDIA/Megatron-LM")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem