Repository navigation
Conversation
Signed-off-by: Tyler Poon <tpoon@nvidia.com>
matthieule
approved these changes
Sep 24, 2026
jaredcasper
approved these changes
Sep 28, 2026
tylerpoon
enabled auto-merge
September 28, 2026 18:01
Contributor
Author
|
/ok to test 982d863 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA/Megatron-LM/actions/runs/36495942402 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA/Megatron-LM/actions/runs/36508505601 |
tylerpoon
deleted the
tpoon/fix-multimodal-full-dataset-resume-pr-20260923
branch
September 29, 2026 04:30
This branch was previously deployed
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
Fix multimodal checkpoint resume with
--train-full-datasetand strict dataloader-state restoration.The training-horizon probe runs before model/optimizer checkpoint setup. Previously it reset
args.iterationto zero and invoked the real dataloader provider with restoration enabled. A run resuming a valid nonzero checkpoint consequently looked for dataloader state at iteration zero and failed before training.args.iteration.Only providers opting into
supports_train_full_datasetuse this path. Opt-in providers must accept the newrestore_dataloader_statekeyword. No model math, optimizer, checkpoint format, or ordinary non-opt-in training path is changed.Validation
7de072aa9e; all 30 focused tests passed again on each of four GPU ranks on PR commit8a6f9d674d.The private launchers, datasets, production-specific scripts, and diagnostic-only metric hooks are deliberately excluded. Historical MTP/norm reporting differences are being investigated separately; no speculative model/optimizer changes are included here.