feat(video): add Gym support for sync and async GRPO - v2 - #3648
Conversation
785eeab to
c7adbfe
Compare
|
This video path is static prompt video only: one clip known before rollout, processed on the driver, then glued onto the first user turn. That matches image Gym for the initial prompt pixels, but not for env-produced media. Image GRPO indexes
A future multi-turn env that returns a new Fine for the current recipes (mp4 is in the user prompt). If later Gym tasks emit video mid-trajectory, video needs the image shape: Gym returns Worth stating so this is not mistaken for a general video-Gym contract. |
|
Please drop The in-tree recipes already cover the productized config:
I do not see author names or |
Signed-off-by: Ehsan Hosseini Asl <ehsan.hosseiniasl@gmail.com>
Address all actionable review comments for PR #3648. - centralize image, video, and audio content aliases across preprocessing - validate cached frames as one video source and normalize local image aliases - align Nemotron Omni tubelet placeholders and timestamps with vLLM metadata - materialize one strict frame-sampling contract for rollout and policy paths - reattach deduplicated media to sync and async Gym message logs consistently - remove obsolete optional-epoch handling from SingleController step clamping - document video runtime, cache, epoch, and raw-TMPE contracts - add focused config, media, vLLM, and executable 2n/16n regression coverage Signed-off-by: Ehsan Hosseini Asl <ehsan.hosseiniasl@gmail.com>
c7adbfe to
fda58a4
Compare
Address all actionable review comments for PR #3648. - centralize image, video, and audio content aliases across preprocessing - validate cached frames as one video source and normalize local image aliases - align Nemotron Omni tubelet placeholders and timestamps with vLLM metadata - materialize one strict frame-sampling contract for rollout and policy paths - reattach deduplicated media to sync and async Gym message logs consistently - remove obsolete optional-epoch handling from SingleController step clamping - document video runtime, cache, epoch, and raw-TMPE contracts - add focused config, media, vLLM, and executable 2n/16n regression coverage - pin Gym to merged video Responses API integration NVIDIA-NeMo/Gym#2324 Signed-off-by: Ehsan Hosseini Asl <ehsan.hosseiniasl@gmail.com>
fda58a4 to
3b96de2
Compare
|
/ok to test 40e3161 |
|
/ok to test 9a64fea |
Signed-off-by: rohitrango <rohit.rango@gmail.com>
|
/ok to test 54f5234 |
Signed-off-by: rohitrango <rohit.rango@gmail.com>
1 similar comment
|
/ok to test a99a34c |
|
/ok to test ef5ac5e |
Summary
Add end-to-end static-prompt video support for NeMo Gym GRPO with synchronous and asynchronous Megatron training.
This PR:
Scope
This integration supports static prompt media: one video known before rollout and attached to the initial user turn. Environment-produced video in later trajectory turns is not supported by this PR.
Generic GRPO step-limit semantics, SingleController behavior, async lifecycle/checkpoint changes, and unrelated refit ordering are intentionally outside this PR. It does not patch vLLM source interpolation behavior.
Validation
704 passed, 6 skippedacross recipe/config, dataset conversion, Gym video, multimodal rollout, Nemotron preprocessing, and stock-vLLM compatibility coverage.Related integrations
feat(video): enable canonical Nemotron Omni training for V2 MoE checkpointsfeat(video): support video inputs in vLLM responsesBoth upstream integrations are merged, and the RL submodules are pinned to commits containing them. No separate Megatron-LM change is required.