Repository navigation
fix(grpo): preserve and bind NeMo Gym rollout routing - #4328
Draft
ehosseiniasl wants to merge 2 commits into
Draft
ehosseiniasl wants to merge 2 commits into
ehosseiniasl wants to merge 2 commits into
Conversation
ehosseiniasl
force-pushed
the
ehsan/main-video-frame-contract-entrypoints-vllm029
branch
from
September 29, 2026 08:38
9fe29fa to
a5a7623
Compare
ehosseiniasl
force-pushed
the
ehsan/main-video-sync-gym-routing-vllm029
branch
from
September 29, 2026 08:39
996084c to
93dfc19
Compare
ehosseiniasl
force-pushed
the
ehsan/main-video-sync-gym-routing-vllm029
branch
from
October 1, 2026 00:43
da5516c to
747938f
Compare
ehosseiniasl
force-pushed
the
ehsan/main-video-frame-contract-entrypoints-vllm029
branch
from
October 1, 2026 00:43
a5a7623 to
8dfeaf5
Compare
Signed-off-by: ehosseiniasl <[email protected]>
Signed-off-by: ehosseiniasl <[email protected]>
ehosseiniasl
force-pushed
the
ehsan/main-video-sync-gym-routing-vllm029
branch
from
October 1, 2026 06:48
747938f to
f538843
Compare
ehosseiniasl
force-pushed
the
ehsan/main-video-frame-contract-entrypoints-vllm029
branch
from
October 1, 2026 06:48
8dfeaf5 to
a0de8be
Compare
This branch has not been 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.
Stacked on #4327.
Summary
nemo_gymregistered as NeMo Gym when the synchronous response-data path uses a VLM policyvlmenvironmentsetup()to the canonicalnemo_gymtrain and validation routes in both GRPO entrypointsKeyError: 'nemo_gym'Why both changes are required
Dataset setup preserves the logical NeMo Gym route, but worker setup owns the actual Gym actor because it must target the generation endpoints reserved during initialization. The rollout API reads that actor from
task_to_env["nemo_gym"]; retaining only dataset task mappings is insufficient.Validation
7538601, 32 GPUs, exit0:0, one optimizer step, all64/64rollouts completed, zero sequence-error masks, zero invalid tool calls, and zero malformed-thinking responses7536698, 64 GPUs, exit0:0, one optimizer step over 128 prompt groupsSustained vLLM 0.29 validation — 2026-09-30
7557507, 32 GPUs. It completed 96 consecutive rollout/logprob/optimizer/refit/wake cycles and stopped normally at its planned wall-time boundary with Slurm exit 0:0, using full context65536, max output16384, and 64 frames. W&B: https://wandb.ai/adlr/Nemotron-omni-RL-debug/runs/d2f77jk17560433, 64 GPUs. It completed five consecutive 128-group / 2,048-sequence optimizer-and-refit cycles and cleared the exact update-2 allocator-fragmentation OOM seen in the prior sustained run. Update 1 refit took11.194s; update 2 refit took11.022s. W&B: https://wandb.ai/adlr/Nemotron-omni-RL-debug/runs/o2ew7b6e0.0029460, TMPE1.0287239, generation KL0.0034557, reward0.6441926, two high-TMPE masks, and zero dropped/replaced prompt groups. The actual trainer workers were verified withPYTORCH_CUDA_ALLOC_CONF=expandable_segments:True.bfloat16and vLLM KV-cache dtypeauto; both validations used vLLM0.29.0.