-
Notifications
You must be signed in to change notification settings - Fork 550
feat(mllm-v2): Support single-controller for Megatron-Inference. #4009
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5bb259b
Pass pre-expanded media tokens to MLLM.
cspades 62da428
Add tests and lint.
cspades 2152f02
Address more review feedback.
cspades 6cf8a44
Support multimodal Megatron-Inference with NeMo-RL TransferQueue (V2).
cspades 7bce7df
WAR fix for multimodal request checkpoint embedding recompute.
cspades 2ee0d37
Address review feedback and incorporate code from #2957.
cspades f7e892e
Add SC L1 and nightly tests.
cspades 5568079
Fix rebase errors to reenable V2 multimodal with MCore.
cspades e4ee67a
Get rid of rebase artifacts.
cspades 11f2eb7
Restore Gym revision required by multimodal branch
cspades 91286e1
Revert "Restore Gym revision required by multimodal branch"
cspades 319aaa1
Address more review comments.
cspades f87affb
Strengthen reserved port handoff test
cspades 56acacf
Lint.
cspades 81c99e8
Fix rebase error.
cspades 2b064d2
Fix flaky unit tests and test coverage.
cspades 32fbaef
Add a digest to the RL venv cache to automatically refresh stale venv's.
cspades 3e547fa
fix(sc): give vLLM workers the nemo_gym extra by default instead of s…
terrykong 82a0dc5
Revert the cache digest and refresh.
cspades File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
18 changes: 18 additions & 0 deletions
18
...pes/vlm/vlm_grpo-nemotron-omni-30ba3b-clevr-8n4g-megatron-single-controller-async.v1.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| defaults: ./vlm_grpo-nemotron-omni-30ba3b-clevr-8n4g-megatron_generation.v1.yaml | ||
| grpo: | ||
| async_grpo: null | ||
| val_period: 0 | ||
| val_at_start: false | ||
| val_at_end: false | ||
| data_plane: | ||
| enabled: true | ||
| simple: | ||
| num_storage_units: 16 | ||
| async_rl: | ||
| sampler: | ||
| name: in_order | ||
| max_lookahead_versions: 1 | ||
| recompute_kv_cache_after_weight_updates: false | ||
| min_groups_for_streaming_train: ${grpo.num_prompts_per_step} | ||
| max_inflight_prompts: ${mul:${grpo.num_prompts_per_step}, 2} | ||
| max_buffered_rollouts: ${mul:${grpo.num_prompts_per_step}, 2} |
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.