Repository navigation
fix(vlm): preserve cached video source timing - #4310
Draft
ehosseiniasl wants to merge 1 commit into
Draft
ehosseiniasl wants to merge 1 commit into
ehosseiniasl wants to merge 1 commit into
Conversation
This was referenced Sep 28, 2026
ehosseiniasl
force-pushed
the
ehsan/main-video-mopd-vllm029
branch
from
October 1, 2026 00:43
7144ec4 to
1af34b1
Compare
ehosseiniasl
force-pushed
the
ehsan/main-video-cached-timing-vllm029
branch
from
October 1, 2026 00:43
a83006a to
39381a4
Compare
Signed-off-by: ehosseiniasl <[email protected]>
ehosseiniasl
force-pushed
the
ehsan/main-video-mopd-vllm029
branch
from
October 1, 2026 06:48
1af34b1 to
ddaaa95
Compare
ehosseiniasl
force-pushed
the
ehsan/main-video-cached-timing-vllm029
branch
from
October 1, 2026 06:48
39381a4 to
0bd5bb0
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.
Summary
_video_frame_indexand_video_fpsfrom cached-video JSONL rows during policy preprocessingThis is the current-
mainadaptation of #4309, stacked after the video/MOPD main-port PRs. Current main consolidates the environment path innemo_gym_multimodal.py, so the environment-side change is adapted there.Why
Uniformly sampled CapRL frames were being relabeled as sequential frames at 1 FPS. The rendered frame timestamps therefore described cache positions rather than source-video time, mismatching timestamp questions and labels. With timing-aware JSONL, source indices
[0, 6]at 23.976 FPS render approximately0.00sand0.25s.The raw question and answer choices are retained unchanged. The frame timing metadata is preserved so preprocessing renders the correct timestamps into the model prompt.
Validation
python3 -m compileallpasses for all four changed filesgit diff --checkpassesFull focused execution is being run in the vLLM 0.29 validation container before the video RL smoke run.