verl
ByteDance’s reinforcement learning library for LLM post-training.
- Star 数
- 24.4K
- Fork 数
- 5K
- 未关闭 Issue
- 1.6K
- 最近提交
- 2026-11-30
数据来自 GitHub API · 更新于 2026-11-30
verl 是什么?
verl (Volcano Engine Reinforcement Learning) implements HybridFlow for efficient RLHF and RL-with-verifiable-rewards training, with PPO, GRPO and other algorithms on FSDP or Megatron backends and vLLM/SGLang rollouts.
主要功能
- PPO, GRPO, DAPO and more
- FSDP and Megatron-LM training backends
- vLLM and SGLang rollout engines
- Scales to hundreds of GPUs
系统要求
- 平台
- Linux · Docker
- 显卡
- NVIDIA or AMD multi-GPU
如何安装 verl
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
pip
- 1Install (the docs recommend the prebuilt Docker images for full setups).
pip install verl
优势
- State-of-the-art RL throughput
- Used for reasoning-model training
不足
- Requires multi-GPU infrastructure
verl 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| verl ByteDance’s reinforcement learning library for LLM post-training. | 24.4K | Apache-2.0 | — | |
| OpenRLHF Easy, scalable RLHF framework built on Ray, vLLM and DeepSpeed. | 10.2K | Apache-2.0 | — | |
| TRL Hugging Face’s library for post-training LLMs: SFT, DPO, GRPO. | 19.9K | Apache-2.0 | — | |
| DeepSpeed Microsoft’s library for large-scale distributed training and inference. | 43.4K | Apache-2.0 | — | |
| Kohya’s GUI GUI for training LoRA, DreamBooth and fine-tunes for SD, SDXL and FLUX. | 12.7K | Apache-2.0 | 8 GB+ for SD1.5 LoRA; 12–24 GB for SDXL/FLUX | |
| OneTrainer One-stop trainer for diffusion models with a desktop UI. | 3.3K | AGPL-3.0 | 8 GB+ |
常见问题
verl 免费吗?
是的——verl 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。
verl 支持 Windows、Mac 和 Linux 吗?
verl 支持:Linux, Docker。
运行 verl 需要什么配置?
NVIDIA or AMD multi-GPU
如何安装 verl?
1. Install (the docs recommend the prebuilt Docker images for full setups).
verl 有哪些好的替代品?
常见替代品包括 OpenRLHF, TRL, DeepSpeed, Kohya’s GUI,详见本页对比表。