Skip to content
Projects

About

Cosmos-RL is a flexible, scalable reinforcement learning framework specialized for Physical AI applications.

Learning & Education

How these counts are measured

Measured star growth

in 24h
-1
in 7 days
-1
in 15 days
+1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

[!IMPORTANT]

Cosmos-RL has moved to Cosmos Framework

Post-training for Cosmos models is now developed in NVIDIA/cosmos-framework: offline SFT, DPO, GRPO, actor-critic PPO, on-policy distillation (OPD), and DiffusionNFT, plus Joint PPO recipes for embodied policies. All of them run on one stack that scales from a single GPU to a multinode Ray cluster.

Start here: Cosmos Framework post-training docs

This repository is no longer under active development and will receive only limited maintenance updates. Future features, documentation, and community support will be focused on Cosmos Framework.

Looking for the Cosmos 3 models? Visit NVIDIA/cosmos.

NVIDIA Cosmos Header

Getting Started

Cosmos-RL is a flexible and scalable Reinforcement Learning framework specialized for Physical AI applications.

Documentation.

System Architecture

Cosmos-RL provides toolchain to enable large scale RL training workload with following features:

  1. Parallelism
    • Tensor Parallelism
    • Sequence Parallelism
    • Context Parallelism
    • FSDP Parallelism
    • Pipeline Parallelism
  2. Fully asynchronous (replicas specialization)
    • Policy (Consumer): Replicas of training instances
    • Rollout (Producer): Replicas of generation engines
    • Low-precision training (FP8) and rollout (FP8 & FP4) support
  3. Single-Controller Architecture
    • Efficient messaging system (e.g., weight-sync, rollout, evaluate) to coordinate policy and rollout replicas
    • Dynamic NCCL Process Groups for on-the-fly GPU [un]registration to enable fault-tolerant and elastic large-scale RL training

Policy-Rollout-Controller Decoupled Architecture

License and Contact

This project will download and install additional third-party open source software projects. Review the license terms of these open source projects before use.

NVIDIA Cosmos source code is released under the Apache 2 License.

NVIDIA Cosmos models are released under the NVIDIA Open Model License. For a custom license, please contact [email protected].

Explore related projects

Loading…