Add any-to-any pipeline tag, update library metadata and link paper

#16
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +54 -850
README.md CHANGED
@@ -1,25 +1,62 @@
1
  ---
 
2
  license: other
3
  license_name: openmdw1.1-license
4
- license_link: >-
5
- https://openmdw.ai/license/1-1/
6
- library_name: cosmos
7
  tags:
8
- - nvidia
9
- - cosmos
10
- - cosmos3
11
- - vllm
12
- - vllm-omni
13
- - diffusers
14
- - text, image, video, audio, and action generation
15
- - omnimodel
16
  ---
17
 
18
  # **Cosmos 3: Omnimodal World Models for Physical AI**
19
- **[Model Collection](https://huggingface.co/collections/nvidia/cosmos3)** | **[Code](https://github.com/nvidia/cosmos)** | **[White Paper](https://research.nvidia.com/labs/cosmos-lab/cosmos3/technical-report.pdf)** | **[Website](https://research.nvidia.com/labs/cosmos-lab/cosmos3/)**
20
 
21
  [NVIDIA Cosmos™](https://github.com/nvidia/cosmos) is a world foundation model platform designed to accelerate the development of Physical AI by enabling machines to understand, simulate, and interact with the physical world across robotics, autonomous driving, and smart space environments, including industrial and factory-scale applications.
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  # Model Overview: Cosmos3-Nano
24
 
25
  ## Description
@@ -50,152 +87,36 @@ This model is ready for commercial and non-commercial use.
50
 
51
  This model is released under the [OpenMDW1.1](https://openmdw.ai/license/1-1/)
52
 
53
- ### Deployment Geography
54
-
55
- Global
56
-
57
- ### Use Case
58
-
59
- Physical AI: Encompassing robotics, autonomous vehicles (AV), and smart space environments, including industrial and factory-scale applications.
60
-
61
- ### Release Date
62
-
63
- Hugging Face 05/31/2026 via [https://huggingface.co/collections/nvidia/cosmos3](https://huggingface.co/collections/nvidia/cosmos3)
64
- GitHub 05/31/2026 via [https://github.com/nvidia/cosmos](https://github.com/nvidia/cosmos)
65
-
66
  ## Model Architecture
67
 
68
  **Architecture Type:** Transformer
69
-
70
  **Network Architecture:** Mixture-of-Transformers (MoT)
71
 
72
- Cosmos3 is an Omni-modal foundation model built on a Mixture-of-Transformers (MoT) architecture consisting of two complementary transformer towers: an autoregressive transformer for discrete token generation and a diffusion transformer for continuous multimodal generation. During inference, text is generated through standard next-token autoregressive decoding, while non-text modalities, such as images, video, audio, and actions, are synthesized through iterative denoising. This unified architecture enables Cosmos3 to model heterogeneous modalities within a single framework while preserving generation mechanisms best suited to each modality.
73
-
74
- **This model was developed based on:** [Cosmos Framework](https://github.com/nvidia/cosmos-framework)
75
 
76
  **Number of trainable model parameters:**
77
-
78
  - Cosmos3-Nano: 16B
79
  - Cosmos3-Super: 64B
80
- - Cosmos3-Nano-Policy-DROID: 16B
81
- - Cosmos3-Super-Image2Video: 64B
82
- - Cosmos3-Super-Text2Image: 64B
83
-
84
- ## Input/Output Specifications
85
-
86
- - **Generator Input**
87
- - **Input Type(s)**: Text, Image, Video (with audio or without audio), Action Trajectory
88
- - **Input Format(s)**:
89
- - Text: String
90
- - Image: jpg, png, jpeg, webp
91
- - Video (with or without audio): mp4
92
- - Action: json (1D list)
93
- - **Input Parameters**:
94
- - Text: One-dimensional (1D)
95
- - Image: Two-dimensional (2D)
96
- - Video: Three-dimensional (3D)
97
- - Audio: One-dimensional (1D)
98
- - Action trajectory: One-dimensional (1D)
99
- - **Other Properties Related to Input**:
100
- - For video inputs, we accept various resolutions, including 720p, 480p, and 256p.
101
- - When using input video with audio muxed into the video MP4 file, the audio should have 2 channels (stereo) and a 48 kHz sample rate.
102
- - Image and video inputs are RGB color (8 bits per channel, sRGB color space); grayscale inputs are not supported.
103
- - Action input is a per-frame sequence of robot/agent state or control values (e.g., joint positions, gripper state, camera pose). The full input is a 2D array shaped (T, D), where T is the number of frames and D is the embodiment-specific dimensionality listed below.
104
- - Input action is only supported for compatible embodiments, including general camera motion (9D), autonomous vehicle (9D), egocentric motion (57D), single Franka Panda arm with RobotiQ gripper (10D), dual Franka Panda arm with RobotiQ gripper (20D), Agibot (29D), UR (10D), Google robot (10D), WidowX 250 (10D), UMI (9D).
105
- - **Input Size and Length limits:**
106
- - **Text:** 4096 tokens
107
- - **Image:** 256p, 480p, and 720p resolution at one of these aspect ratios (16:9, 4:3, 1:1, 3:4, 9:16)
108
- - **Video:** 256p, 480p, and 720p resolution at one of these aspect ratios (16:9, 4:3, 1:1, 3:4, 9:16). Max number of frames = 5.
109
- - **Audio:** Max 0.5 second
110
- - **Action:** 16 – 400 video frames
111
- - **Generator Output**
112
- - **Output Type(s)**: Image, video, audio, action, text
113
- - **Output Format(s)**:
114
- - Image: JPG
115
- - Video: MP4
116
- - Audio: Advanced Audio Coding (AAC) stream (muxed within the MP4)
117
- - Action: 1D list (.json)
118
- - Text: string
119
- - **Output Parameters**:
120
- - Image: Two-dimensional (2D)
121
- - Video: Three-dimensional (3D)
122
- - Audio: One-dimensional (1D)
123
- - Action: One-dimensional (1D)
124
- - Text: One-dimensional (1D)
125
- - **Other Properties Related to Output**:
126
- - The generated video is an MP4 file, with the resolution, frame rate, and duration specified in the input. The generated audio is encoded in AAC format, muxed into the video MP4 file with 2 channels (stereo) and a 48 kHz sample rate.
127
- - Video generation supports durations from 5 to 400 frames, with 189 frames as the default generation duration.
128
- - The generated action is only supported for compatible embodiments, including general camera motion (9D), autonomous vehicle (9D), egocentric motion (57D), single Franka Panda arm with RobotiQ gripper (10D), dual Franka Panda arm with RobotiQ gripper (20D), Agibot (29D), UR (10D), Google robot (10D), WidowX 250 (10D), UMI (9D).
129
- - Audio: 48 kHz stereo AAC stream muxed into video mp4
130
- - Video: mp4 at the FPS specified in input
131
- - Image: JPEG
132
- - **Reasoner Input**
133
- - **Input Type(s)**: Text, Text+Image, Text+Video
134
- - **Input Format(s)**:
135
- - Text: String
136
- - Image: jpg, png, jpeg, webp
137
- - Video: mp4
138
- - **Input Parameters**:
139
- - Text: One-dimensional (1D)
140
- - Image: Two-dimensional (2D)
141
- - Video: Three-dimensional (3D)
142
- - **Other Properties Related to Input**:
143
- - Video inputs are recommended at a frame rate of 4 fps.
144
- - Long-context inputs supported up to 256K tokens.
145
- - **Input Size and Length limits:**
146
- - **Text:** Up to 256K tokens (context window).
147
- - **Image:** Standard input image formats; passed as file or URL.
148
- - **Video:** mp4 at the recommended 4 fps.
149
- - **Reasoner Output**
150
- - **Output Type(s)**: Text
151
- - **Output Format(s)**:
152
- - Text: string
153
- - **Output Parameters**:
154
- - Text: One-dimensional (1D)
155
- - **Other Properties Related to Output**:
156
- - Default `max_tokens=4096+` is recommended for reasoning outputs; longer outputs may be requested.
157
- - Reasoning outputs may include structured chain-of-thought, 2D/3D point localization, and bounding-box coordinates for vision-based tasks.
158
-
159
- The video content visualizes the input text description as a short animated scene, capturing key elements within the specified time constraints.
160
-
161
- Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g., GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.
162
 
163
  ## Software Integration
164
 
165
  **Runtime Engine(s):**
166
-
167
  - [PyTorch](https://github.com/nvidia/cosmos3)
168
  - [vLLM-Omni](https://github.com/vllm-project/vllm-omni)
169
  - [Hugging Face Diffusers](https://huggingface.co/docs/diffusers/en/index)
170
 
171
  **Supported Hardware Microarchitecture Compatibility:**
172
-
173
  - NVIDIA Ampere
174
  - NVIDIA Blackwell
175
  - NVIDIA Hopper
176
 
177
- **Operating System(s):**
178
-
179
- - Linux
180
-
181
- **Note:** Only BF16 precision is tested. Other precisions like FP4, FP8, and FP16 are not officially supported.
182
-
183
- The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.
184
-
185
  ## Training, Testing, and Evaluation Datasets
186
 
187
  ### Dataset Overview
188
-
189
  - **Total Size:** 1.3B data points
190
  - **Total Number of Datasets:** 393 dataset entries
191
- - **Dataset partition:** Training [100%], Testing [N/A — evaluation benchmarks used separately], Validation [N/A — evaluation benchmarks used separately]
192
- - **Time period for training data collection:** 2024–2026
193
- - **Time period for testing data collection:** N/A (standard public benchmarks)
194
- - **Time period for validation data collection:** N/A (standard public benchmarks)
195
-
196
- Raw data from internal and external sources is transformed into training-ready data through multiple stages of curation, filtering, and quality review. Data acquisition spans diverse multimodal sources — robotics, autonomous driving, industrial environments, indoor and outdoor scenes, varied lighting and weather conditions, camera viewpoints, object categories, and human activities — to broaden coverage across Physical AI operating environments. Automated filtering pipelines remove corrupted, duplicate, low-quality, and restricted content. Metadata analysis, heuristic rules, and model-assisted classifiers are applied during preprocessing to flag anomalous distributions and low-diversity subsets. Human review supplements automated filtering for selected datasets, benchmark construction, and targeted quality analysis. Datasets are balanced across modalities and task categories — visual reasoning, text-to-image, text-to-video, image-to-video, audio generation, video transfer, action-conditioned generation, and action command generation — to reduce overrepresentation of narrow domains. Synthetic and simulation-based augmentation supplements coverage of rare physical interactions and edge-case scenarios. Deduplication and provenance tracking are applied across the corpus. The resulting processed data is converted into model-ready tokenized or encoded representations through modality-specific preprocessors before training begins.
197
 
198
- Training datasets passed through multiple layers of automated and manual safeguards designed to reduce the presence of harmful or policy-violating content across categories including weapons and weapons-related instructional content, criminal planning, child sexual abuse material (CSAM), non-consensual intimate imagery (NCII), sexual content involving minors, harassment, hate speech, profanity, threats and incitement to violence, self-harm or suicide-related content, and graphic violence. Data sources are reviewed for licensing compatibility, provenance, and alignment with internal data governance and safety policies before admission into training corpora. Automated filtering pipelines combine multiple detection strategies: hash-matching against known CSAM and NCII reference databases; classifier-based moderation models trained for explicit sexual content, hate speech, violence, weapons imagery, and other restricted categories; keyword and regex-based screening for criminal-planning, threats, and self-harm phrases in text data; metadata and provenance heuristics for source-level risk signals; and embedding-based anomaly detection to surface samples that fall outside expected distributions. Human review and targeted audits supplement automated filtering for selected datasets, benchmark construction, and safety-sensitive evaluation. For multimodal Physical AI data (robotics, autonomous driving, industrial scenes), additional filtering targets invalid action trajectories, physically implausible interactions, and unsafe control sequences. Synthetic and simulation-generated data are evaluated through internal validation before inclusion. Benchmark evaluations and red-team testing are applied post-training to surface remaining safety gaps across world generation, reasoning, audio, and action tasks. No large-scale data-filtering process can guarantee complete removal of all harmful content; residual risks may remain, particularly in rare edge cases or open-world deployment settings. Ongoing monitoring and dataset review continue post-release.
199
 
200
  **Data Modality and Training Data Size**
201
 
@@ -207,733 +128,16 @@ Training datasets passed through multiple layers of automated and manual safegua
207
  | Audio | Not Applicable | 139M |
208
  | Action | Not Applicable | 8M |
209
 
210
- **Data Collection Method by dataset**
211
-
212
- - Hybrid: Automatic/Sensors, Synthetic, Automated
213
-
214
- **Labeling Method by dataset**
215
-
216
- - Hybrid: Human, Automated
217
-
218
- **Properties:** The training, testing, and evaluation datasets consist of diverse multimodal video, image, audio, action, synthetic, and sensor-conditioned data sourced from NVIDIA-owned data and publicly available, commercially permissive datasets. These datasets are curated to exclude known restricted content and to support building an Omni model that learns to generate and reason about dynamic physical environments across world reasoning and generation tasks.
219
-
220
- ### Public Datasets
221
-
222
- | Dataset                                                             | Samples           |
223
- |---|---|
224
- | OpenImage | 1.2M |
225
- | Coyo700M | 100M |
226
- | YouTube Video | 340M |
227
- | UMI | 4.5M |
228
-
229
- ### Private Datasets
230
-
231
- | Dataset                                                             | Samples           |
232
- |---|---|
233
- | Egocentric | 7M |
234
- | Nexar | 0.6M |
235
- | AgiBot | 0.2M |
236
- | HOI | 0.3M |
237
-
238
- ### Synthetic Datasets
239
-
240
- | Dataset | Samples |
241
- |---|---|
242
- | synthetic images generated using HiDream-I1 | 15M |
243
- | synthetic images generated using Qwen-Image-2512 | 14M |
244
- | synthetic captions generated using Qwen3-VL | 1115M |
245
-
246
- ## Evaluation Datasets
247
-
248
- **Data Collection Method by dataset**
249
-
250
- - Hybrid: Automatic/Sensors, Synthetic, Automated
251
-
252
- **Labeling Method by dataset**
253
-
254
- - Hybrid: Human, Automated
255
-
256
- **Properties:** The training, testing, and evaluation datasets consist of diverse multimodal video, image, audio, action, synthetic, and sensor-conditioned data sourced from NVIDIA-owned data and publicly available, commercially permissive datasets. These datasets are curated to exclude known restricted content and to support building an Omni model that learns to generate and reason about dynamic physical environments across world reasoning and generation tasks.
257
-
258
  ## Benchmarks
259
 
260
- Please see our [technical paper](https://research.nvidia.com/labs/cosmos-lab/cosmos3/technical-report.pdf) for detailed evaluations of the base model.
261
-
262
- ### Overall
263
-
264
- ![Overall benchmark results](images/benchmark-overall.png)
265
-
266
- ### Reasoning Benchmarks
267
-
268
- ![Reasoning benchmarks](images/benchmark-reasoning.png)
269
-
270
- ### Generation Benchmarks
271
-
272
- #### Visual-Audio Generation
273
-
274
- ![Visual & audio generation benchmarks](images/benchmark-visual-audio.png)
275
-
276
- #### Action
277
-
278
- ![Action benchmarks — forward and inverse dynamics](images/benchmark-action-1.png)
279
-
280
- ## Usage
281
-
282
- - See [Cosmos](https://github.com/nvidia/cosmos) for details.
283
-
284
- ### Prompt upsampling
285
-
286
- For optimal quality, text prompts should be upsampled into a specific JSON structure. Description and code can be found [here](https://github.com/nvidia/cosmos-framework/blob/main/docs/prompt_upsampling.md).
287
-
288
- For example, for text-to-video upsampling using Opus-4.6:
289
-
290
- ```bash
291
- git clone https://github.com/NVIDIA/cosmos-framework.git packages/cosmos-framework
292
- pip install -e packages/cosmos-framework
293
-
294
- export PROMPT_UPSAMPLER_ENDPOINT_URL="https://api.anthropic.com/v1/"
295
- export PROMPT_UPSAMPLER_MODEL_NAME="claude-opus-4-6"
296
- export PROMPT_UPSAMPLER_API_TOKEN="<you_token>"
297
-
298
- python -m cosmos_framework.inference.prompt_upsampling \
299
- --input assets/example_t2v_prompt_short.txt \
300
- --output /tmp/upsampled_t2v_opus/ \
301
- --mode text2video \
302
- --endpoint-url "${PROMPT_UPSAMPLER_ENDPOINT_URL}" \
303
- --model "${PROMPT_UPSAMPLER_MODEL_NAME}" \
304
- --api-token "${PROMPT_UPSAMPLER_API_TOKEN}" \
305
- --resolution 720 \
306
- --aspect-ratio "16,9"
307
- ```
308
-
309
- The JSON-upsampled version of `assets/example_t2v_prompt_short.txt` is saved in `assets/example_t2v_prompt.json` for convenience, and is used for the video generation examples below.
310
-
311
- ### vLLM-Omni
312
-
313
- #### Container
314
-
315
- ```
316
- docker pull vllm/vllm-omni:cosmos3
317
- ```
318
-
319
- #### General Invocation
320
-
321
- You can use the release-tested `vllm-omni` package for deploying an OpenAI-compatible API inference endpoint.
322
- The recommended vLLM-Omni serving configuration for nvidia/Cosmos3-Nano on H200 is:
323
-
324
- ```bash
325
- vllm serve nvidia/Cosmos3-Nano \
326
- --omni \
327
- --host 0.0.0.0 \
328
- --port 8000 \
329
- --init-timeout 1800
330
- ```
331
-
332
- To speed up inference with additional GPUs, enable context parallelism with `--ulysses-degree` or switch to tensor parallelism with `--tensor-parallel-size`. Setting `--enable-layerwise-offload` can help reduce memory usage on GPUs with less available memory.
333
-
334
- #### Examples
335
-
336
- ##### Download example prompts
337
-
338
- The example inputs (`assets/`) live in this model repo. Download just this folder with the Hugging Face CLI:
339
-
340
- ```bash
341
- pip install -U "huggingface_hub[cli]"
342
- hf download nvidia/Cosmos3-Nano assets/ --local-dir Cosmos3-Nano
343
- cd Cosmos3-Nano
344
- ```
345
-
346
- Run all commands below from the downloaded repo root.
347
-
348
- ---
349
-
350
- ##### Image to video generation
351
-
352
- ```python
353
- import json
354
- import mimetypes
355
- from pathlib import Path
356
-
357
- import requests
358
-
359
- # 1. Read JSON-upsampled prompt and negative prompt
360
- json_prompt = json.load(open("assets/example_i2v_prompt.json"))
361
- negative_prompt = json.load(open("assets/negative_prompt.json"))
362
-
363
- # 2. Build and send the multipart API request
364
- url = "http://localhost:8000/v1/videos/sync"
365
- image_path = Path("assets/example_i2v_input.jpg")
366
- mime_type = mimetypes.guess_type(image_path)[0] or "image/png"
367
- data = {
368
- "prompt": json.dumps(json_prompt),
369
- "negative_prompt": json.dumps(negative_prompt),
370
- "size": "1280x720",
371
- "num_frames": "189",
372
- "fps": "24",
373
- "num_inference_steps": "35",
374
- "guidance_scale": "6.0",
375
- "max_sequence_length": "4096",
376
- "flow_shift": "10.0",
377
- "extra_params": json.dumps(
378
- {
379
- "use_resolution_template": False,
380
- "use_duration_template": False,
381
- "guardrails": True,
382
- }
383
- ),
384
- "seed": "1111",
385
- }
386
-
387
- with image_path.open("rb") as image_file:
388
- files = {
389
- "input_reference": (image_path.name, image_file, mime_type),
390
- }
391
- print("Sending request to server...")
392
- response = requests.post(
393
- url,
394
- data=data,
395
- files=files,
396
- headers={"Accept": "video/mp4"},
397
- )
398
- response.raise_for_status()
399
-
400
- # 3. Save the generated video
401
- output_path = Path("/tmp/cosmos3_nano_i2v.mp4")
402
- output_path.write_bytes(response.content)
403
- print(f"Saved video to {output_path}")
404
- ```
405
-
406
- Example output:
407
-
408
- <video controls width="1280" height="720" src="https://huggingface.co/nvidia/Cosmos3-Nano/resolve/main/assets/example_i2v_output.mp4"></video>
409
-
410
- ---
411
-
412
- ##### Text to video generation
413
-
414
- ```python
415
- import json
416
- from pathlib import Path
417
-
418
- import requests
419
-
420
- # 1. Read JSON-upsampled prompt and negative prompt
421
- json_prompt = json.load(open("assets/example_t2v_prompt.json"))
422
- negative_prompt = json.load(open("assets/negative_prompt.json"))
423
-
424
- # 2. Build your API payload
425
- data = {
426
- "prompt": json.dumps(json_prompt),
427
- "negative_prompt": json.dumps(negative_prompt),
428
- "size": "1280x720",
429
- "num_frames": "189",
430
- "fps": "24",
431
- "num_inference_steps": "35",
432
- "guidance_scale": "6.0",
433
- "max_sequence_length": "4096",
434
- "flow_shift": "10.0",
435
- "extra_params": json.dumps(
436
- {
437
- "use_resolution_template": False,
438
- "use_duration_template": False,
439
- "guardrails": True,
440
- }
441
- ),
442
- "seed": "123",
443
- }
444
-
445
- # 3. Send the POST request
446
- url = "http://localhost:8000/v1/videos/sync"
447
- print("Sending request to server...")
448
- response = requests.post(
449
- url,
450
- data=data,
451
- headers={"Accept": "video/mp4"},
452
- )
453
- response.raise_for_status()
454
-
455
- # 4. Save the generated video
456
- output_path = Path("/tmp/cosmos3_nano_t2v.mp4")
457
- output_path.write_bytes(response.content)
458
- print(f"Saved video to {output_path}")
459
- ```
460
-
461
- Example output:
462
-
463
- <video controls width="1280" height="720" src="https://huggingface.co/nvidia/Cosmos3-Nano/resolve/main/assets/example_t2v_output.mp4"></video>
464
-
465
- ---
466
-
467
- ##### Image to Video + Audio generation
468
-
469
- ```python
470
- import json
471
- import mimetypes
472
- from pathlib import Path
473
-
474
- import requests
475
-
476
- # 1. Read JSON-upsampled prompt and negative prompt
477
- json_prompt = json.load(open("assets/example_i2v_prompt.json"))
478
- negative_prompt = json.load(open("assets/negative_prompt.json"))
479
-
480
- # 2. Build and send the multipart API request
481
- url = "http://localhost:8000/v1/videos/sync"
482
- image_path = Path("assets/example_i2v_input.jpg")
483
- mime_type = mimetypes.guess_type(image_path)[0] or "image/png"
484
- data = {
485
- "prompt": json.dumps(json_prompt),
486
- "negative_prompt": json.dumps(negative_prompt),
487
- "size": "1280x720",
488
- "num_frames": "189",
489
- "fps": "24",
490
- "num_inference_steps": "35",
491
- "guidance_scale": "6.0",
492
- "max_sequence_length": "4096",
493
- "generate_sound": "true",
494
- "sound_duration": "7.875",
495
- "flow_shift": "10.0",
496
- "extra_params": json.dumps(
497
- {
498
- "use_resolution_template": False,
499
- "use_duration_template": False,
500
- "guardrails": True,
501
- }
502
- ),
503
- "seed": "0",
504
- }
505
-
506
- with image_path.open("rb") as image_file:
507
- files = {
508
- "input_reference": (image_path.name, image_file, mime_type),
509
- }
510
- print("Sending request to server...")
511
- response = requests.post(
512
- url,
513
- data=data,
514
- files=files,
515
- headers={"Accept": "video/mp4"},
516
- )
517
- response.raise_for_status()
518
-
519
- # 3. Save the generated video
520
- output_path = Path("/tmp/cosmos3_nano_i2vs.mp4")
521
- output_path.write_bytes(response.content)
522
- print(f"Saved video to {output_path}")
523
- ```
524
-
525
- Example output:
526
-
527
- <video controls width="1280" height="720" src="https://huggingface.co/nvidia/Cosmos3-Nano/resolve/main/assets/example_i2vs_output.mp4"></video>
528
-
529
- ---
530
-
531
- ##### Text to Video + Audio generation
532
-
533
- ```python
534
- import json
535
- from pathlib import Path
536
-
537
- import requests
538
-
539
- # 1. Read JSON-upsampled prompt and negative prompt
540
- json_prompt = json.load(open("assets/example_t2vs_prompt.json"))
541
- negative_prompt = json.load(open("assets/negative_prompt.json"))
542
-
543
- # 2. Build your API payload
544
- data = {
545
- "prompt": json.dumps(json_prompt),
546
- "negative_prompt": json.dumps(negative_prompt),
547
- "size": "1280x720",
548
- "num_frames": "189",
549
- "fps": "24",
550
- "num_inference_steps": "35",
551
- "guidance_scale": "6.0",
552
- "max_sequence_length": "4096",
553
- "generate_sound": "true",
554
- "sound_duration": "7.875",
555
- "flow_shift": "10.0",
556
- "extra_params": json.dumps(
557
- {
558
- "use_resolution_template": False,
559
- "use_duration_template": False,
560
- "guardrails": True,
561
- }
562
- ),
563
- "seed": "0",
564
- }
565
-
566
- # 3. Send the POST request
567
- url = "http://localhost:8000/v1/videos/sync"
568
- print("Sending request to server...")
569
- response = requests.post(
570
- url,
571
- data=data,
572
- headers={"Accept": "video/mp4"},
573
- )
574
- response.raise_for_status()
575
-
576
- # 4. Save the generated video
577
- output_path = Path("/tmp/cosmos3_nano_t2vs.mp4")
578
- output_path.write_bytes(response.content)
579
- print(f"Saved video to {output_path}")
580
- ```
581
-
582
- Example output:
583
-
584
- <video controls width="1280" height="720" src="https://huggingface.co/nvidia/Cosmos3-Nano/resolve/main/assets/example_t2vs_output.mp4"></video>
585
-
586
- ---
587
-
588
- ##### Action generation
589
-
590
- The forward-dynamics example uses AgiBotWorld-Beta robotics action trajectories, and the inverse-dynamics examples use autonomous-vehicle (AV) action trajectories. Source files:
591
-
592
- - Forward dynamics first frame: `assets/example_action_fd_agibotworld_first_frame.png`
593
- - Forward dynamics action chunks: `assets/example_action_fd_agibotworld_action_chunks.json`
594
- - Forward dynamics output video: `assets/example_action_fd_agibotworld_4chunk_output.mp4`
595
- - Inverse dynamics source videos: `assets/example_action_id_av_0_input.mp4`, `assets/example_action_id_av_1_input.mp4`
596
- - Inverse dynamics predicted actions: `assets/example_action_id_av_0_output.json`, `assets/example_action_id_av_1_output.json`
597
-
598
- ###### Action forward dynamics
599
-
600
- The example below performs a 4-chunk AgiBotWorld-Beta robotics rollout with the vLLM-Omni `/v1/videos/sync` inference endpoint. Each request sends one conditioning frame through `input_reference` and one 16-step normalized 29-D action chunk through `extra_params["action"]`. The request also sets the top-level `size` field to the input image resolution, so vLLM-Omni returns each chunk at the same resolution as the conditioning image without reflection padding. The stitched output drops each chunk's conditioning frame, producing 64 generated frames. The script extracts the last generated frame from each chunk and uses it as the next chunk's conditioning frame.
601
-
602
- ```python
603
- import json
604
- import mimetypes
605
- from pathlib import Path
606
-
607
- import imageio.v3 as iio
608
- import numpy as np
609
- import requests
610
- from PIL import Image
611
-
612
- url = "http://localhost:8000/v1/videos/sync"
613
- first_frame_path = Path("assets/example_action_fd_agibotworld_first_frame.png")
614
- action_spec = json.loads(Path("assets/example_action_fd_agibotworld_action_chunks.json").read_text())
615
- action_chunks = action_spec["action_chunks"]
616
-
617
- prompt = action_spec.get("prompt", "Pickup items in the supermarket")
618
- fps = int(action_spec.get("fps", 10))
619
- action_chunk_size = int(action_spec.get("action_chunk_size", 16))
620
- current_frame_path = first_frame_path
621
- input_width, input_height = Image.open(first_frame_path).size
622
- chunk_video_paths = []
623
- stitch_frames = []
624
-
625
- for chunk_idx, action_chunk in enumerate(action_chunks):
626
- mime_type = mimetypes.guess_type(current_frame_path)[0] or "image/png"
627
- extra_params = {
628
- "action_mode": "forward_dynamics",
629
- "domain_name": action_spec.get("domain_name", "agibotworld"),
630
- "action_chunk_size": action_chunk_size,
631
- "image_size": action_spec.get("image_size", 480),
632
- "view_point": action_spec.get("view_point", "concat_view"),
633
- "action": action_chunk,
634
- "guardrails": True,
635
- }
636
- data = {
637
- "prompt": prompt,
638
- "num_frames": str(action_chunk_size + 1), # conditioning frame + generated frames
639
- "fps": str(fps),
640
- "size": f"{input_width}x{input_height}", # return chunks at input resolution
641
- "num_inference_steps": "30",
642
- "guidance_scale": "1.0",
643
- "flow_shift": "10.0",
644
- "seed": "0",
645
- "extra_params": json.dumps(extra_params),
646
- }
647
-
648
- with current_frame_path.open("rb") as image_file:
649
- files = {"input_reference": (current_frame_path.name, image_file, mime_type)}
650
- print(f"Sending action FD chunk {chunk_idx} to vLLM-Omni...")
651
- response = requests.post(
652
- url,
653
- data=data,
654
- files=files,
655
- headers={"Accept": "video/mp4"},
656
- timeout=600,
657
- )
658
- response.raise_for_status()
659
-
660
- chunk_video_path = Path(f"/tmp/cosmos3_nano_action_fd_chunk_{chunk_idx:02d}.mp4")
661
- chunk_video_path.write_bytes(response.content)
662
- chunk_video_paths.append(chunk_video_path)
663
-
664
- # The returned chunk contains the conditioning frame followed by generated frames.
665
- # Drop the conditioning frame when stitching the generated-only rollout.
666
- frames = iio.imread(chunk_video_path)
667
- stitch_frames.extend(frames[1:])
668
-
669
- # Autoregressive conditioning: use the final generated frame from this chunk
670
- # as the input image for the next vLLM-Omni request.
671
- if chunk_idx + 1 < len(action_chunks):
672
- current_frame_path = Path(f"/tmp/cosmos3_nano_action_fd_ar_frame_{chunk_idx + 1:02d}.png")
673
- iio.imwrite(current_frame_path, frames[-1])
674
-
675
- stitched_path = Path("/tmp/cosmos3_nano_action_fd_agibotworld_4chunk.mp4")
676
- iio.imwrite(stitched_path, np.asarray(stitch_frames), fps=fps)
677
- print("Generated chunk videos:", chunk_video_paths)
678
- print("Saved stitched rollout:", stitched_path)
679
- print("stitched resolution:", f"{input_width}x{input_height}")
680
- ```
681
-
682
-
683
- Example output:
684
-
685
- <video width="640" controls src="https://huggingface.co/nvidia/Cosmos3-Nano/resolve/main/assets/example_action_fd_agibotworld_4chunk_output.mp4"></video>
686
-
687
- ###### Action inverse dynamics
688
-
689
- ```python
690
- import json
691
- import time
692
- from pathlib import Path
693
-
694
- import requests
695
-
696
- base_url = "http://localhost:8000"
697
- input_videos = {
698
- "av_inverse_0": Path("assets/example_action_id_av_0_input.mp4"),
699
- "av_inverse_1": Path("assets/example_action_id_av_1_input.mp4"),
700
- }
701
-
702
- for name, video_path in input_videos.items():
703
- extra_params = {
704
- "action_mode": "inverse_dynamics",
705
- "domain_name": "av",
706
- "action_chunk_size": 60,
707
- "image_size": 480,
708
- "view_point": "ego_view",
709
- "raw_action_dim": 9,
710
- "guardrails": True,
711
- }
712
- data = {
713
- "prompt": "You are an autonomous vehicle planning system.",
714
- "num_frames": "61",
715
- "fps": "10",
716
- "num_inference_steps": "30",
717
- "guidance_scale": "1.0",
718
- "flow_shift": "10.0",
719
- "seed": "0",
720
- "extra_params": json.dumps(extra_params),
721
- }
722
-
723
- with video_path.open("rb") as video_file:
724
- files = {
725
- "input_reference": (video_path.name, video_file, "video/mp4"),
726
- }
727
- print(f"Submitting {name} request to server...")
728
- response = requests.post(f"{base_url}/v1/videos", data=data, files=files)
729
- response.raise_for_status()
730
- initial = response.json()
731
-
732
- while True:
733
- response = requests.get(f"{base_url}/v1/videos/{initial['id']}", timeout=30)
734
- response.raise_for_status()
735
- final = response.json()
736
- print(initial["id"], final.get("status"), f"{final.get('progress', 0)}%")
737
- if final.get("status") == "completed":
738
- break
739
- if final.get("status") in {"failed", "cancelled"}:
740
- raise RuntimeError(json.dumps(final, indent=2))
741
- time.sleep(2)
742
-
743
- action = final.get("action")
744
- if not action or "data" not in action:
745
- raise RuntimeError(f"Response did not include action data: {json.dumps(final, indent=2)}")
746
-
747
- output_path = Path(f"/tmp/cosmos3_nano_action_id_{name}.json")
748
- output_path.write_text(json.dumps(action, indent=2))
749
- print(f"Saved predicted action to {output_path}")
750
- print("action shape:", action.get("shape"), "dtype:", action.get("dtype"))
751
- ```
752
-
753
- Example outputs:
754
-
755
- - [av_inverse_0 predicted action JSON](https://huggingface.co/nvidia/Cosmos3-Nano/blob/main/assets/example_action_id_av_0_output.json)
756
- - [av_inverse_1 predicted action JSON](https://huggingface.co/nvidia/Cosmos3-Nano/blob/main/assets/example_action_id_av_1_output.json)
757
-
758
- <img width="1280" src="https://huggingface.co/nvidia/Cosmos3-Nano/resolve/main/assets/example_action_id_av_0_output.png">
759
-
760
- <img width="1280" src="https://huggingface.co/nvidia/Cosmos3-Nano/resolve/main/assets/example_action_id_av_1_output.png">
761
-
762
- ### vLLM
763
-
764
- #### General Invocation
765
-
766
- You can use the release-tested `vllm` package for deploying an OpenAI-compatible API endpoint:
767
-
768
- ```shell
769
- uv venv --python 3.13 --seed --managed-python
770
- source .venv/bin/activate
771
- uv pip install --torch-backend=cu130 "vllm==0.21.0" \
772
- "vllm-cosmos3 @ git+https://github.com/NVIDIA/cosmos-framework.git#subdirectory=packages/vllm-cosmos3" \
773
- openai
774
- ```
775
-
776
- Use `--torch-backend=cu130 "vllm==0.21.0"` for CUDA 13 drivers. For CUDA 12.8 drivers, use `--torch-backend=cu128 "vllm==0.19.1"`.
777
-
778
- Start the Reasoner server:
779
-
780
- ```shell
781
- CUDA_VISIBLE_DEVICES=0 \
782
- vllm serve nvidia/Cosmos3-Nano \
783
- --hf-overrides '{"architectures": ["Cosmos3ReasonerForConditionalGeneration"]}' \
784
- --tensor-parallel-size 1 \
785
- --mm-encoder-tp-mode data \
786
- --async-scheduling \
787
- --allowed-local-media-path / \
788
- --media-io-kwargs '{"video": {"num_frames": -1}}' \
789
- --port 8000
790
- ```
791
-
792
- #### Examples
793
-
794
- ##### Reasoning
795
-
796
- Run this example from the model repository root. It reads the robot planning prompt from `assets/example_reasoning_prompt.json` and sends `assets/example_reasoning_input.png` to the local vLLM server.
797
-
798
- ```python
799
- import json
800
- from pathlib import Path
801
-
802
- import openai
803
-
804
- # 1. Read the image reasoning prompt
805
- example = json.load(open("assets/example_reasoning_prompt.json"))
806
- image_path = Path("assets/example_reasoning_input.png").resolve()
807
- image_url = image_path.as_uri()
808
-
809
- # 2. Query the OpenAI-compatible vLLM server
810
- client = openai.OpenAI(
811
- api_key="EMPTY",
812
- base_url="http://localhost:8000/v1",
813
- )
814
-
815
- response = client.chat.completions.create(
816
- model=client.models.list().data[0].id,
817
- messages=[
818
- {
819
- "role": "user",
820
- "content": [
821
- {"type": "image_url", "image_url": {"url": image_url}},
822
- {"type": "text", "text": example["prompt"]},
823
- ],
824
- },
825
- ],
826
- max_tokens=example["max_tokens"],
827
- seed=0,
828
- )
829
-
830
- # 3. Print the generated reasoning output
831
- print(response.choices[0].message.content)
832
- ```
833
-
834
- Example input:
835
-
836
- <img src="assets/example_reasoning_input.png" width="640">
837
-
838
- Prompt:
839
-
840
- ```text
841
- The task is to put flower into the red bottle. Generate a plan consisting of subtasks for accomplish the task.
842
- ```
843
-
844
- Example output from the command above:
845
-
846
- ```text
847
- Move your arm to the flower. Grasp the flower. Move your arm to the red bottle. Place the flower in the red bottle.
848
- ```
849
-
850
- ### Diffusers
851
-
852
- Cosmos3 is fully supported within the popular HuggingFace Diffusers package. This integration makes it a supported inference backend, allowing developers to easily incorporate Cosmos3's capabilities — such as text-to-video generation — into their pipelines using the `Cosmos3OmniPipeline` class, as demonstrated by the provided code examples (see examples for other modalities on the HuggingFace Cosmos3 page).
853
-
854
- #### Container
855
-
856
- To install diffusers with Cosmos3OmniPipeline:
857
-
858
- ```
859
- uv venv --python 3.13 --seed --managed-python
860
- source .venv/bin/activate
861
- uv pip install \
862
- "diffusers @ git+https://github.com/huggingface/diffusers.git" \
863
- accelerate \
864
- av \
865
- cosmos_guardrail \
866
- huggingface_hub \
867
- imageio \
868
- imageio-ffmpeg \
869
- torch \
870
- torchvision \
871
- transformers
872
-
873
- ```
874
-
875
- #### Examples
876
-
877
- ##### Text to video generation
878
-
879
- Run this example from the model repository root. It reads the JSON-upsampled prompt from `assets/example_t2v_prompt.json` and the negative prompt from `assets/negative_prompt.json`. It then loads the pipeline and generate the video, then save it to an MP4 file.
880
-
881
- ```python
882
- import json
883
- import torch
884
- from diffusers import Cosmos3OmniPipeline
885
- from diffusers.schedulers.scheduling_unipc_multistep import UniPCMultistepScheduler
886
- from diffusers.utils import export_to_video
887
-
888
- # Read JSON-upsampled prompt and negative prompt
889
- json_prompt = json.load(open("assets/example_t2v_prompt.json"))
890
- negative_prompt = json.load(open("assets/negative_prompt.json"))
891
-
892
- pipe = Cosmos3OmniPipeline.from_pretrained(
893
- "nvidia/Cosmos3-Nano",
894
- torch_dtype=torch.bfloat16,
895
- device_map="cuda",
896
- enable_safety_checker=True,
897
- )
898
- pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config, flow_shift=10.0)
899
-
900
- result = pipe(
901
- prompt=json.dumps(json_prompt),
902
- negative_prompt=json.dumps(negative_prompt),
903
- num_frames=189,
904
- height=720,
905
- width=1280,
906
- num_inference_steps=35,
907
- guidance_scale=6.0,
908
- generator=torch.Generator(device="cuda").manual_seed(123),
909
- )
910
-
911
- export_to_video(result.video, "/tmp/cosmos3_nano_t2v_diffusers.mp4", fps=24)
912
- print("Saved video to /tmp/cosmos3_nano_t2v_diffusers.mp4")
913
- ```
914
-
915
- Example output:
916
-
917
- <video controls width="1280" height="720" src="https://huggingface.co/nvidia/Cosmos3-Nano/resolve/main/assets/example_t2v_diffusers_output.mp4"></video>
918
 
919
  ## Limitations
920
 
921
- Cosmos3 may produce imperfect outputs in challenging scenarios. Generation artifacts include temporal inconsistency, unstable camera or object motion, imprecise physical interactions, inaccurate audio-video synchronization, and action-state drift — especially in long-horizon or high-resolution outputs. Reasoning may also be incorrect: object states, causal relationships, spatial geometry, temporal ordering, agent intent, and future outcomes can be misinferred, and complex or long-context inputs may yield hallucinated entities, inconsistent interpretations, or implausible predictions. Because the model lacks an explicit physics simulator, 3D geometry, 4D space-time evolution, object permanence, contact dynamics, and physical laws are only approximated — producing artifacts such as disappearing or morphing objects, unrealistic collisions, and physically implausible motions. Quality further degrades in out-of-distribution environments, safety-critical edge cases, and domains underrepresented in training.
922
-
923
- Cosmos3 outputs should not be treated as physically accurate simulation, reliable ground-truth reasoning, or safety-certified decision making. Applications involving robotics control, autonomous systems, scientific simulation, or safety-critical planning require additional validation, external constraints, system-level safety analysis, and domain-specific guardrails before deployment.
924
 
925
  ## Inference
926
 
927
  **Acceleration Engine:** [PyTorch](https://pytorch.org/), [vLLM](https://github.com/vllm-project/vllm), [vLLM-Omni](https://github.com/vllm-project/vllm-omni), [Hugging Face Diffusers](https://github.com/huggingface/diffusers)
928
 
929
- **Test Hardware:** GB200 and H100
930
-
931
- ## Ethical Considerations
932
-
933
- NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. Developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
934
-
935
- Please make sure you have proper rights and permissions for all input image and video content; if image or video includes people, personal health information, or intellectual property, the image or video generated will not blur or maintain proportions of image subjects included.
936
-
937
- Users are responsible for model inputs and outputs. Users are responsible for ensuring safe integration of this model, including implementing guardrails as well as other safety mechanisms, prior to deployment.
938
-
939
- For more detailed information on ethical considerations for this model, please see the Model Card++ [Explainability](EXPLAINABILITY.md), [Bias](BIAS.md), [Safety & Security](SAFETY.md), and [Privacy](PRIVACY.md) subcards. Please report model quality, risk, security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
 
1
  ---
2
+ library_name: diffusers
3
  license: other
4
  license_name: openmdw1.1-license
5
+ license_link: https://openmdw.ai/license/1-1/
6
+ pipeline_tag: any-to-any
 
7
  tags:
8
+ - nvidia
9
+ - cosmos
10
+ - cosmos3
11
+ - vllm
12
+ - vllm-omni
13
+ - text, image, video, audio, and action generation
14
+ - omnimodel
 
15
  ---
16
 
17
  # **Cosmos 3: Omnimodal World Models for Physical AI**
18
+ **[Model Collection](https://huggingface.co/collections/nvidia/cosmos3)** | **[Code](https://github.com/nvidia/cosmos)** | **[Paper](https://huggingface.co/papers/2606.02800)** | **[Website](https://research.nvidia.com/labs/cosmos-lab/cosmos3/)**
19
 
20
  [NVIDIA Cosmos™](https://github.com/nvidia/cosmos) is a world foundation model platform designed to accelerate the development of Physical AI by enabling machines to understand, simulate, and interact with the physical world across robotics, autonomous driving, and smart space environments, including industrial and factory-scale applications.
21
 
22
+ Cosmos 3 is a family of omnimodal world models designed to jointly process and generate language, image, video, audio, and action sequences within a unified mixture-of-transformers architecture.
23
+
24
+ ## Sample Usage (Diffusers)
25
+
26
+ Cosmos 3 is fully supported within the Hugging Face `diffusers` library.
27
+
28
+ ```python
29
+ import torch
30
+ from diffusers import Cosmos3OmniPipeline
31
+ from diffusers.schedulers.scheduling_unipc_multistep import UniPCMultistepScheduler
32
+ from diffusers.utils import export_to_video
33
+
34
+ pipe = Cosmos3OmniPipeline.from_pretrained(
35
+ "nvidia/Cosmos3-Nano",
36
+ torch_dtype=torch.bfloat16,
37
+ device_map="cuda",
38
+ )
39
+ pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config, flow_shift=10.0)
40
+
41
+ result = pipe(
42
+ prompt="A mobile robot navigates a warehouse aisle and stops at a shelf.",
43
+ negative_prompt="",
44
+ image=None,
45
+ num_frames=189,
46
+ height=720,
47
+ width=1280,
48
+ fps=24,
49
+ num_inference_steps=35,
50
+ guidance_scale=6.0,
51
+ enable_sound=False,
52
+ add_resolution_template=False,
53
+ add_duration_template=False,
54
+ generator=torch.Generator(device="cuda").manual_seed(1234),
55
+ )
56
+
57
+ export_to_video(result.video, "cosmos3_t2v.mp4", fps=24, macro_block_size=1)
58
+ ```
59
+
60
  # Model Overview: Cosmos3-Nano
61
 
62
  ## Description
 
87
 
88
  This model is released under the [OpenMDW1.1](https://openmdw.ai/license/1-1/)
89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  ## Model Architecture
91
 
92
  **Architecture Type:** Transformer
 
93
  **Network Architecture:** Mixture-of-Transformers (MoT)
94
 
95
+ Cosmos3 is an Omni-modal foundation model built on a Mixture-of-Transformers (MoT) architecture consisting of two complementary transformer towers: an autoregressive transformer for discrete token generation and a diffusion transformer for continuous multimodal generation. During inference, text is generated through standard next-token autoregressive decoding, while non-text modalities, such as images, video, audio, and actions, are synthesized through iterative denoising.
 
 
96
 
97
  **Number of trainable model parameters:**
 
98
  - Cosmos3-Nano: 16B
99
  - Cosmos3-Super: 64B
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
 
101
  ## Software Integration
102
 
103
  **Runtime Engine(s):**
 
104
  - [PyTorch](https://github.com/nvidia/cosmos3)
105
  - [vLLM-Omni](https://github.com/vllm-project/vllm-omni)
106
  - [Hugging Face Diffusers](https://huggingface.co/docs/diffusers/en/index)
107
 
108
  **Supported Hardware Microarchitecture Compatibility:**
 
109
  - NVIDIA Ampere
110
  - NVIDIA Blackwell
111
  - NVIDIA Hopper
112
 
 
 
 
 
 
 
 
 
113
  ## Training, Testing, and Evaluation Datasets
114
 
115
  ### Dataset Overview
 
116
  - **Total Size:** 1.3B data points
117
  - **Total Number of Datasets:** 393 dataset entries
 
 
 
 
 
 
118
 
119
+ The training, testing, and evaluation datasets consist of diverse multimodal video, image, audio, action, synthetic, and sensor-conditioned data sourced from NVIDIA-owned data and publicly available, commercially permissive datasets.
120
 
121
  **Data Modality and Training Data Size**
122
 
 
128
  | Audio | Not Applicable | 139M |
129
  | Action | Not Applicable | 8M |
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  ## Benchmarks
132
 
133
+ Please see our [technical paper](https://huggingface.co/papers/2606.02800) for detailed evaluations of the model.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
 
135
  ## Limitations
136
 
137
+ Cosmos3 may produce artifacts in long, high-resolution, or physically complex outputs. Common failure modes include temporal inconsistency, unstable camera or object motion, inaccurate sound-video alignment, imperfect action-state consistency, and physically implausible dynamics. It does not have an explicit physics engine and approximates physical laws.
 
 
138
 
139
  ## Inference
140
 
141
  **Acceleration Engine:** [PyTorch](https://pytorch.org/), [vLLM](https://github.com/vllm-project/vllm), [vLLM-Omni](https://github.com/vllm-project/vllm-omni), [Hugging Face Diffusers](https://github.com/huggingface/diffusers)
142
 
143
+ **Test Hardware:** GB200 and H100