From 424df4f65df39a6e91f70e031e3c32b479501b25 Mon Sep 17 00:00:00 2001 From: Mingfei Guo <52491257+guoriyue@users.noreply.github.com> Date: Fri, 10 Jul 2026 01:35:15 -0700 Subject: [PATCH] [Model][CI/Build] Cosmos3: enable registry tests and register Cosmos3-Super (#48211) Signed-off-by: Mingfei Guo <1800012773@pku.edu.cn> --- docs/models/supported_models.md | 2 +- tests/models/multimodal/generation/test_common.py | 6 ++++++ tests/models/registry.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/models/supported_models.md b/docs/models/supported_models.md index f73ffd17c8..307025ff19 100644 --- a/docs/models/supported_models.md +++ b/docs/models/supported_models.md @@ -512,7 +512,7 @@ These models primarily accept the [`LLM.generate`](./generative_models.md#llmgen | `ChameleonForConditionalGeneration` | Chameleon | T + I | `facebook/chameleon-7b`, etc. | | ✅︎ | | `CheersForConditionalGeneration` | Cheers | T + I | `ai9stars/Cheers` | | ✅︎ | | `Cohere2VisionForConditionalGeneration` | Command A Vision, Command-A+ | T + I+ | `CohereLabs/command-a-vision-07-2025`, `CohereLabs/command-a-plus-05-2026`, etc. | | ✅︎ | -| `Cosmos3ForConditionalGeneration` | Cosmos3 (understanding tower) | T + IE+ + VE+ | `nvidia/Cosmos3-Nano` | | ✅︎ | +| `Cosmos3ForConditionalGeneration` | Cosmos3 (understanding tower) | T + IE+ + VE+ | `nvidia/Cosmos3-Nano`, `nvidia/Cosmos3-Super` | | ✅︎ | | `DeepseekVLV2ForCausalLM` | DeepSeek-VL2 | T + I+ | `deepseek-ai/deepseek-vl2-tiny`, `deepseek-ai/deepseek-vl2-small`, `deepseek-ai/deepseek-vl2`, etc. | | ✅︎ | | `DeepseekOCRForCausalLM` | DeepSeek-OCR | T + I+ | `deepseek-ai/DeepSeek-OCR`, etc. | ✅︎ | ✅︎ | | `DeepseekOCR2ForCausalLM` | DeepSeek-OCR-2 | T + I+ | `deepseek-ai/DeepSeek-OCR-2`, etc. | ✅︎ | ✅︎ | diff --git a/tests/models/multimodal/generation/test_common.py b/tests/models/multimodal/generation/test_common.py index fb5c518038..8583c1d213 100644 --- a/tests/models/multimodal/generation/test_common.py +++ b/tests/models/multimodal/generation/test_common.py @@ -369,6 +369,12 @@ VLM_TEST_SETTINGS = { vllm_output_post_proc=model_utils.qwen2_vllm_to_hf_output, patch_hf_runner=model_utils.qwen3_vl_patch_hf_runner, image_size_factors=[(0.25,), (0.25, 0.25, 0.25), (0.25, 0.2, 0.15)], + marks=[ + pytest.mark.skip( + reason="Transformers has no cosmos3_omni mapping, so the HF " + "reference runner cannot load the checkpoint." + ) + ], ), "deepseek_vl_v2": VLMTestInfo( models=["Isotr0py/deepseek-vl2-tiny"], # model repo using dynamic module diff --git a/tests/models/registry.py b/tests/models/registry.py index e04f647725..0b632580e2 100644 --- a/tests/models/registry.py +++ b/tests/models/registry.py @@ -799,9 +799,9 @@ _MULTIMODAL_EXAMPLE_MODELS = { ), "Cosmos3ForConditionalGeneration": _HfExamplesInfo( "nvidia/Cosmos3-Nano", + extras={"super": "nvidia/Cosmos3-Super"}, max_model_len=4096, min_transformers_version="4.57", - is_available_online=False, ), "DeepseekVLV2ForCausalLM": _HfExamplesInfo( "deepseek-ai/deepseek-vl2-tiny",