Repository navigation
feat(sc): support colocated MInf #3730
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 14 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c96c02c
feat(sc): support colocated MInf
tdene cec087b
Address PR team review
tdene 8f402a9
Cleanup
tdene 5179da5
Fix rebase
tdene 49e5909
Address reviewer comments
tdene 7d69e96
Address review team comments
tdene e4758f8
Fix checkpointing test
tdene 67c228a
Rollout deadlines account for colocated switching
tdene 275df34
Fix unit test
tdene 0118405
Fix rebase issue
tdene e68a99a
Merge remote-tracking branch 'origin/main' into tde/sc_megatron_coloc…
tdene 335abf6
Add GB200 SC+MInf nightlies
tdene fd0c068
Merge remote-tracking branch 'origin/main' into tde/sc_megatron_coloc…
tdene 77e9e62
Change nightlies to lag4
tdene 9b3ae4a
Update nemo_rl/experience/rollout_manager.py
tdene ae7a461
Merge remote-tracking branch 'origin/main' into tde/sc_megatron_coloc…
tdene 8e9f622
Address reviewer comments
tdene 0d2ada9
lint
tdene 1d2b50d
Merge remote-tracking branch 'origin/main' into tde/sc_megatron_coloc…
tdene 24a578b
Address comments and merge conflicts
tdene 552a2cc
Remove redundant checks and redundant test
tdene 4a36fb6
Merge remote-tracking branch 'origin/main' into tde/sc_megatron_coloc…
tdene 87fb448
Address reviewer comments
tdene 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
9 changes: 9 additions & 0 deletions
9
examples/configs/grpo_math_1B_megatron_generation_colocated_single_controller.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,9 @@ | ||
| defaults: grpo_math_1B_megatron_single_controller.yaml | ||
| policy: | ||
| generation: | ||
| backend: megatron | ||
| colocated: | ||
| enabled: true | ||
| resources: | ||
| gpus_per_node: null | ||
| num_nodes: null |
16 changes: 16 additions & 0 deletions
16
...n2.5-math-1.5b-instruct-1n4g-megatron_generation-noncolocated-single-controller-sync.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,16 @@ | ||
| defaults: ./grpo-qwen2.5-math-1.5b-instruct-1n4g-megatron-single-controller-sync.yaml | ||
| logger: | ||
| log_dir: logs/grpo-qwen2.5-math-1.5b-instruct-1n4g-megatron_generation-noncolocated-single-controller-sync | ||
| wandb: | ||
| name: grpo-qwen2.5-math-1.5b-instruct-1n4g-megatron_generation-noncolocated-single-controller-sync | ||
| checkpointing: | ||
| checkpoint_dir: results/grpo-qwen2.5-math-1.5b-instruct-1n4g-megatron_generation-noncolocated-single-controller-sync | ||
| async_rl: | ||
| sampler: | ||
| max_lookahead_versions: 4 | ||
| max_buffered_rollouts: 160 | ||
| policy: | ||
| generation: | ||
| backend: megatron | ||
| mcore_generation_config: | ||
| kv_cache_management_mode: recompute |
14 changes: 14 additions & 0 deletions
14
.../llm/grpo-qwen2.5-math-1.5b-instruct-1n4g-megatron_generation-single-controller-sync.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,14 @@ | ||
| defaults: ./grpo-qwen2.5-math-1.5b-instruct-1n4g-megatron_generation-noncolocated-single-controller-sync.yaml | ||
| logger: | ||
| log_dir: logs/grpo-qwen2.5-math-1.5b-instruct-1n4g-megatron_generation-single-controller-sync | ||
| wandb: | ||
| name: grpo-qwen2.5-math-1.5b-instruct-1n4g-megatron_generation-single-controller-sync | ||
| checkpointing: | ||
| checkpoint_dir: results/grpo-qwen2.5-math-1.5b-instruct-1n4g-megatron_generation-single-controller-sync | ||
| policy: | ||
| generation: | ||
| colocated: | ||
| enabled: true | ||
| resources: | ||
| gpus_per_node: null | ||
| num_nodes: null |
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
14 changes: 14 additions & 0 deletions
14
.../llm/grpo-qwen2.5-math-1.5b-instruct-1n8g-megatron_generation-single-controller-sync.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,14 @@ | ||
| defaults: ./grpo-qwen2.5-math-1.5b-instruct-1n8g-megatron_generation-noncolocated-single-controller-sync.yaml | ||
| logger: | ||
| log_dir: logs/grpo-qwen2.5-math-1.5b-instruct-1n8g-megatron_generation-single-controller-sync | ||
| wandb: | ||
| name: grpo-qwen2.5-math-1.5b-instruct-1n8g-megatron_generation-single-controller-sync | ||
| checkpointing: | ||
| checkpoint_dir: results/grpo-qwen2.5-math-1.5b-instruct-1n8g-megatron_generation-single-controller-sync | ||
| policy: | ||
| generation: | ||
| colocated: | ||
| enabled: true | ||
| resources: | ||
| gpus_per_node: null | ||
| num_nodes: null |
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.