Add NIM inference path for the Cosmos 3 Reasoner#175
Merged
Conversation
7d63992 to
ea5be36
Compare
saeid-nvidia
reviewed
Jun 1, 2026
|
|
||
| Video inputs use the `video_url` content type and accept `media_io_kwargs` | ||
| frame-sampling controls through `extra_body` | ||
| (`{"media_io_kwargs": {"video": {"fps": 3.0}}}`). See the |
There was a problem hiding this comment.
default fps is 4, maybe change it to 4 for consistency.
saeid-nvidia
reviewed
Jun 1, 2026
Comment on lines
+180
to
+181
| assets are sent as base64 data URIs and video frame sampling is controlled with | ||
| NIM's `media_io_kwargs` instead of the vLLM-cosmos3 `mm_processor_kwargs`. Each |
There was a problem hiding this comment.
This sentence says NIM uses media_io_kwargs instead of mm_processor_kwargs. These are actually different controls:
media_io_kwargs is for frame sampling (fps, num_frames), video decoder level
mm_processor_kwargs is for pixel budget (shortest/longest edge), model processor level
Both work in NIM. You can remove it or say "video frame sampling is controlled with media_io_kwargs, while spatial resolution is controlled with mm_processor_kwargs."
ea5be36 to
cfcd7ae
Compare
saeid-nvidia
approved these changes
Jun 1, 2026
spectralflight
approved these changes
Jun 1, 2026
Collaborator
|
@KrzysztofTomala some conflicts might be resolved. THX! |
cfcd7ae to
dd87dc3
Compare
Contributor
Author
|
@lfengad I have resolved the conflicts |
lfengad
approved these changes
Jun 2, 2026
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.
Add NIM inference path for the Cosmos 3 Reasoner