NVIDIA/cosmos-framework
Our inference and training framework to run on the Cosmos Models
What it solves
It provides a unified end-to-end framework for training and serving omnimodal world models, specifically the Cosmos 3 model family. It addresses the complexity of managing diverse modalities (language, images, video, audio, and action sequences) by consolidating them into a single architecture for Physical AI applications, such as world simulators and action models.
How it works
The framework is organized into a single Python package (cosmos_framework) with two primary functional paths:
- Training: Uses a distributed trainer supporting FSDP, Tensor Parallelism (TP), Context Parallelism (CP), and Pipeline Parallelism (PP). It handles native DCP checkpoints and supports various dataset adapters including JSONL, WebDataset, and LeRobot.
- Inference: Utilizes backends like Diffusers, Transformers, and vLLM to provide both offline batch generation and online serving via Ray and Gradio.
Who it’s for
It is designed for researchers and developers working on Physical AI, world models, and multimodal generative AI who need a scalable system to train and deploy models that process and generate multiple data types simultaneously.
Highlights
- Omnimodal Support: Jointly processes and generates language, images, video, audio, and action sequences.
- Unified Architecture: Uses a Mixture-of-Transformers architecture to subsume vision-language models and world simulators.
- Scalable Training: Built-in support for advanced distributed training strategies (FSDP/TP/CP/PP).
- Flexible Inference: Supports multiple backends and provides a policy server for action-based models.
Related
- Project
- Project
- Project
- Project
- Project