chore: nightly sync main into dev (08_07_2026) - #5716
Closed
svcnvidia-nemo-ci wants to merge 99 commits into
Closed
Conversation
Signed-off-by: ykarnati <ykarnati@nvidia.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Philip Petrakian <ppetrakian@nvidia.com>
Signed-off-by: wdykas <wdykas@nvidia.com>
Signed-off-by: ykarnati <ykarnati@nvidia.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Keshav Santhanam <ksanthanam@nvidia.com>
Signed-off-by: ykarnati <ykarnati@nvidia.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Laura Dang <laurad@nvidia.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Deepak Narayanan <dnarayanan@nvidia.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Teodor-Dumitru Ene <teodord.ene@gmail.com>
Signed-off-by: shanmugamr1992 <shanmugamr1992@gmail.com> Signed-off-by: Shanmugam Ramasamy <111910568+shanmugamr1992@users.noreply.github.com> Co-authored-by: shanmugamr1992 <shanmugamr1992@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Shanmugam Ramasamy <111910568+shanmugamr1992@users.noreply.github.com>
Signed-off-by: ykarnati <ykarnati@nvidia.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: Jingyue Wu <wujingyue@gmail.com>
Signed-off-by: Philip Petrakian <ppetrakian@nvidia.com>
Signed-off-by: Jingyue Wu <wujingyue@gmail.com>
…and remove legacy modelbuilder functions (#5169) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Signed-off-by: yanghao.666 <yanghao.666@jd.com>
Signed-off-by: Philip Petrakian <ppetrakian@nvidia.com>
…ls) (#5469) Signed-off-by: ilml <tolong@nvidia.com>
Signed-off-by: ykarnati <ykarnati@nvidia.com>
Signed-off-by: Philip Petrakian <ppetrakian@nvidia.com>
svcnvidia-nemo-ci
force-pushed
the
main2dev/08_07_2026
branch
from
July 9, 2026 01:53
2650722 to
7701041
Compare
Contributor
Author
|
/ok to test 7701041 |
svcnvidia-nemo-ci
force-pushed
the
main2dev/08_07_2026
branch
from
July 9, 2026 03:36
7701041 to
592e21a
Compare
Contributor
Author
|
/ok to test 592e21a |
Contributor
Author
|
/ok to test ca090d5 |
- isort import ordering (module_specs, hybrid_block, experts, transformer_block) - remove unused imports (dynamic_engine, gated_delta_net, transformer_block) - take dev's version wholesale for the DSA/experimental-attention cluster (dsa.py, dsa_kernels.py, module_specs, hybrid_layer_specs + 3 DSA tests) to fix AbsorbedMLASelfAttentionSubmodules linear_kv_up_proj schema mismatch; main's #5246 AbsorbedMLA migration is incompatible with dev's absorbed_mla schema and is unused by production code Signed-off-by: svcnvidia-nemo-ci <41898282+claude[bot]@users.noreply.github.com>
Contributor
Author
|
/ok to test 19d5f0f |
Contributor
Author
|
Superseded by today's nightly sync. |
1 similar comment
Contributor
Author
|
Superseded by today's nightly sync. |
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
Nightly sync of
main→devfor 08_07_2026.mainmerged intodev(merge-basefc4597c0c).devc6449f0b2+main509efe6c9.Python lines: +24206 / -5217 across 235 filesStarted from
origin/devand rangit merge origin/main --no-edit(no global-X theirs).Files taken wholesale from
mainWhere main was the more-recent / self-consistent owner and dropped no referenced dev feature:
megatron/training/training.py(see graft note below),megatron/training/initialize.py,megatron/training/datasets/data_samplers.py,megatron/core/optimizer/layer_wise_optimizer.py(auto-merged), and theutilspackage'scommon_utils.pykept dev'sMultiStorageClientFeatureimport..github/scripts/github_slack_utils.py):oncall_manager.py,sync_team_usergroups.py,tools/trigger_internal_ci.py.fine_grained_activation_offload.py+ its test, plus offload hunks inattention.py,multi_latent_attention.py,cuda_graphs.py): main's version is a superset that renamed the internalgroup_commit→group_offload; dev'smax_inflight_offloadsthrottle is already present in main. The one dev fix (fused-group-MLPdelay_offload, PR fix: restore fused group MLP offload in main2dev sync #5493) is preserved via dev'sexperts.py.rl_utils.py(union of imports),agent/api.py,agent/reward_only_agent.py,inference/megatron.py,train_rl.py, and the RL arg definitions inarguments.py. Main removedargs.rl_parallel_generation_tasksin favour ofrollout_granularity.get_rl_parallel_generation_tasks(...); the merged tree uses main's API consistently.dp_cp/expt_dpprocess groups):megatron/training/checkpointing.py— identical function set on both branches; main is newer.examples/post_training/modelopt/finetune.py— main'sbuild_lm_batchrefactor; itsutils.pydeps exist in the merged tree.schedules.py— main's_get_experimental_attention_variant_loss_scale_funcgeneralizes DSA loss scaling and still covers dev's DSA.dynamic_engine.py,config/container.py,config/__init__.py,argument_utils.py,distillation/utils_logits.py,yaml_arguments.py,models/hybrid.py,models/gpt.py(_te_or_local_layer_spec),post_training/checkpointing.py,test_absorbed_mla.py,test_mtp_cuda_graph_inference.py,bert_embedding/embed.py,run_inference_performance_test.py, examples/bert & gpt_dynamic_inference.Files taken wholesale from
dev(dev is the actively-developed owner)pretrain_gpt.py,pretrain_hybrid.py,pretrain_hybrid_flex.py— dev's data pipeline (25/3/1 commits vs main's 3/3/3). The mergedparallel_state.pyauto-merged to dev and providesget_dynamic_data_context_parallel_groups(main'sget_hybrid_data_context_parallel_groupsis absent), so dev's callers are the only consistent choice; the mergedget_batch_on_this_tp_rankimport resolves to dev'scommon_utilsvariant.transformer_layer.py— dev superset (37-commit history, 8 extra methods incl._forward_mlp_output_with_bias,resume_moe_experts_after_partial_cudagraph); dev already has_te_cuda_graph_replay_implthat the auto-mergedtest_cuda_graphs.pyrequires.moe/experts.py— dev superset (37 commits). Preserves dev-only_make_fused_impl_post_forward_hook(used bytest_grouped_mlp.py) and dev's fused-group-MLPdelay_offload; grafted main's mxfp8/nvfp4 offload guard +Fp8Recipe/Fp4Recipeimport.ssm/gated_delta_net.py— dev's context-parallel-layout imports are used in its body.Manual (surgical) union merges
experimental_attention_variant/cluster (dsa.py,dsa_kernels.py,module_specs.py,test_attention_variant_dsa.py): bidirectional divergence — dev owns the DeepSeek-v4 chain (csa.py/deepseek_v4_hybrid_attention.pyare dev-only), main added DSA CP/THD hooks ([split 4/4] Enable DSA CP and THD hooks #5246) +AbsorbedMLA. Built a union:dsa_kernels.py= union of dev's fused kernels + main's dispatch API;dsa.pyexports the union of both public-symbol sets;module_specs.get_dsa_module_spec_for_backendreturnsAbsorbedMLASelfAttention(main) while keeping dev'sdsv4_hybrid/csavariants; the test file is the union of both suites. Verified every symbol imported fromdsa/dsa_kernels/module_specsacross the repo resolves.transformer_config.py— union of dev'sdsv4_hybridvalidation + main'sdsa/AbsorbedMLAvalidation + main'sfused_group_mlprecompute set + dev'smax_inflight_offloadsassert + main's DSA-CP allgather assert.gpt_model.py/hybrid_model.py— union so both dev's_decoder_hidden_states_cache(read by the auto-mergedtext_generation_controller.py, spec-decode) and main's block-scopemtp_decoder_hidden_states(used bytest_mtp_cuda_graph_inference.py) coexist.core/utils.py— main'sper_sequence/per_documentCP-balancing dispatch + dev'scp_group is Nonefallback (required bypretrain_hybrid_flex.py's no-arg call).transformer_block.py— combined imports: dev'sCheckpointManager+ main'scheckpointed_forward/annotate_first_last_layer(all used).inference/utils.py— main's imports +enable_cuda_graphs, kept dev's reformatted kwargs block.copy-pr-bot.yaml— union of the trustee allowlists (preserves dev-onlywplf,sanandaraj5597; adds main's 11 new trustees).API-mismatch fixes (post-merge audit)
training.pynum_floating_point_operations: taking main'straining.pywould have failed the dev regression testtest_num_floating_point_operations.py::test_mla_attention_variants_are_counted(main counts onlySymbols.ATTENTIONand reports zero FLOPs forC/H/W/DMLA-variant layers). Grafted dev'snum_floating_point_operationsand its module-level helper_dsv4_hybrid_self_attention_flops, plus theis_linear_attention_variantimport. All calls verified resolvable.args.hybrid_context_parallel→args.dynamic_context_parallel: main'straining.pyreferenced the deprecated arg (undefined in the mergedarguments.py, which defines onlydynamic_context_parallel). Renamed both references. (self.hybrid_context_parallelonModelParallelConfigis a legitimate deprecated-alias field with a__post_init__shim — left as-is.)experts.py_make_fused_impl_post_forward_hook: restored by taking dev's superset (see above).group_commitcallers remain on the renamedgroup_offloadinterface.Files deleted in dev but NOT restored (intentional dev removals)
All existed at the merge-base, were removed on
dev, are unreferenced in the merged tree, and are test/CI artifacts (not production code):.github/workflows/multi-approval-bot.yml— removed by dev PR ci: Remove multi-approval action from dev branch #3576.tests/test_utils/recipes/h100/bert.yaml,tests/test_utils/recipes/h100/t5.yaml— dev removed; main's ci: Update test configurations to unify legacy scope names #5316 scope-rename touched them but nothing references them.tests/unit_tests/inference/engines/test_cg_admission_gating.py— dev removed; main never modified it after base.Dependency triple & CODEOWNERS
.github/CODEOWNERS,pyproject.toml,uv.lock,docker/Dockerfile.ci.devare byte-identical toorigin/dev(verified). No git-source reconciliation was needed: main's only divergent source is switchingmamba-ssmto a git rev, but dev satisfiesmamba-ssm~=2.2via a newer PyPI wheel (2.3.1) and main's merged code uses only stock mamba APIs.Pre-push advisory findings — disposition
TensorReusePool, removed by main PR Optimize memory usage of partial CUDA graphs #5451 "Optimize memory usage of partial CUDA graphs" — unreferenced in the merged tree). The two genuine dropped-dev-feature regressions it would have caught (_make_fused_impl_post_forward_hookandnum_floating_point_operations/_dsv4_hybrid_self_attention_flops) were identified and fixed (see API-mismatch fixes above). A targeted "dev-only public API referenced elsewhere but now missing" re-scan returns no remaining real drops.Conflict resolutions (remerge-diff)
The full
git show --remerge-diff HEAD(only the conflict resolutions, ~11.8k lines) is large; the 63 files it touches are exactly the conflicted set listed above. Reviewers can inspect any single resolution with:🤖 Generated with Claude Code