chore: nightly sync main into dev (22_06_2026) - #5430
Merged
Conversation
Signed-off-by: Teodor-Dumitru Ene <teodord.ene@gmail.com>
Signed-off-by: Asha Anoosheh <aanoosheh@nvidia.com>
Signed-off-by: Teodor-Dumitru Ene <teodord.ene@gmail.com> Co-authored-by: Jorge Albericio <jalbericiola@nvidia.com>
Signed-off-by: Pranav Prashant Thombre <pthombre@nvidia.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: janEbert <janpabloe@nvidia.com> Signed-off-by: Philip Petrakian <ppetrakian@nvidia.com> Co-authored-by: Philip Petrakian <ppetrakian@nvidia.com>
Signed-off-by: Helen Ngo <helenn@nvidia.com>
Signed-off-by: Teodor-Dumitru Ene <teodord.ene@gmail.com> Co-authored-by: Jorge Albericio <jalbericiola@nvidia.com>
Signed-off-by: Helen Ngo <helenn@nvidia.com>
Signed-off-by: Teodor-Dumitru Ene <teodord.ene@gmail.com>
Signed-off-by: ykarnati <ykarnati@nvidia.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Shijie Wang <jaywan@nvidia.com>
#5347) Signed-off-by: Ajay Balasa <abalasa@nvidia.com>
…izer) (#5333) Signed-off-by: ykarnati <ykarnati@nvidia.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
#5360) Signed-off-by: oliver könig <okoenig@nvidia.com>
… module globals (#5351) Signed-off-by: ilml <tolong@nvidia.com>
Signed-off-by: Keshav Santhanam <ksanthanam@nvidia.com>
…h space buffers (#5348) Signed-off-by: Keshav Santhanam <ksanthanam@nvidia.com>
Signed-off-by: Teodor-Dumitru Ene <teodord.ene@gmail.com>
Signed-off-by: Teodor-Dumitru Ene <teodord.ene@gmail.com> Co-authored-by: Teodor-Dumitru Ene <teodord.ene@gmail.com>
Signed-off-by: sraman <sraman@nvidia.com>
Signed-off-by: Jingyue Wu <wujingyue@gmail.com>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: Jingyue Wu <wujingyue@gmail.com>
Signed-off-by: Jingyue Wu <wujingyue@gmail.com>
…5082) Signed-off-by: hongbinl <hongbinl@nvidia.com>
Signed-off-by: ykarnati <ykarnati@nvidia.com>
…5372) Signed-off-by: ykarnati <ykarnati@nvidia.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
/ok to test 213314b |
Contributor
Author
|
Superseded by today's nightly sync. |
Signed-off-by: hongbinl <hongbinl@nvidia.com> Signed-off-by: svcnvidia-nemo-ci <svc-nvidia-nemo-ci@nvidia.com>
Phlip79
force-pushed
the
main2dev/22_06_2026
branch
from
June 25, 2026 16:14
213314b to
f6c77e7
Compare
Member
|
/ok to test f6c77e7 |
Phlip79
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Automated nightly sync of
main→devfor 22_06_2026.origin/mainintoorigin/dev(merge commit,origin/dev+origin/mainparents preserved).Python lines: +6198 / -395 across 41 files(excludesuv.lock, golden-value JSON, etc.).mainadvanced by 3 commits after it merged. Those 3 newest commits are included here:fc4597c0cDisag MR1: Add inference shard specs and pg-collection building (Disag MR1: Add inference shard specs and pg-collection building #5186)ae2efd53aDisag MR2: Refit into multiple destination pools and tied-embedding + UVM fixes (Disag MR2: Refit into multiple destination pools and tied-embedding + UVM fixes #5187)57c484e02Fix Mamba prefix match for chunked prefill (Fix Mamba prefix match for chunked prefill #4758)Merge strategy
Started from
origin/dev, rangit merge origin/main --no-edit, and resolved 16 conflicts surgically (no global-X theirs). The dev branch has a substantially diverged inference stack; conflicts were resolved to preserve dev features. Post-review exceptions are documented below:theoretical_memory_usage.pyintentionally favors main's LatentMoE memory-accounting fix from #5145, and #5493 restores main's fused group MLP offload support from #5082.Dependency triple & governance — kept dev's versions verbatim
pyproject.toml,uv.lock,docker/Dockerfile.ci.dev— identical to dev (dev's TE revision,emerging_optimizersv0.3.0,nvidia-resiliency-ext, PyPImamba-ssm). No git-source reconciliation needed..github/CODEOWNERS— identical to dev (never modified).Files taken from main (override list)
megatron/training/training.py— main's version (RL-inference import retargeted tomegatron.core.inference.shards).initialize.py,datasets/data_samplers.py,optimizer/layer_wise_optimizer.py— resolved to dev (already equal to dev; consistent with dev-basedarguments.py).Conflicts resolved toward dev (diverged inference / MLA / offload stacks)
multi_latent_attention.py,absorbed_mla.py,fine_grained_activation_offload.py,rope_utils.py,gpt_model.py,moe/experts.py,moe/router.py,transformer_config.py,checkpointing.py,pretrain_gpt.py,pretrain_hybrid.py, inferenceconfig.py/text_generation_controller.py/mamba_slot_allocator.py, and matching unit tests.arguments.pyresolved to dev + the new--inference-shardsarg.Intentional main-over-dev follow-up
megatron/training/theoretical_memory_usage.pyand restored its focused unit test intests/unit_tests/training/test_weight_and_optimizer_memory.py. This intentionally replaces the old dev routed-expert formulas; main merge commit:1bcb3b9e0b029c6109d8d32872645bd540052963.fine_grained_activation_offload.py,moe/experts.py,transformer_config.py, docs, and the matching offload tests. This intentionally replaces the older dev-only documentation/config/code paths forexpert_fc1/moe_act-only offload; main merge commit:5c660c3b4a9d91e7ed32997b56cd6d333ed04bc5.New
mainfeatures brought in additivelymegatron/core/inference/shards.py,shards_spec.py,tests/unit_tests/inference/test_inference_shards.py— the inference shard-spec API +--inference-shardsarg (Disag MR1). Self-contained (only depend onmpu/HyperCommGrid/ProcessGroupCollection), wired througharguments.py→shards_spec.py.megatron/training/distillation/*),megatron/rl/rl_profiling.py, FSDPexperimental/*, MIMO runtime, and all cleanly-merged main changes.Deferred (kept dev; needs human reconciliation)
The runtime integration from the 3 newest commits modifies dev files that have diverged reimplementations, so taking main would drop dev lines (guard violation). Deferred to keep dev's stack intact and CI green:
_find_mamba_match_count/ prefix-match implementation indynamic_engine.py/dynamic_context.py.refit.py,dynamic_engine.py,dynamic_context.py,benchmark_refit.py, and the CUDA-graph admission-gating path kept at dev. (planner.py/unified_memory.pycame in as main's purely-additive versions; cross-boundary imports verified.)Deletions / restorations
.github/workflows/sync-skills.yml— removed, matching main's intentional deletion (41dbab44a, ci: Remove sync skills workflow #5091). Dev's removal ofmulti-approval-bot.yml(ci: Remove multi-approval action from dev branch #3576) and theh100/{bert,t5}.yamlrecipes is preserved.megatron/rl/parallel_utils.py— restored to dev. Main movedbuild_inference_pg_collectionintoshards.py; since the Disag refit refactor is deferred, dev'sbenchmark_refit.py/test_model_swap.pycallers still need it. Both modules coexist (no broken imports).tests/unit_tests/inference/engines/test_cg_admission_gating.py— not included (main-new test for the admission-gating path, which is deferred with dev'sdynamic_engine.py).Local validation
1bcb3b9e0b029c6109d8d32872645bd540052963) and [feat] Support fine-grained activation offloading in fused group mlp #5082/fix: restore fused group MLP offload in main2dev sync #5493 (5c660c3b4a9d91e7ed32997b56cd6d333ed04bc5).megatron/core+tests/): black, isort, ruff clean; pylint 10.00/10.CI to follow via
/ok to test.