nvidia-cosmos/cosmos-rl

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

What it solves

Cosmos-RL provides a specialized framework for training Reinforcement Learning (RL) models at a massive scale, specifically tailored for Physical AI applications. It addresses the complexity of coordinating large-scale training workloads by decoupling the policy training from the data generation process.

How it works

It uses a single-controller architecture that separates the system into two main parts: policy replicas (the "consumers" that learn) and rollout replicas (the "producers" that generate data). This setup allows for asynchronous operation, meaning the system can generate data and update the model simultaneously. It supports a wide array of parallelism techniques—including tensor, sequence, context, and pipeline parallelism—and utilizes dynamic messaging to coordinate between components, even allowing for elastic GPU management.

Who it’s for

This framework is designed for researchers and engineers building large-scale Reinforcement Learning models for Physical AI who need a highly scalable, fault-tolerant infrastructure that can run on anything from a single GPU to a multinode Ray cluster.

Highlights

  • Decoupled policy and rollout architecture for asynchronous training.
  • Support for low-precision training and rollout using FP8 and FP4 formats.
  • Advanced parallelism options including FSDP and pipeline parallelism.
  • Dynamic NCCL process groups for fault-tolerant, elastic scaling.
  • Note: Development has moved to the unified Cosmos Framework.

Related

  • Project
  • Project
  • Project
  • Project
  • Project