-
Notifications
You must be signed in to change notification settings - Fork 555
feat: R3 gym notq router replay #2915
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
13 commits
Select commit
Hold shift + click to select a range
6bfbf0b
feat: support R3 router replay for async Gym rollouts
zyzhou5 87b3c9e
test: cover async vLLM routed expert chat attachment
zyzhou5 1e39dd6
fix: preserve R3 routes in async vLLM chat JSON
zyzhou5 c25a0bf
refactor: move async chat R3 hook into mixin
zyzhou5 aefdfaf
test: cover async chat R3 route attachment guards
zyzhou5 8aa2f2f
test: add R3 nightly coverage configs
zyzhou5 0a2718d
test: simplify R3 async nightly names
zyzhou5 ca5ea9b
test: shorten R3 Gym nightly
zyzhou5 25c2f00
test: add R3 recipes to nightly suite
zyzhou5 6b8df98
test: use updated nightly GPU-hour cap
zyzhou5 43d34b5
test: minimize R3 nightly recipes
zyzhou5 f2059d2
Merge branch 'main' into r3-gym-notq-router-replay
yuki-97 58b6af1
increase nightly 3000 -> 3270 (current 3232)
yuki-97 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
24 changes: 24 additions & 0 deletions
24
examples/configs/recipes/llm/grpo-qwen3-30ba3b-10n8g-megatron-cp2-r3-async.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,24 @@ | ||
| defaults: ./grpo-qwen3-30ba3b-8n8g-megatron-cp2-r3.yaml | ||
| grpo: | ||
| async_grpo: | ||
| enabled: true | ||
| in_flight_weight_updates: true | ||
| loss_fn: | ||
| use_importance_sampling_correction: true | ||
| checkpointing: | ||
| checkpoint_dir: results/grpo-qwen3-30ba3b-10n8g-megatron-cp2-r3-async | ||
| policy: | ||
| generation: | ||
| colocated: | ||
| enabled: false | ||
| resources: | ||
| num_nodes: 2 | ||
| gpus_per_node: 8 | ||
| vllm_cfg: | ||
| async_engine: true | ||
| logger: | ||
| log_dir: logs/grpo-qwen3-30ba3b-10n8g-megatron-cp2-r3-async | ||
| wandb: | ||
| name: grpo-qwen3-30ba3b-10n8g-megatron-cp2-r3-async | ||
| cluster: | ||
| num_nodes: 10 |
9 changes: 9 additions & 0 deletions
9
examples/configs/recipes/llm/grpo-qwen3-30ba3b-8n8g-megatron-cp2-r3-tq_simple.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-qwen3-30ba3b-8n8g-megatron-cp2-r3.yaml | ||
| checkpointing: | ||
| checkpoint_dir: results/grpo-qwen3-30ba3b-8n8g-megatron-cp2-r3-tq_simple | ||
| data_plane: | ||
| enabled: true | ||
| logger: | ||
| log_dir: logs/grpo-qwen3-30ba3b-8n8g-megatron-cp2-r3-tq_simple | ||
| wandb: | ||
| name: grpo-qwen3-30ba3b-8n8g-megatron-cp2-r3-tq_simple |
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
22 changes: 22 additions & 0 deletions
22
.../configs/recipes/llm/grpo-qwen3-30ba3b-thinking-swe1-16n8g-megatron-cp2-r3-async-gym.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,22 @@ | ||
| defaults: ../../../nemo_gym/grpo_qwen3_30ba3b_thinking_swe1.yaml | ||
| grpo: | ||
| num_prompts_per_step: 16 | ||
| max_val_samples: 32 | ||
| val_batch_size: 32 | ||
| checkpointing: | ||
| checkpoint_dir: results/grpo-qwen3-30ba3b-thinking-swe1-16n8g-megatron-cp2-r3-async-gym | ||
| enabled: false | ||
| data_plane: null | ||
| policy: | ||
| train_global_batch_size: 128 | ||
| router_replay: | ||
| enabled: true | ||
| generation: | ||
| vllm_cfg: | ||
| enable_prefix_caching: false | ||
| vllm_kwargs: | ||
| enable_chunked_prefill: false | ||
| logger: | ||
| log_dir: logs/grpo-qwen3-30ba3b-thinking-swe1-16n8g-megatron-cp2-r3-async-gym | ||
| wandb: | ||
| name: grpo-qwen3-30ba3b-thinking-swe1-16n8g-megatron-cp2-r3-async-gym |
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.