Repository navigation
feat(video): add SA-V tracks verifier - #3504
Open
ehosseiniasl wants to merge 2 commits into
Open
ehosseiniasl wants to merge 2 commits into
ehosseiniasl wants to merge 2 commits into
Conversation
ehosseiniasl
force-pushed
the
ehsan/sav-tracks-video-verifier-final
branch
from
September 17, 2026 22:11
6c84245 to
bc0b3a9
Compare
This was referenced Sep 17, 2026
ehosseiniasl
force-pushed
the
ehsan/sav-tracks-video-verifier-final
branch
2 times, most recently
from
September 28, 2026 20:48
e63dadc to
25e2c50
Compare
ehosseiniasl
force-pushed
the
ehsan/sav-tracks-video-verifier-final
branch
from
October 1, 2026 00:37
25e2c50 to
91e4535
Compare
Add the SA-V tracks-schema verifier used by combined SA-V and CapRL video GRPO training, including point, box, and text-referred tracking rewards, config, example data, documentation, and focused tests. Co-authored-by: Pulkit Kumar <pulkitk@nvidia.com> Signed-off-by: ehosseiniasl <ehsan.hosseiniasl@gmail.com>
Signed-off-by: ehosseiniasl <ehsan.hosseiniasl@gmail.com>
ehosseiniasl
force-pushed
the
ehsan/sav-tracks-video-verifier-final
branch
from
October 1, 2026 05:42
e33ddd8 to
a78d805
Compare
khazic
pushed a commit
to khazic/Gym-lao
that referenced
this pull request
Oct 15, 2026
## Summary - Add the SA-V tracking verifier and its server configuration. - Declare the SA-V environment servers used by video RL. - Add portable five-row example data, schema, metrics, and checked rollout artifacts. ## Why This is the Gym-side verifier foundation for mixed SA-V tracking and CapRL video training in NeMo-RL. No separate issue is needed; this is part of the Super 3.5 video RL upstreaming stack. ## Validation - Runtime evidence: the [healthy 16-node async `r18` W&B run](https://wandb.ai/adlr/Nemotron-omni-RL-debug/runs/oci-hsg-cs-001_n3post_main_1d76d243b_vllm029_super35_video_step120_async16n_trainmb45056_expandable_uncapped_r18_20261003) shows repeated GRPO cycles, stable TMPE, and increasing reward on the equivalent video implementation. - `gym dataset collate ... +mode=example_validation`: 5 examples; generated `data/example_metrics.json`. - Focused validation: 25 verifier tests and all 5 example rows against `task_data.py` passed. - Ruff format and lint passed for the changed Python files. - Both Gym stack ranges pass `git diff --check`. ## Rollouts `data/example_rollouts.jsonl` contains one checked rollout for each of the five example rows. Representative task checks: - `pt`: `<answer>{"tracks":[{"point":1,"frame":1,"xy":[500,500],"visible":true}]}</answer>` — `format_ok=true`, reward `1.0`, visible-frame mask membership `true`. - `box`: `<answer>{"tracks":[{"box":1,"frame":1,"bbox":[250,250,750,750],"visible":true}]}</answer>` — `format_ok=true`, reward `1.0`, frame IoU `1.0`. - `ref`: `<answer>{"tracks":[{"id":7,"frame":1,"xy":[500,500]}]}</answer>` — `format_ok=true`, reward `1.0`, predicted id `7` assigned to the GT object and mask membership `true`. The artifact also contains visible/invisible `pt` coverage and an all-absent `ref` negative case, preserving the verifier's current unmatched-ID behavior. ## Compatibility Adds a new verifier/configuration and does not change unrelated environments. Example media is embedded as a small inline JPEG, so no employee or cluster-local paths are required. ## Stack Gym PR 1 of 2. Consolidates and supersedes the implementation scope of NVIDIA-NeMo#3504 after review history is preserved. ## Consolidated stack links ### Gym 1. [Gym NVIDIA-NeMo#3999 — SA-V tracking verifier](NVIDIA-NeMo#3999) 2. [Gym NVIDIA-NeMo#4000 — R3 routing replay and rollout identity](NVIDIA-NeMo#4000) ### NeMo-RL 1. [NeMo-RL NVIDIA-NeMo#4472 — Super video data and model loading](NVIDIA-NeMo/RL#4472) 2. [NeMo-RL NVIDIA-NeMo#4473 — RL/MOPD video frame contract](NVIDIA-NeMo/RL#4473) 3. [NeMo-RL NVIDIA-NeMo#4474 — sync/async Gym routing runtime](NVIDIA-NeMo/RL#4474) 4. [NeMo-RL NVIDIA-NeMo#4475 — SA-V pin and CI fixtures](NVIDIA-NeMo/RL#4475) 5. [NeMo-RL NVIDIA-NeMo#4476 — final dependency pins](NVIDIA-NeMo/RL#4476) ### Child dependency refs - [MCore integration ref](https://github.com/ehosseiniasl/Megatron-LM/tree/ehsan/video-r3-mtp-gradient-integration-20261004), adapting [MCore #7278](NVIDIA/Megatron-LM#7278) and [MCore #7279](NVIDIA/Megatron-LM#7279) to the pinned base. - [MBridge integration ref](https://github.com/NVIDIA-NeMo/Megatron-Bridge/tree/ehsan/video-r3-mcore-pin-integration-20261004). --------- Signed-off-by: ehosseiniasl <ehsan.hosseiniasl@gmail.com> Co-authored-by: Pulkit Kumar <pulkitk@nvidia.com>
This was referenced Oct 22, 2026
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.
Summary
Adds the SA-V tracks-schema resource server used by the combined SA-V + CapRL video GRPO teacher run.
This is a video-only commit, rebased onto current Gym
main.Validation
resources_servers/sav_tracks/tests/test_app.py: 25 passedgit diff --check: cleanAuthored by Pulkit Kumar; branch prepared by @ehosseiniasl for the final Super 3.5 video training handoff.
Current-main and full-stack validation — 2026-09-30
mainis nowda3c2044; this PR head25e2c505merges cleanly with it. The non-destructive synthetic merge produced treeda2b72f9ea42c8087200a421e38d5609b66c55dc,git diff --checkpassed, and the completeresources_servers/sav_tracksimplementation and tests remain present.7557507completed 96 consecutive optimizer/refit/wake cycles and exited cleanly at its planned wall-time boundary with Slurm exit 0:0: https://wandb.ai/adlr/Nemotron-omni-RL-debug/runs/d2f77jk17560433completed five consecutive 128-group / 2,048-sequence optimizer-and-refit cycles with mixed CapRL and SA-V rewards, clearing the prior update-2 allocator OOM: https://wandb.ai/adlr/Nemotron-omni-RL-debug/runs/o2ew7b6e