Easy extension of diverse RL algorithms: The hybrid-controller programming model enables flexible representation and efficient execution of complex post-training dataflows. Build RL dataflows such as GRPO, PPO in a few lines of code.
Seamless integration of existing LLM infra with modular APIs: Decouples computation and data dependencies, enabling seamless integration with existing LLM frameworks, such as FSDP, Megatron-LM, vLLM, SGLang, etc
Flexible device mapping: Supports various placement of models onto different sets of GPUs for efficient resource utilization and scalability across different cluster sizes.
Ready integration with popular HuggingFace models
verl is fast with:
State-of-the-art throughput: SOTA LLM training and inference engine integrations and SOTA RL throughput.
Efficient actor model resharding with 3D-HybridEngine: Eliminates memory redundancy and significantly reduces communication overhead during transitions between training and generation phases.
News
[2026/11] Mainline PPO training now uses V1 exclusively; the V0 trainer has been removed. Fully async and one-step-off trainers have moved to verl-recipe, pinned to verl v0.9.1.
[2026/08] verl-vlav0.1.0 is released: a unified VLA post-training framework for human-in-the-loop data collection, supervised fine-tuning, and reinforcement learning across simulators, real robots, and distributed cloud-edge resources, built on top of verl.
[2026/08] VeRL-Tinker is released: keep the Tinker Cookbook loop you know, and run SFT, RL, and distillation on verl-managed GPU workers you control; read the blog here.
[2026/08] VeRL-Omniv0.2.0 is released: faster diffusion RL, rebuilt Qwen3-Omni multimodal training (DPO & GSPO), plus LTX-2.3, Qwen-Image-Edit support and more.
[2026/07] RL-Insight is released: online observability for reinforcement learning training. RL-Insight connects training-side metrics, RL state traces, and service dashboards across distributed rollout and optimization workloads.
[2026/06] verl-SpeCo is pre-released: a co-training framework for speculative decoding across RL training and inference, keeping draft models aligned during training and reusable for accelerated serving, built on top of verl.
[2026/05] uni-agent is released: a unified agent framework to build, run, and train LLM agents at scale, built on top of verl.
[2026/05] VeRL-Omni is pre-released: a unified RL stack for diffusion and omni-modal model post-training built on top of verl. Read the blog post for details.
[2026/05] verl's zero-mismatch HuggingFace rollout vexact is released: with batch-invariant kernels, shared model definition with FSDP, and out-of-box examples compatible with VeOmni.
[2025/03] DAPO is the open-sourced SOTA RL algorithm that achieves 50 points on AIME 2024 based on the Qwen2.5-32B pre-trained model, surpassing the previous SOTA achieved by DeepSeek's GRPO (DeepSeek-R1-Zero-Qwen-32B). DAPO's training is fully powered by verl and the reproduction code is available in recipe/dapo now.
more...
[2025/04] [Seed-Thinking-v1.5](https://github.com/ByteDance-Seed/Seed-Thinking-v1.5/blob/main/seed-thinking-v1.5.pdf) tech report is released! Trained with verl, Seed-Thinking-v1.5 achieves 86.7 on AIME 2024, 55.0 on Codeforces and 77.3 on GPQA, demonstrating excellent reasoning abilities in STEM and coding. Beyond reasoning tasks, the method demonstrates notable generalization across diverse domains.
[2025/07] verl keynote at [AWS AI Hours Singapore](https://pages.awscloud.com/aws-ai-hours-sg.html#agenda) on 7/8, verl & verl-agent project updates at [Agent for SWE meetup](https://lu.ma/e498qhsi) by LF AI & Data Singapore on 7/11.
[2025/06] verl team will provide latest project updates at [PyTorch Day China](https://www.lfasiallc.com/pytorch-day-china/) on June 7th. Meet our dev team in Beijing!
[2025/04] [VAPO](https://arxiv.org/pdf/2504.05118) (value-based augmented PPO) paper covers our latest RL method for reasoning models. Trained from Qwen-32B-base model, VAPO achieves 60.4 on AIME 2024, outperforming DAPO-32B.
[2025/05] [PF-PPO](https://arxiv.org/abs/2409.06957), accepted to ICML 2025, is now supported in verl! PF-PPO enhances policy learning efficiency and robustness by filtering potentially noisy reward signals and reusing high-quality experiences via a replay buffer.
[2025/04] We will give a tutorial about latest post-training techniques and programming guide for verl at [ICLR 2025 Expo](https://iclr.cc/virtual/2025/calendar?filter_events=Expo+Talk+Panel&filter_rooms=), [SCI-FM workshop](https://open-foundation-model.github.io/) and [LMSys afterparty](https://lu.ma/d23nyynm). Talk materials available [here](https://github.com/eric-haibin-lin/verl-community/tree/main/iclr25).
[2025/03] verl v0.3.0.post1 is released! See [release note](https://github.com/verl-project/verl/releases/) for details. It achieves [~1.4x speedup](https://tongyx361.github.io/blogs/posts/verl-intro/#/verl-flexible-and-efficient-rl-for-llms) compared to prev versions.
[2025/05] verl will be presented at [A2M Shanghai](https://a2m.msup.com.cn/home/?aid=4488&city=shanghai) on 5/16 - 5/17.
[2025/05] verl will be presented at [GOSIM x PyTorch Day 2025](https://paris2025.gosim.org/). See you in Paris!
[2025/03] We introduced the programming model of verl at the [vLLM Beijing Meetup](https://mp.weixin.qq.com/s/n77GibL2corAtQHtVEAzfg) and [verl intro and updates](https://github.com/eric-haibin-lin/verl-community/blob/main/slides/verl-lmsys-meetup.pdf) at the [SGLang-LMSYS Org Meetup](https://lu.ma/ntjrr7ig) in Sunnyvale mid-March.
[2025/03] We will present verl(HybridFlow) at EuroSys 2025. See you in Rotterdam!
[2025/01] [Doubao-1.5-pro](https://team.doubao.com/zh/special/doubao_1_5_pro) is released with SOTA-level performance on LLM & VLM. The RL scaling preview model is trained using verl, reaching OpenAI O1-level performance on math benchmarks (70.0 pass@1 on AIME).
[2024/12] verl is presented at Ray Forward 2024. Slides available here
Optional workflows and baselines live under recipe/. Each recipe subdirectory includes a small REQUIRED_VERL.txt file describing the intended verl install: pinned recipes use a tag or fixed git SHA; rolling recipes record an explicit VERL_COMMIT (and related submodule / recipe-folder SHAs) so you can pip install verl@git+…@<sha> without guessing. See recipe/README.md for the full index and links.
For code explanation and advance usage (extension):
The performance is essential for on-policy RL algorithm. We have written a detailed performance tuning guide to help you optimize performance.
Upgrade to vLLM >= v0.8.2
verl now supports vLLM>=0.8.2 when using FSDP as the training backend. Please refer to this document for the installation guide and more information. Please avoid vllm 0.7.x, which contains bugs that may lead to OOMs and unexpected errors.
Use Latest SGLang
SGLang is fully supported with verl, and SGLang RL Group is working extensively on building unique features, including multi-turn agentic RL, VLM RLHF, server-based RL, and partial rollout. Please refer to this document for the installation guide and more information.
Upgrade to FSDP2
verl is fully embracing FSDP2! FSDP2 is recommended by torch distributed team, providing better throughput and memory usage, and is composible with other features (e.g. torch.compile). To enable FSDP2, simply use verl main and set the following options:
Furthermore, FSDP2 cpu offloading is compatible with gradient accumulation. You can turn it on to save memory with actor_rollout_ref.actor.fsdp_config.offload_policy=True. For more details, see https://github.com/verl-project/verl/pull/1026
AMD Support (ROCm Kernel)
verl runs on AMD ROCm GPUs (MI300X / MI325X / MI355X) with FSDP, FSDP2, and Megatron trainer backends, and vLLM as the validated inference engine (SGLang support is in progress). See the AMD ROCm quick-start guide for container bring-up, environment verification, and training examples.
@article{sheng2024hybridflow,
title = {HybridFlow: A Flexible and Efficient RLHF Framework},
author = {Guangming Sheng and Chi Zhang and Zilingfeng Ye and Xibin Wu and Wang Zhang and Ru Zhang and Yanghua Peng and Haibin Lin and Chuan Wu},
year = {2024},
journal = {arXiv preprint arXiv: 2409.19256}
}
verl is inspired by the design of Nemo-Aligner, Deepspeed-chat and OpenRLHF. The project is adopted and contributed by Bytedance, Anyscale, LMSys.org, Alibaba Qwen team, Shanghai AI Lab, Tsinghua University, UC Berkeley, UCLA, UIUC, University of Hong Kong, ke.com, All Hands AI, ModelBest, JD AI Lab, Microsoft Research, StepFun, Amazon, LinkedIn, Meituan, Camel-AI, OpenManus, Xiaomi, NVIDIA research, Baichuan, RedNote, SwissAI, Moonshot AI (Kimi), Baidu, Snowflake, Skywork.ai, JetBrains, IceSword Lab, and many more.
Awesome Projects Built with verl
Welcome to register your awesome project build with verl for other developers' reference!
TinyZero: a reproduction of DeepSeek R1 Zero recipe for reasoning tasks
SkyThought: RL training for Sky-T1-7B by NovaSky AI team.
simpleRL-reason: SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wild
Dr. MAS: Stable end-to-end RL post-training for multi-agent LLM systems
LUFFY: Learning to Reason under Off-Policy Guidance
DeepMath: DeepMath-103K data and series models for math reasoning
PACS: Implicit Actor Critic Coupling via a Supervised Learning Framework for RLVR
Entropy Mechanism of RL: The Entropy Mechanism of Reinforcement Learning for Large Language Model Reasoning
LLaSA-TTS-GRPO: TTS fine-tuning with GRPO optimization based on LLASA models
PF-PPO: Policy Filtration for PPO based on the reliability of reward signals for more efficient and robust RLHF.
RACRO: Build multi-modal reasoning models via decoupling it into query-conditioned captioning and text-only reasoning
Agent Lightning: A flexible and extensible framework that enables seamless agent optimization for any existing agent framework.
VTool-R1: VLMs Learn to Think with Images via Reinforcement Learning on Multimodal Tool Use.
Kimina-Prover-RL: Training pipeline for formal theorem proving, based on a paradigm inspired by DeepSeek-R1.
RL-PLUS: Countering Capability Boundary Collapse of LLMs in Reinforcement Learning with Hybrid-policy Optimization.
rStar2-Agent: Using reinforcement learning with multi-step tool-calling for math tasks, rStar2-Agent-14B reaches frontier-level math reasoning in just 510 RL training steps
Vision-SR1: Self-Rewarding Vision-Language Model via Reasoning Decomposition
SimpleVLA-RL: SimpleVLA-RL: A Simple yet Effective Vision-Language Action Model for Reinforcement Learning
Table-R1: Table-R1: Inference-Time Scaling for Table Reasoning
Revisual-R1: Revisual-R1: Advancing Multimodal Reasoning From Optimized Cold Start to Staged Reinforcement Learning
ARES: ARES: Multimodal Adaptive Reasoning via Difficulty-Aware Token-Level Entropy Shaping
Meta-Bandit-LLM: Meta-Bandit-LLM: Long-horizon multiturn interactive training for meta-bandit agents
PokeeResearch: PokeeResearch: State-of-the-art 7B DeepResearch Agent that leverages web search and content reading capabilities to answer complex questions using the most up-to-date information available online.
Search Self-play: Pushing the Frontier of Agent Capability without Supervision
OneThinker: All-in-one Reasoning Model for Image and Video
OpenTinker: Democratizing Agentic Reinforcement Learning as a Service
FlowRL: Matching reward distributions via flow balance for diverse exploration and generalizable reasoning
Logic-RL: a reproduction of DeepSeek R1 Zero on 2K Tiny Logic Puzzle Dataset.
Seed-Coder: RL training of Seed-Coder boosts performance on competitive programming
Founded in 2023, ByteDance Seed Team is dedicated to crafting the industry's most advanced AI foundation models. The team aspires to become a world-class research team and make significant contributions to the advancement of science and society. You can get to know Bytedance Seed better through the following channels👇
We are HIRING! Send us an email if you are interested in internship/FTE opportunities in RL for agents.
What is this?verl is a flexible, efficient and production-ready reinforcement learning training library for LLMs, initiated by ByteDance's Seed team and maintained by the community. It is the open-source version of the HybridFlow paper (EuroSys 2025).
So is it a Python library I script against, or a hosted service?It is a Python framework you run on your own GPU clusters: a hybrid-controller programming model lets you express RL dataflows like GRPO or PPO in a few lines of code, executed by Ray-based trainers.
How do I get started with a first training run?Follow the Getting Started guide in the README, then pull the recipe submodule with git submodule update --init --recursive recipe for runnable examples; recipe/README.md indexes them all, and docs cover the PPO trainer, workers and advanced extension.
Which training and inference engines does it plug into?For training it supports FSDP, FSDP2 and Megatron-LM; for rollout generation it uses vLLM, SGLang or HF Transformers. It works with Hugging Face and ModelScope models such as Qwen3.5, Qwen3, Llama3.1, Gemma2 and DeepSeek-LLM.
Any version pitfalls I should know before installing?Avoid vLLM 0.7.x: it contains bugs that can cause OOMs and unexpected errors, so use vLLM 0.8.2 or newer with the FSDP backend. The team also recommends moving to FSDP2 via strategy flags on verl main.
Does it need a specific GPU vendor or a huge cluster?It supports NVIDIA, AMD and Ascend hardware and scales to 671B-parameter models on hundreds of GPUs with expert parallelism. Multi-GPU LoRA RL helps save memory on smaller setups.
What is the 3D-HybridEngine mentioned in the README?It is verl's engine for efficient actor model resharding: it eliminates memory redundancy and significantly reduces communication overhead during transitions between the training and generation phases of RL.
Which experiment trackers does it work with?Out of the box it integrates wandb, swanlab, mlflow and tensorboard for experiment tracking, and the RL-Insight project adds online observability for RL training runs.
Have any well-known models actually been trained with it?Yes — DAPO trained with verl scored 50 points on AIME 2024 from a Qwen2.5-32B base, ByteDance's Seed-Thinking-v1.5 reached 86.7 on AIME 2024, and the Doubao-1.5-pro RL preview model hit 70.0 pass@1 on AIME.
Are there spin-off projects built on top of verl?Several: verl-vla for robot VLA post-training, VeRL-Tinker for SFT/RL/distillation on your own verl-managed GPU workers, VeRL-Omni for omni-modal post-training, verl-SpeCo for speculative decoding, and the uni-agent framework.