Add Cosmos3 action modality#4102
Merged
lishunyang12 merged 21 commits intoJun 3, 2026
Merged
Conversation
Signed-off-by: Maciej Bala <mbala@nvidia.com>
Signed-off-by: Maciej Bala <mbala@nvidia.com>
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
…lags Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
Signed-off-by: lishunyang12 <lishunyang12@163.com>
…nd tokenizer Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1b410e6601
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
1b410e6 to
aab40ee
Compare
Signed-off-by: Bartosz Stefaniak <bstefaniak@nvidia.com>
5 tasks
Collaborator
|
Let's test it and update the recipe for other three models in the series. |
lishunyang12
approved these changes
Jun 3, 2026
Signed-off-by: lishunyang12 <lishunyang12@163.com>
Collaborator
Recipe docs for the action modality are included in this PR ( |
Signed-off-by: lishunyang12 <lishunyang12@163.com>
Signed-off-by: lishunyang12 <lishunyang12@163.com>
Signed-off-by: lishunyang12 <lishunyang12@163.com>
david6666666
pushed a commit
to david6666666/cosmos
that referenced
this pull request
Jun 3, 2026
The recipes are being relocated from recipes/nvidia to recipes/cosmos3 in vllm-project/vllm-omni#4102; update the links to the new path. Signed-off-by: lishunyang12 <lishunyang12@163.com>
foreverlms
pushed a commit
to NVIDIA/cosmos
that referenced
this pull request
Jun 4, 2026
The "Generator with vLLM-Omni" section has some stale references now that the upstream PRs have landed. **Compatibility status paragraph** - #3454 (text-to-image / text-to-video / image-to-video) is merged on vllm-omni `main`, not "being upstreamed." - video-with-sound (vllm-project/vllm-omni#4073) is also merged — it's listed as a pending follow-up. - Action is still in review (vllm-project/vllm-omni#4102); video-to-video is still planned. - Linked the maintained recipes (Cosmos3-Nano / Cosmos3-Super) for per-modality usage. **Install snippet** - Since #3454/#4073 are merged, install from `main` instead of the `@refs/pull/3454/head` PR ref. **Dead link** - `examples/online_serving/cosmos3` 404s (it doesn't exist on `main`, and isn't added by #4102). Repointed both references to the maintained `recipes/nvidia`. Scoped to the vLLM-Omni section; Docker quick-start and parallelism options left as-is. --------- Signed-off-by: lishunyang12 <lishunyang12@163.com> Co-authored-by: lishunyang12 <lishunyang12@163.com>
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.
Purpose
This PR is a follow-up to #3454 and #4073, it adds action policy/forward dynamics/inverse dynamics generation.
Cosmos3 model is available under https://huggingface.co/nvidia/Cosmos3-Nano (and more variants)
Test Plan
Unit tests
cd tests; python -m pytest -v -m "core_model and cpu"Added 4 new tests, updated 9 existing ones to also support action modality
Serving tests
Host server with:
vllm serve nvidia/Cosmos3-Nano --omniForward dynamics:
Policy:
Online inference of inverse dynamics will be added in follow-up MR
Test Result
3185 passed, 15 skipped, 1533 deselected, 55 warnings in 227.68s (0:03:47)Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model. Please runmkdocs serveto sync the documentation editions to./docs.BEFORE SUBMITTING, PLEASE READ https://github.com/vllm-project/vllm-omni/blob/main/CONTRIBUTING.md (anything written below this line will be removed by GitHub Actions)