chore(beep boop 🤖): Bump uv.lock (main, mcore-dev) (2026-04-18) - #3404
chore(beep boop 🤖): Bump uv.lock (main, mcore-dev) (2026-04-18)#3404svcnvidia-nemo-ci wants to merge 3 commits into
uv.lock (main, mcore-dev) (2026-04-18)#3404Conversation
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
/ok to test 8e1cb75 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR updates the commit hash in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
TECudaGraphHelper and VisionTECudaGraphHelper on mcore dev branch do not accept pg_collection. Use inspect.signature to conditionally pass the kwarg only when the mcore version supports it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test c5428ba |
…reprocessing MCore's unwrap_model now strips the MegatronFSDP layer (added in NVIDIA/Megatron-LM#4273), so preprocess_fsdp_dtensor_state_dict receives a fully unwrapped GPTModel. The downstream MCore functions (handle_swiglu_in_state_dict, handle_gdn_in_state_dict) call model.get_parameter("module.{key}") which requires a .module wrapper. Re-wrap the model when it arrives without one. Fixes: AttributeError: GPTModel has no attribute `module` Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
|
/ok to test b55dd73 |
There was a problem hiding this comment.
As a quick WAR to the Megatron-FSDP error, it's fine. But the DEV PR causing this error is here: NVIDIA/Megatron-LM#4273
| # MCore FSDP functions (handle_swiglu_in_state_dict, handle_gdn_in_state_dict) | ||
| # expect model.get_parameter("module.{key}") to resolve through a wrapper's | ||
| # .module attribute. Since MCore's unwrap_model now also strips the | ||
| # MegatronFSDP layer, the model arriving here may be fully unwrapped. | ||
| # Re-wrap it so the "module." parameter lookups succeed. | ||
| if not hasattr(model, "module"): | ||
| _wrapper = torch.nn.Module() | ||
| _wrapper.module = model | ||
| model = _wrapper |
There was a problem hiding this comment.
Hmm. So we yanked out Megatron-FSDP.module with unwrap_model (MCore dev) and now we're generating a state dictionary with a dummy Module wrapping.
I think this hack is a WAR for the direct error, and even if we put Megatron-FSDP back, not hasattr(model, "module") will be False, so then this code will not be run.
|
If @wplf reverts NVIDIA/Megatron-LM#4273 -> NVIDIA/Megatron-LM#4393 we don't need the Megatron-FSDP fix anymore. No promises whether the current DEV branch would work, if you spot any issue with checkpointing please ping me. Can do another Megatron-Core DEV bump after the reversion PR is merged into DEV. |
|
Superseded by newer 2026-04-27 bump PR. |
🚀 PR to bump
uv.lockinmain.🤖 This PR will be merged automatically once CI passes.
Summary by CodeRabbit