NVIDIA/Megatron-LM core_v0.16.0
NVIDIA/Megatron-LM
Captured source
source ↗published Feb 26, 2026seen Jun 26captured 4whttp 200method plain
NVIDIA Megatron Core 0.16.0
Repository: NVIDIA/Megatron-LM
Tag: core_v0.16.0
Published: 2026-02-26T04:17:50Z
Prerelease: no
Release notes:
- Optimizer State Offloading \- Offload optimizer states and master weights to CPU for significant GPU memory savings
- MTP Standalone Stages \- Support placing MTP layers into standalone pipeline stages for better VPP balance
- DeepSeek V3.2 Support \- Performance optimizations for DeepSeek V3.2
- CUDA Graph Enhancement
- cuda\_graph\_scope Refactoring
- Partial CUDA Graph for EP Overlap \- Release CPU pressure within selected scope for EP A2A overlap
- TE cudagraph input memory optimization \- Reuse static input memory buffer among microbatches
- CudaGraph compatibility with FP8 params (tensorwise & blockwise)
- NVFP4 MOE CUDA Graph support with 128 zero padding
- Router Replay \- Deterministic routing mechanism for debugging and RL training
- Fake Distributed Process Group \- Skip all distributed comm ops with
--fake-process-groupfor profiling - Remove padding token in MoE routing loss \- Improve aux loss correctness and efficiency
- Context parallel support for eager attention implementation
- Packed sequence support in MTP module
- Fine-grained Activation Offloading Support
- Hybrid-EP enhancement \- Latest Hybrid-EP with kernel optimizations for EP64 and NVL8+IB
Breaking changes introduced: [https://github.com/NVIDIA/Megatron-LM/pull/2047](https://github.com/NVIDIA/Megatron-LM/pull/2047)
- Introduces AdamOptimizerConfig and SGDOptimizerConfig
- Support passing in different hyperparameters to different groups of parameters
Changelog Details
- ci: Fix copyright checker by @ko3n1g :: PR: #1893
- chore: Add codeowners by @ko3n1g :: PR: #1897
- ci: Extend queue-manager for dev branch by @ko3n1g :: PR: #1906
- ci: Move test optimizer into its own bucket by @ko3n1g :: PR: #1909
- ci: Configure cherrypick bot by @ko3n1g :: PR: #1925
- Ci approve dev by @ko3n1g :: PR: #1933
- ci: Update nightly schedule by @ko3n1g :: PR: #1934
- ci: Bump pre-flight for runs on main/dev by @ko3n1g :: PR: #1935
- ci: Allow skipping on main by @ko3n1g :: PR: #1936
- Ko3n1g/ci/pr template community bot by @ko3n1g :: PR: #1937
- ci: More granular unit tests buckets by @ko3n1g :: PR: #1932
- Add sequence packing to RL by @tdene :: PR: #1911
- chore: Update template by @ko3n1g :: PR: #1939
- chore: Add description about who can merge by @ko3n1g :: PR: #1940
- Ko3n1g/ci/fix main on eos by @ko3n1g :: PR: #1938
- Ko3n1g/ci/internal mrs by @ko3n1g :: PR: #1942
- ci: Fix branch of approval bot by @ko3n1g :: PR: #1944
- ci: Approvalbot for other branches by @ko3n1g :: PR: #1947
- ci(fix): Approval bot by @ko3n1g :: PR: #1949
- Ko3n1g/ci/sync branches by @ko3n1g :: PR: #1956
- Ko3n1g/ci/add milestone by @ko3n1g :: PR: #1951
- Remove M-FSDP testing under LTS environment by @shjwudp :: PR: #1959
- ci: Run on push to release branch by @ko3n1g :: PR: #1960
- Fix typo in rl section of CODEOWNERS by @tdene :: PR: #1968
- ci: Update copyright checker by @ko3n1g :: PR: #1973
- Ko3n1g/ci/auto reminder GitHub by @ko3n1g :: PR: #1955
- ci(fix):
Run testslabel by @ko3n1g :: PR: #1970 - Make
get_asyncio_loopsafe to use repeatedly by @tdene :: PR: #1990 - chore: Update codeowners by @ko3n1g :: PR: #2012
- zarr soft deprecation by @dimapihtar :: PR: #2004
- Deduplicate dynamic engine + coordinator. by @lmcafee-nvidia :: PR: #1981
- Update symmetric registration interface to sync-up with upstream pytorch change by @youngeunkwon0405 :: PR: #1924
- Safely access state dict args in load ckpt by @maanug-nv :: PR: #1957
- Allow mixed-batch sampling in dynamic inference by @tdene :: PR: #1927
- Stop Nemo_CICD_Test from failing in forks by @tdene :: PR: #2024
- Clean up dynamic inference step by @tdene :: PR: #1992
- ci: Auto-update copy-pr-bot vetters by @ko3n1g :: PR: #1850
- ci: Fix build-push-wheel workflow by @ko3n1g :: PR: #2022
- ci: Enable integration tests by @ko3n1g :: PR: #2023
- chore: Update tooling for interactive jobs by @ko3n1g :: PR: #2032
- Have datasets account for tokenizers which incorrectly define PAD by @tdene :: PR: #2017
- revert(hotfix): ci: trustees_override by @ko3n1g :: PR: #2041
- add missing warnings import in model parallel config by @yashaswikarnati :: PR: #2039
- Reduce-scatter implementation with FP32 accumulation by @deepakn94 :: PR: #1967
- ci(fix): Workflows on
mainby @ko3n1g :: PR: #2045 - build: Bump modelopt by @ko3n1g :: PR: #2046
- Remove TestCaptureFreezeGC unit test. by @lmcafee-nvidia :: PR: #1978
- ci: Add multi-approval action by @ko3n1g :: PR: #2051
- Ko3n1g/ci/test iteration time by @ko3n1g :: PR: #2067
- Allow inference test throughput to vary by 10% by @mathemakitten :: PR: #2070
- chore: Fix autoformatter by @ko3n1g :: PR: #2073
- ci(hotfix): Bypass approvalbot in merge-queue by @ko3n1g :: PR: #2082
- chore: Update local tooling by @ko3n1g :: PR: #2066
- Add extra RL files by @tdene :: PR: #2077
- Prevent summary jobs from running in forks by @tdene :: PR: #2083
- ci: Fix test scope by @ko3n1g :: PR: #2091
- Refactor the attention metadata into separate classes by @kanz-nv :: PR: #2001
- Guard against incorrectly using MoE prefill graphs by @tdene :: PR: #2030
- Run mr-slim tests in lightweight-mode by @chtruong814 :: PR: #2106
- Inference | Lazy compile UVM allocator. by @lmcafee-nvidia :: PR: #1977
- chore: Reenable trustees by @ko3n1g :: PR: #2108
- Ko3n1g/chore/update release settings by @ko3n1g :: PR: #2097
- ci(fix): Changeset of copyright checker by @ko3n1g :: PR: #2110
- Remove unnecessary check on rotary_pos_cos by @santhnm2 :: PR: #2003
- (Reverted) Inference | Lazy compile UVM allocator. by @lmcafee-nvidia :: PR: #2125
- Refactor Attention Metadata to Separate Classes by @kanz-nv :: PR: #2112
- Refactor model_provider to model_builder format for ModelOpt examples by @AAnoosheh :: PR: #2107
- wandb Inference stats logging by @wdykas :: PR: #2026
- Make
PipelineParallelLayoutalways return str from__repr__by @ananthsub :: PR: #2055 - Add flash_attn_3 as first option for FA3 import by @santhnm2 :: PR: #2010
- Add debugging hint for case when cudagraphs are created but no matching runner is found by @mathemakitten :: PR: #2129
- ci: LTS container by @ko3n1g :: PR: #2133
- Fix param init by @cuichenx :: PR: #2033
- Hotfix to unit tests on hopper FA3 by @tdene :: PR: #2143
- Add BytesIO to safe_globals by @tdene :: PR: #2074
- add deprecation warning for legacy...
Excerpt shown — open the source for the full document.