Repository navigation
chore(video): add final SA-V + CapRL recipe and launchers - #4190
Closed
ehosseiniasl wants to merge 5 commits into
Closed
ehosseiniasl wants to merge 5 commits into
ehosseiniasl wants to merge 5 commits into
Conversation
…attach Video rows attach statically-preprocessed tensors (one <img><image>*k</img> run per tubelet) to vLLM-authored rollout tokens. When vLLM's own expansion disagrees (different per-frame grid or tubelet count), training crashed deep in Megatron with an unattributable 'Expanded-sequence media alignment failed'. Compare the placeholder-run structure of the rollout tokens against the static source tokens before the attach and raise a diagnostic that names the mismatch: run counts, per-run lengths, first mismatching run, num_frames and frame size. Plumbed the tokenizer through attach_static_multimodal_payload's two live call paths (RolloutWorker.run_rollout, run_async_nemo_gym_rollout); verification is a no-op for image-only turns or when no tokenizer is passed. Signed-off-by: ehosseiniasl <[email protected]>
Allow a recipe to load frozen weights from the checkpoint instead of forcing training engines to use dummy initialization. This is required when trainer-to-vLLM refit does not cover a frozen vision tower. Signed-off-by: Ehsan Hosseini Asl <[email protected]>
When the video recipe sets mtp_num_layers=0, clear repeated-layer MTP metadata restored from the step-120 checkpoint before HybridProvider finalization. Otherwise Bridge appends one MTP pattern section and the first training forward fails. This is the minimal NeMo-RL guard required by the video run; no MCore or Megatron-Bridge pin changes are included. Signed-off-by: Pulkit Kumar <[email protected]> Signed-off-by: ehosseiniasl <[email protected]>
Add the combined video-and-tracking recipe plus matched step-120 launchers, including rollout-compatible square video grids, five-step checkpoint cadence, native no-pruning retention, and profile-band labeling. Signed-off-by: Ehsan Hosseini Asl <[email protected]>
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
This was referenced Sep 17, 2026
ehosseiniasl
force-pushed
the
ehsan/super35-video-runtime-compat
branch
from
September 18, 2026 16:28
3cdb351 to
af0c8dd
Compare
Contributor
Author
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.
Scope of this PR
Final experiment configuration only:
Active review stack
Please review and merge in that order. The Gym verifier implementation is reviewed separately in NVIDIA-NeMo/Gym#3504.
Validation
This PR is 2 commits and 6 files. The recomposed four-PR tree is byte-for-byte identical to the original implementation at
f2dd5e60b885b49ea3e0c15e838d7f98092b66f6. Python compilation, launcherbash -n, YAML parsing, and exact-tree comparison pass.