nvidia-cosmos/cosmos-rl
Cosmos-RL is a flexible and scalable Reinforcement Learning framework specialized for Physical AI applications.
What it solves
Cosmos-RL is designed to handle the complexities of large-scale Reinforcement Learning (RL) training for Physical AI applications, providing a scalable and flexible framework to manage the heavy computational demands of training embodied agents.
How it works
The framework uses a decoupled, single-controller architecture that separates the training process into specialized roles:
- Policy (Consumer): Dedicated replicas for training instances.
- Rollout (Producer): Dedicated replicas for generation engines.
- Controller: An efficient messaging system that coordinates weights and rollouts between the policy and rollout replicas.
To maximize performance, it supports multiple parallelism strategies (Tensor, Sequence, Context, FSDP, and Pipeline) and utilizes low-precision training and rollout (FP8 and FP4) to reduce memory and compute overhead.
Who it’s for
It is intended for developers and researchers working on Physical AI, such as robotics, autonomous vehicles, and smart spaces, who need to reach large-scale RL training workloads.
Highlights
- Advanced Parallelism: Supports five different types of parallelism to distribute workloads across GPUs.
- Asynchronous Architecture: Decouples policy and rollout replicas for better efficiency.
- Elastic Training: Uses dynamic NCCL Process Groups to allow GPUs to be registered or unregistered on-the-fly, ensuring fault tolerance.
- Low-Precision Support: Optimized for FP8 and FP8/FP4 precision to speed up training and rollouts.
Related
- Project
- Project
- Project
- Project
- Project