| What it is | Flexible, efficient reinforcement learning post-training for LLMs | A comprehensive library to post-train foundation models | Scalable RLHF and agentic RL framework on Ray and vLLM | Minimal reproduction of DeepSeek R1-Zero reinforcement learning on small models |
| Features | - RL post-training for LLMs: PPO, GRPO and more
- hybrid-controller programming model for RL dataflows
- FSDP and Megatron-LM training backends
- vLLM and SGLang rollout
- Hugging Face model support
- 3D-HybridEngine resharding between training and generation
| - SFTTrainer for supervised fine-tuning
- DPOTrainer, KTOTrainer, CPO and ORPO for preference optimization
- GRPOTrainer, AsyncGRPOTrainer and RLOOTrainer for online RL
- RewardTrainer for reward models
- Knowledge distillation trainers
- Scales with Accelerate, DDP, DeepSpeed ZeRO and FSDP
- PEFT integration for LoRA and QLoRA
- vLLM generation for online methods
- All 10 features
| - PPO, REINFORCE++, GRPO and RLOO
- SFT, reward model and DPO training
- Ray + vLLM + DeepSpeed distributed training
- single-turn and multi-turn agent RL with custom rewards
- vision-language model RLHF
- LoRA
| - RL training that reproduces R1-Zero's self-verification on a 3B model
- countdown and multiplication tasks
- built on veRL
|