Skip to content

Releases: NVIDIA/Megatron-LM

NVIDIA Megatron Core 0.18.0

Choose a tag to compare

@nvidia-megatron-lm-release-bot nvidia-megatron-lm-release-bot released this 23 Jun 00:16
ba7b5eb
Changelog Details
  • fix(ci): replace actions/setup-python with apt-get to avoid 429 rate limits by @ko3n1g :: PR: #4072
  • ci: Fix package name for code-freeze workflow by @ko3n1g :: PR: #4077
  • chore: bump _code_freeze workflow to v0.86.0 by @ko3n1g :: PR: #4078
  • Fix checkpoint inspector by @janEbert :: PR: #4079
  • Update docs to conform to NVIDIA style guides by @megnvidia :: PR: #4068
  • Miscellaneous inference fixes by @santhnm2 :: PR: #4030
  • fix fine_grained_callables with fused rmsnorm residual by @CarlosGomes98 :: PR: #4026
  • [Main][feat] Support overlapping A2A Combine backprop with wgrad GEMM by @Wohox :: PR: #3795
  • Modify mfsdp default data-parallel-sharding-strategy by @wplf :: PR: #3691
  • Fix fsdp_dtensor conversion for pretrained-only checkpoints by @DAISY-gh :: PR: #3912
  • Guard NVshmem issues by @wdykas :: PR: #4093
  • m-fsdp: wire use_precision_aware_optimizer from ddp_config to ParamAn… by @rapatel :: PR: #4024
  • Megatron-FSDP: Add MXFP8 transpose helper buffer for Hybrid FSDP by @shjwudp :: PR: #3918
  • feat(fsdp): use TE general_gemm for mixed-precision wgrad in FSDP path by @Victarry :: PR: #3822
  • Megatron-FSDP: Fix insufficient double buffers during gradient reduce by @shjwudp :: PR: #4054
  • Fix M-FSDP MXFP8 related BUGs by @shjwudp :: PR: #3991
  • Megatron-FSDP: Make _pre_forward_param_unshard and _register_post_backward_hook formal by @shjwudp :: PR: #4029
  • FIX: Use decoupled gradients for precision-aware M-FSDP grad norm by @XueSongTap :: PR: #3746
  • Align chat completions endpoint with vLLM by @santhnm2 :: PR: #4063
  • [Megatron-FSDP] Fix compatibility with frozen parameters and add unit tests by @shjwudp :: PR: #3287
  • [M-FSDP] Refactor uneven dtensor to full tensor and add UT by @shjwudp :: PR: #3190
  • Add agent instruction files by @Phlip79 :: PR: #4102
  • Bump eopt version by @skyw :: PR: #4100
  • Refactor emerging optimizer integration by @skyw :: PR: #4113
  • Fix over provisioning of Mamba state memory when max_requests is set by @santhnm2 :: PR: #4114
  • base strategy simplification by @dimapihtar :: PR: #4001
  • add support for DCP and FSDP async save by @dimapihtar :: PR: #4027
  • Add more emerging optimizers (#3907) by @skyw :: PR: #4119
  • Fix FSDP checkpoint conversion and loading for Qwen3.5-VL by @DAISY-gh :: PR: #3936
  • docs: update mcore optimizer docstrings to google style by @Akshat8510 :: PR: #2799
  • Set tensor-parallel attributes irrespective of perform_initialization by @ilml :: PR: #4084
  • docs: add developer-guide skill with CI/CD and failure navigation guidance by @ko3n1g :: PR: #4035
  • chore: Move skills by @ko3n1g :: PR: #4136
  • ci: Let Claude react to comment by @ko3n1g :: PR: #4135
  • Nemotron3 Super GB200 release config by @maanug-nv :: PR: #4118
  • Enable CUDA graph for ADAM optimizer by @vasunvidia :: PR: #3429
  • Claude review should recommend testing by @Phlip79 :: PR: #4137
  • cleanup: remove unused scatter_gather_tensors_in_pipeline argument by @Phlip79 :: PR: #4140
  • fix: Remove fail-fast (-x) and guard distributed teardown against deadlock by @ko3n1g :: PR: #4139
  • Claude: add respond-to-issue skill by @Phlip79 :: PR: #4141
  • Fix muon getter backward compatability by @skyw :: PR: #4157
  • Audit of user guide by @megnvidia :: PR: #4098
  • Fix RerunStateMachine crash (TypeError: 'NoneType' object is not subscriptable) by not saving a checkpoint after a transient NaN / Inf by @yezhengmao1 :: PR: #3981
  • Preserve type of decorated methods/classes by @nschank :: PR: #4062
  • update muon test case to use new interface by @skyw :: PR: #4163
  • [M-FSDP] Fix Tensor Parallel mode detection by @shjwudp :: PR: #3191
  • fix: remove weights_only=False for multimodal example by @faradawn :: PR: #4104
  • Cudagraphs: Fix sequence packing segfault more generally by @mathemakitten :: PR: #4162
  • Make MTP work with materialize_only_last_token_logits by @santhnm2 :: PR: #4166
  • Add unit test for Mamba EP inference (eager fallback with mixed CUDA graphs) by @santhnm2 :: PR: #4085
  • update docs in respect to async changes by @dimapihtar :: PR: #4177
  • update checkpointing docs in respect to async changes by @dimapihtar :: PR: #4208
  • chore: improve build-and-test skill with trigger rules and dependency workflow by @ko3n1g :: PR: #4199
  • Fix layerwise optimizer with expt_dp_size=1 and contention with element-wise distributed optimizer by @skyw :: PR: #4138
  • ci: add --cluster-a100/h100/gb200 args to trigger_internal_ci.py by @ko3n1g :: PR: #4195
  • ci: Update golden values for nightly tests by @chtruong814 :: PR: #4215
  • rename async_allgather to overlap_param_gather by @skyw :: PR: #4217
  • Fix Slack sync for users with GitHub email privacy enabled by @Phlip79 :: PR: #4220
  • Miscellaneous MTP inference fixes by @santhnm2 :: PR: #4191
  • Move inference guards out of arguments.py by @mathemakitten :: PR: #4210
  • Fix: enable fine-grained activation offloading for Mamba model. by @fanshiqing :: PR: #4173
  • bump NVRx by @dimapihtar :: PR: #4178
  • Update tokenizer args for Nemotron3 release config by @maanug-nv :: PR: #4239
  • build: add dynamic git-versioning and drop rc0 pre-release tag by @ko3n1g :: PR: #4212
  • Fix unnecessary permute padding for non-quantized MoE dispatch by @xiaoxi-wangfj :: PR: #4038
  • Fix split state dict main by @kunlunl :: PR: #3676
  • Add /split-pr Claude Code command for splitting PRs by CODEOWNERS by @Phlip79 :: PR: #4160
  • Enable FP8 DPA for MXFP8 recipe by @vasunvidia :: PR: #4066
  • Enable AG/RS overlap with explicit process group passing by @jeffnvidia :: PR: #3249
  • Enable cpu_offloading with Full iteration CUDA graph by @vasunvidia :: PR: #3969
  • Fix TransformerConfig validation for mixed dense/MoE upcycling by @rkteddy :: PR: #3647
  • Remove cross-rank synchronization during checkpoint load & deprecate torch.distributed.checkpoint.state_dict_loader.load_state_dict by @asolergi-nv :: PR: #2864
  • Fix incorrectly set decoupled_grad and DistOpt mechanics for MFSDP. by @cspades :: PR: #4133
  • Refit Miscelaneous by @wdykas :: PR: #3973
  • Add conditions_embeddings argument to TransformerBlock, TransformerLayer for DiT (diffusion transformer) by @huvunvidia :: PR: #4134
  • Fix build_sequences_per_dataset output path arg usage by @DhineshPonnarasan :: PR: #4144
  • ci: Flush pending CUDA work before the barrier in destroy_model_parallel by @chtruong814 :: PR: #4259
  • Update oncall schedule by @Phlip79 :: PR: #4257
  • docs(moe): Update MoE README by @sbhavani :: PR: #3664
  • Revert "Add conditions_embeddings argument to TransformerBlock, Trans… by @ko3n1g :: PR: #4270
  • reduce the number of shared expert streams by @yangbofun :: PR: #3752
  • remove legacy Bert code by @dimapihtar :: PR: #4204
  • [Main] Feat(moe): Gated delta net context parallel (CP) by @yuzhongw-nvidia :: PR: #2642
  • remove t5 legacy code by @dimapihtar :: PR: #4203
  • fix: handle list-typed process groups in ProcessGroupCollection.repr by @cluster2600 :: PR: #3753
  • Fix Context Parallelism documentation link by @liangxs :: PR: #4149
  • [MLA] fix: Pad V when Q/V head dims differ for THD by @HollowMan6 :: PR: #3003
  • fix(megatron-fsdp): build expt_device_mesh only for MoE models by @xuwchen :: PR: #3831
  • Allow the evaluation batch size to differ from the training batch size by @michal2409 :: PR: #4014
  • Add @NVIDIA/transformer review group to megatron/core/transformer/ by @Phlip79 :: PR: #4281
  • Reset AG_pipeline bucket status after validation step. by @vasunvidia :: PR: #3155
  • Enhance and fix NVTX for training by @yaox12 :: PR: #3642
  • NVFP4 native weights for DDP by @WanZzzzzz :: PR: #4005
  • Remove unnecessary arguments for layerwise distributed optimizer by @FDecaYed :: PR: #4272
  • reuse grad buffer for layer-wise param allgather by @FDecaYed :: PR: #3751
  • feat(ci): add strict review mode to Claude review workflow by @Victarry :: PR: #4197
  • Fix stale approvals by @Phlip79 :: PR: #4280
  • [MoE] Add a new score function to the router by @yaox12 :: PR: #3673
  • [MoE] Improvement of shared expert overlap, support shared expert overlap for FlexDispatcher by @Victarry :: PR: #2207
  • build: bump DeepEP to 34152ae by @ko3n1g :: PR: #4228
  • ci: mark test_fused_indexer_loss_gradient_tp_consistency as flaky_in_dev by @ko3n1g :: PR: #4299
  • Fix typo in PR4133. by @cspades :: PR: #4277
  • ci: add retry loop to apt-get update to handle transient mirror sync failures by @ko3n1g :: PR: #4209
  • fix: enforce correct pass thresholds for deterministic and approximate tests by @ko3n1g :: PR: #4238
  • remove legacy biencoder and realm models by @dimapihtar :: PR: #4205
  • ci: add configurable launcher support for functional tests (ft_launcher / torchrun) by @ko3n1g :: PR: #4298
  • chore: document --target main for local Docker builds by @ko3n1g :: PR: #4307
  • Extract args init to launch scripts by @maanug-nv :: PR: #4225
  • [Main] Fix TE version check for retain_pinned_cpu_buffers in cpu offload by @BestJuly :: PR: #4267
  • Fix documented shape by @janEbert :: PR: #3486
  • ci: add sync-skills workflow, rename CLAUDE.md → AGENTS.md, move .claude/skills → skills/ by @ko3n1g :: PR: #4303
  • Get device correctly when module returns a dict instead of individual tensor by @shifangx :: PR: #4265
  • remove vision legacy code by @dimapihtar :: PR: #4202
  • feat: long convergence resiliency for release tests by @ko3n1g :: PR: #4335
  • ci(action): improve GitHub Actions output UX by @ko3n1g :: PR: #4337
  • build: bump TransformerEngine to release_v2.14 by @ko3n1g :: PR: #4331
  • feat: add create-issue skill by @ko3n1g :: PR: #4338
  • M4 leftover for TE cuda graph by @shifangx :: PR: #3137
  • fix: wait for async P2P send before deallocating output tensor by @ZhiyuLi-Nvidia :: PR: #4047
  • ci(gb200): add 1-node mr-github functional test variants by @ko3n1g :: PR: #4334
  • Fix potential coredump issue that occurs when saving a checkpoint by @ezioliao :: PR: #1871
  • docs: bump versions1.json to 0.17.0 (latest) by @ko3n1g :: PR: #4360
  • Port DeepSeek Sparse Attention to MambaModel by @janEbert :: PR: #3553
  • Add ...
Read more

NVIDIA Megatron Core 0.17.1

Choose a tag to compare

Changelog Details
  • beep boop 🤖: Bumping versions by @svcnvidia-nemo-ci :: PR: #4349
  • cp: NVFP4 native weights for DDP (4005) into core_r0.17.0 by @ko3n1g :: PR: #4290
  • docs: bump project.json and versions1.json to 0.17.0 by @ko3n1g :: PR: #4361
  • [docs] ci: fix version picker in 0.17.0 docs by @ko3n1g :: PR: #4363
  • [docs] ci: use parent-relative json_url for version picker by @ko3n1g :: PR: #4366
  • Backport NVRx async checkpoint compatibility to core_r0.17.0 by @sbak5 :: PR: #4453
  • cp: add permute fusion into hybrid ep (4089) into core_r0.17.0 by @ko3n1g :: PR: #4488
  • cp: get rid of weights_only=False (4434) into core_r0.17.0 by @ko3n1g :: PR: #4554
  • cp: SafeUnpickler class for safe pickle usage (4319) into core_r0.17.0 by @ko3n1g :: PR: #4555
  • cp: checkpoint integrity verification (4305) into core_r0.17.0 by @ko3n1g :: PR: #4556
  • fix(async_ckpt): import inspect in async_utils on core_r0.17.0 by @ko3n1g :: PR: #4597
  • chore(beep boop 🤖): Bump uv.lock (core_r0.17.0) (2026-05-04) by @svcnvidia-nemo-ci :: PR: #4598
  • cp: fix: Replace polynomial rolling hash with SHA-256 for prefix caching (#4158) by @chtruong814 :: PR: #4612
  • build: relax transformers cap to <=5.3.0 on core_r0.17.0 by @ko3n1g :: PR: #4701
  • chore: Bump TE to latest 2.14 by @chtruong814 :: PR: #4772
  • cp: additional tests for nvrx (#4522) by @chtruong814 :: PR: #4826
  • Release 0.17.0 by @ko3n1g
  • Bump mfsdp to 0.4.0 by @ko3n1g
  • cp: NVFP4 native weights for DDP (4005) into core_r0.17.0 (#4290) by @ko3n1g
  • docs: bump project.json and versions1.json to 0.17.0 (#4361) by @ko3n1g
  • [docs] ci: fix version picker in 0.17.0 docs (#4363) by @ko3n1g
  • [docs] ci: use parent-relative json_url for version picker (#4366) by @ko3n1g
  • chore(beep boop 🤖): Bump (core_r0.17.0) (2026-04-20) by @github-actions[bot]
  • Backport NVRx async checkpoint compatibility to core_r0.17.0 (#4453) by @sbak5
  • add permute fusion into hybrid ep (#4089) by @Autumn1998
  • Merge pull request #4488 from NVIDIA/cherry-pick-4089-core_r0.17.0 by @ko3n1g
  • get rid of weights_only=False (#4434) by @dimapihtar
  • SafeUnpickler class for safe pickle usage (#4319) by @dimapihtar
  • checkpoint integrity verification (#4305) by @dimapihtar
  • Merge pull request #4554 from NVIDIA/cherry-pick-4434-core_r0.17.0 by @ko3n1g
  • Merge pull request #4555 from NVIDIA/cherry-pick-4319-core_r0.17.0 by @ko3n1g
  • Merge pull request #4556 from NVIDIA/cherry-pick-4305-core_r0.17.0 by @ko3n1g
  • fix(async_ckpt): import inspect in async_utils on core_r0.17.0 (#4597) by @ko3n1g
  • chore(beep boop 🤖): Bump uv.lock (core_r0.17.0) (2026-05-04) (#4598) by @svcnvidia-nemo-ci
  • cp: fix: Replace polynomial rolling hash with SHA-256 for prefix caching (#4158) (#4612) by @chtruong814
  • build: relax transformers cap to <=5.3.0 on core_r0.17.0 (#4701) by @ko3n1g
  • chore(beep boop 🤖): Bump (core_r0.17.0) (2026-05-11) by @github-actions[bot]
  • chore: Bump TE to latest 2.14 (#4772) by @chtruong814
  • cp: additional tests for nvrx (#4522) (#4826) by @chtruong814
  • chore(beep boop 🤖): Bump (core_r0.17.0) (2026-05-18) by @github-actions[bot]
  • chore(beep boop 🤖): Bump (core_r0.17.0) (2026-05-25) by @github-actions[bot]

26.04-alpha.rc2

Choose a tag to compare

@mmarcinkiewicz mmarcinkiewicz released this 07 May 07:07
99a1081
[MXFP8 param gather]Post processing after synced param AG in eval (#4…

26.04-alpha.rc1

Choose a tag to compare

@mmarcinkiewicz mmarcinkiewicz released this 23 Apr 08:22
85bced0
[Dev] Add high-priority a2a comm stream option and hybridep preproces…

NVIDIA Megatron Core 0.17.0

Choose a tag to compare

@svcnvidia-nemo-ci svcnvidia-nemo-ci released this 16 Apr 19:59
9539a12
Changelog Details
Read more

NVIDIA Megatron Core 0.16.1

Choose a tag to compare

@svcnvidia-nemo-ci svcnvidia-nemo-ci released this 20 Mar 21:24
Changelog Details
  • cp: ci: Skip cleanup-taint-node jobs during deployments (3612) into core_r0.16.0 by @ko3n1g :: PR: #3613
  • beep boop 🤖: Bumping versions by @svcnvidia-nemo-ci :: PR: #3616
  • cp: docs: Fix version picker urls (3621) into core_r0.16.0 by @ko3n1g :: PR: #3622
  • cp: ci: Increase changelog generation max PRs fetched (3620) into core_r0.16.0 by @ko3n1g :: PR: #3623
  • Cherry-pick #3399 for Mamba Uneven PP fix by @kevalmorabia97 :: PR: #3544
  • cp: fix: async_utils: explicit GC in persistent checkpoint worker loop (3591) into core_r0.16.0 by @ko3n1g :: PR: #3628

NVIDIA Megatron Core 0.16.0

Choose a tag to compare

@svcnvidia-nemo-ci svcnvidia-nemo-ci released this 26 Feb 04:17
3bec9aa
Changelog Details
Read more

NVIDIA Megatron Core 0.15.3

Choose a tag to compare

@ko3n1g ko3n1g released this 06 Feb 16:30
309ffca

This release addresses known security issues. For the latest NVIDIA Vulnerability Disclosure Information visit https://www.nvidia.com/en-us/security/, for acknowledgement please reach out to the NVIDIA PSIRT team at PSIRT@nvidia.com

NVIDIA Megatron Core 0.15.2

Choose a tag to compare

@ko3n1g ko3n1g released this 08 Jan 15:42
core_v0.15.2
45b404c
core_v0.15.2

Megatron-Core v0.15.2

NVIDIA Megatron Core 0.15.1

Choose a tag to compare

@ko3n1g ko3n1g released this 07 Jan 18:23
core_v0.15.1
512da5d
core_v0.15.1

Core v0.15.1