Cosmos Framework
ProjectCosmos Framework is NVIDIA's open and fully modular framework for world-model training, model optimization and inference, covering the full model development lifecycle through agent-runnable skills and recipes. It is the tooling layer beneath the NVIDIA Cosmos platform of world foundation models, paired with Cosmos NIM microservices for GPU-accelerated serving. The GitHub repository (NVIDIA/cosmos-framework) was created in May 2026, is written in Python and is actively developed, and the framework now expands beyond Cosmos 3 to NVIDIA Alpamayo, GR00T, Qwen, pi0.5 and other compatible Hugging Face models. Training: the framework trains models on text, images, video, audio and actions using its agent skills, supports LoRA for parameter-efficient adaptation as well as full supervised fine-tuning that updates all parameters, and loads data through JSONL, WebDataset, LeRobot or custom adapters. Runs span multiple GPUs and checkpoint to disk so training can be resumed. Reinforcement learning: Cosmos Framework covers both online and offline RL post-training paths, including DPO for offline preference optimization, GRPO for online RL with rule-based or model-based rewards and vLLM rollouts, PPO actor-critic RL with a frozen reference and critic including RL for embodied policies in simulation, OPD on-policy distillation from a frozen teacher, and DiffusionNFT online RL for diffusion world models. Rollout, reward and training roles can be placed on shared GPUs or separate pools, and supported simulators can be connected to collect experience. Optimization and inference: models can be distilled to reduce size or generation steps and quantized to reduce memory, then served with Hugging Face Diffusers, PyTorch, SGLang, vLLM-Omni, vLLM, TRT-LLM, TRT-Edge-LLM or NVIDIA NIM, with evaluation for quality, accuracy and GPU utilization. Simulation recipes: the framework ships post-training and inference recipes for robot simulation, realistic scene generation, multi-camera driving simulation and surgical policy evaluation. The released Cosmos 3 Nano simulation recipes and example checkpoints (Cosmos3-Nano-Transfer-Auto, Cosmos3-Nano-Sim-Auto, Cosmos3-Nano-Sim-Transfer and Cosmos3-Nano-Sim-Bimanual) let developers evaluate checkpoints through agent skills and adapt Cosmos 3 Nano to custom sensors, action spaces and data domains. Transfer-Auto supports 30 fps input and output video with up to 400 frames at 480p or 720p, and joint RGB-LiDAR generation produces synchronized camera video and LiDAR sweeps for AV, robot and surgical scenarios - the documented reference run yields seven 720p videos and 99 LiDAR sweeps. Sim-Auto is the causal, few-step-distilled variant enabling autoregressive streaming generation for closed-loop evaluation, Sim-Bimanual generates the next visual observation from scene and robot actions for interactive two-arm simulation on YAM and AgiBot embodiments, and Sim-Transfer converts depth video plus a prompt into RGB video while preserving geometry and motion. Checkpoints support PyTorch and vLLM-Omni and are tested on NVIDIA Hopper and Blackwell GPUs. Cosmos Framework is the training and serving counterpart to the Cosmos 3 model itself: the model generates physically accurate video, robot trajectories and simulation scenarios, while the framework provides the pipelines, recipes and agent skills that train, post-train, optimize and deploy it.