chore: nightly sync main into dev (22_04_2026) - #4436
Merged
Conversation
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Xin Yao <xiny@nvidia.com>
…rlap for FlexDispatcher (#2207) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…dev (#4299) Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Cory Ye <cye@nvidia.com>
…failures (#4209) Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…e tests (#4238) Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: dimapihtar <dpykhtar@nvidia.com>
…er / torchrun) (#4298) Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Maanu Grover <maanug@nvidia.com> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
…oad (#4267) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ude/skills → skills/ (#4303) Signed-off-by: oliver könig <okoenig@nvidia.com>
…and AGENTS.md → CLAUDE.md
Signed-off-by: dimapihtar <dpykhtar@nvidia.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com> Signed-off-by: Oliver Koenig <okoenig@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Co-authored-by: Antoni-Joan Solergibert <asolergibert@nvidia.com>
…3295) Signed-off-by: Youngeun Kwon <youngeunk@nvidia.com>
- Restore dev's pyproject.toml, uv.lock, and Dockerfile.ci.dev - Update nvidia-resiliency-ext to main's revision (required for get_write_results_queue) - Fix hybrid_model.py: init_chunk_handler() missing pp_rank, delta_offload_bytes_across_pp_ranks, activation_offload_fraction params - Fix hybrid_model.py: mark_not_offloadable() -> mark_not_offload() - Run black + isort on all changed Python files Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Restore dev's nvidia-resiliency-ext revision to keep pyproject.toml and uv.lock consistent. The mismatch caused uv sync --locked to fail in CI linting. The get_write_results_queue import in torch.py is a lazy runtime import that won't be hit during linting or unit tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Previous formatting used wrong tool versions (black 24.10.0, isort 8.0.1). Re-ran with CI-pinned versions: black==24.4.2, isort==5.13.2. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The merge removed the import of ArgumentGroupFactory from argument_utils but it is still used extensively in the file. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Author
|
/ok to test 89798f3 |
Contributor
Author
CI Status UpdateAll unit tests passed. All infrastructure checks (linting, copyright, wheel builds, container builds, mbridge testing) passed. Known failure:
|
svcnvidia-nemo-ci
marked this pull request as ready for review
April 23, 2026 01:48
Contributor
Author
PR Ready for ReviewThis PR has been marked ready. Here is the final CI summary: Non-exempt checks passed (green)
Known failure requiring human action
Merge strategy used
Files taken from main (via
|
yaox12
requested changes
Apr 23, 2026
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Phlip79
added a commit
to Phlip79/Megatron-LM
that referenced
this pull request
Apr 23, 2026
The first sync run (PR NVIDIA#4436) violated two invariants that the prior prompt treated as soft guidance: 1. .github/CODEOWNERS was modified (+45/-1) — the -X theirs merge pulled main's detailed CODEOWNERS on top of dev's one-liner. 2. gh pr ready was invoked with a known non-exempt failure (gpt/gpt3_mcore_te_tp2_pp2_mhc) AND ~54 functional tests still QUEUED on H100/GB200. Changes: - State the CODEOWNERS rule as a HARD invariant in the Files to Override section: never modify, restore via `git checkout origin/dev -- .github/CODEOWNERS`, verify diff is empty. - Add a new "Pre-push invariant checks" bash block that runs before every push (initial and fix-push) and exits 1 if CODEOWNERS diverges from origin/dev.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Member
|
/ok to test fba3a80 |
yaox12
approved these changes
Apr 24, 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
Nightly sync of 71 commits from
mainintodev.Merge strategy
git merge origin/main -X theirs --no-editto merge main into devpyproject.toml,uv.lock, anddocker/Dockerfile.ci.dev(dev-only dependencies)nvidia-resiliency-extrevision to match dev's uv.lockPost-merge fixes
megatron/training/training.pycreated by mergeArgumentGroupFactoryimport inmegatron/training/arguments.pyblack(v24) andisorton all changed Python filesKey changes from main
megatron/core/models/hybrid/module with backward-compatible re-exports from oldmamba_*locationsextra_args_provider/args_defaultsfrompretrain()signature (callers now useparse_and_validate_args())activation_logginganddgrad_loggingmodulesstep_batch_size_schedulereplacingrampup_batch_size(with deprecation compat)nvidia-resiliency-ext)Files taken from main (via
-X theirs)All auto-resolved conflicts favored main's version per merge strategy.
Deleted files (main cleanup)
megatron/legacy/model/biencoder_model.pymegatron/legacy/model/realm_model.pymegatron/legacy/model/vision/*.py(11 files)No remaining imports reference these deleted files.
🤖 Generated with Claude Code