DLRover Unified API Tutorial
November 3, 2025 · View on GitHub
DLRover provides a unified control plane for different types of distributed training, improving runtime stability and performance. This tutorial collects practical guides, examples, and design references for using the Unified API.
Quick Start
Start here to run a complete example and verify your environment:
- Get Started: Run NanoGPT with DLRover — 01. Get Started: Run NanoGPT
Tutorial Index
-
- Getting started
- 01. Get Started: Run NanoGPT — Run NanoGPT with DLRover (quick walkthrough)
-
- Builder API
- 02. Unified API Guide — Submit and configure larger training jobs
-
- Advanced / Multi-role
- 03A. Multi-Role Training (OpenRLHF) — Multi-role training with OpenRLHF
- 03B. Multi-Role Training Example: verl — Multi-role training with VeRL
-
- Runtime SDK
- 04. Runtime SDK — Use the DLRover Runtime SDK and runtime patterns
-
- Others
- Develop Notes - Some notes for understanding the code.
Examples
See examples/unified/ for hands-on examples and complete training scripts.
Troubleshooting & Tips
- For GPU runs make sure CUDA, drivers and NCCL are configured correctly.
- For local debugging reduce
nnodesandnproc_per_nodeto validate logic before scaling out. - When integrating Ray DataLoader refer to the patch example in 01. Get Started: Run NanoGPT.
Design & References
- Proposal doc:
../design/unified-mpmd-control-proposal - Design doc:
../design/unified-architecture.md
Contributing
See the project-level CONTRIBUTING.md for contribution guidelines and developer instructions.