verl

Quickstart

  • Installation
  • Quickstart: PPO training on GSM8K dataset
  • Multinode Training
  • Ray Debug Tutorial
  • More Resources
  • Agentic RL Training

Programming guide

  • How to Extend verl
  • HybridFlow Programming Guide
  • The Design of verl.single_controller

Data Preparation

  • Prepare Data for Post-Training
  • Implement Reward Function for Dataset

Configurations

  • Config Explanation

PPO Example

  • PPO Code Architecture
  • GSM8K Example
  • Megatron-FSDP Example
  • Multi-Modal Example Architecture
  • SkyPilot Examples

Algorithms

  • Proximal Policy Optimization (PPO)
  • Group Relative Policy Optimization (GRPO)
  • Recipe: Decoupled Clip and Dynamic Sampling Policy Optimization (DAPO)
  • Recipe: Self-Play Fine-Tuning (SPIN)
  • Recipe: Self-Play Preference Optimization (SPPO)
  • Recipe: Entropy Mechanism
  • On-Policy RL with Optimal Reward Baseline (OPO)
  • Algorithm Baselines
  • GPG: Group Policy Gradient
  • Rollout Correction
  • Mathematical Formulations of Rollout Correction Methods in verl
  • Optimal Token Baseline (OTB)
  • Divergence Proximal Policy Optimization (DPPO)
  • On-Policy Distillation (OPD)
  • Direct Reward Optimization

PPO Trainer and Workers

  • PPO Trainer
  • Model Engine
  • Engine Workers
  • Automodel Backend
  • TorchTitan Backend
  • SGLang Backend
  • TensorRT-LLM Backend

Performance Tuning Guide

  • Training DeepSeek 671b
  • Dynamic Context Parallelism
  • Verl LLM Best Practices (DAPO + Qwen3-235B)
  • Performance Tuning Guide
  • Rollout KV Cache Offload via Mooncake-Store
  • Upgrading to vLLM >= 0.8
  • Hardware Resource Needed for RL
  • verl Profiler System
  • NVIDIA Nsight Systems profiling in verl
  • PyTorch Profiling in verl

Adding new models

  • Add models with the FSDP backend
  • Add models with the Megatron-LM backend
  • Adding DeepSeek V4 support
  • Experimental Megatron Agent Compose preview

Async Training

  • One-step-off training
  • Delta Weight Sync
  • V1 Async Trainer
  • Fully asynchronous training
  • Recipe: Async On-Policy Knowledge Distillation Trainer
  • Dynamic resource scheduling

Low Precision

  • FP8 RL in verl
  • MXFP8 RL on Blackwell
  • MXFP4 MoE QAT on Blackwell
  • NVFP4 RL on Blackwell
  • Low-Precision Rollout and Quantization-Aware Training

Advanced Features

  • Using Checkpoints to Support Fault Tolerance Training
  • RoPE Scaling override
  • Attention Implementation Override
  • RL(HF) algorithms with LoRA Support
  • Multi-turn Rollout Support
  • Ray API Design Tutorial
  • Extend to other RL(HF) algorithms
  • Sandbox Fusion Example
  • Trace Function Usage Instructions
  • Use RL-Insight to Monitor Training
  • SkipManager: Cache and Replay Rollouts
  • Agent Loop
  • Reward Loop
  • TransferQueue Data System
  • Use Prometheus and Grafana to Monitor Rollout
  • Guide to Using MTP in SFT/RL Training and Inference
  • Full Determinism for Reproducible RL Training
  • FSDP-Turbo backend

Hardware Support

  • Multi-Chip Support
  • AMD (ROCm) Tutorial
  • Ascend (NPU) Tutorial
    • Ascend (NPU) 教程
    • Ascend (NPU) Tutorial

API References

  • Data interface
  • Single Controller interface
  • Trainer Interface
  • Utilities

Blog

  • verl 0.7 release blog

FAQ

  • Frequently Asked Questions

Contributing

  • Editing Agent Instructions

Development Notes

  • Sandbox Fusion Tool Integration
verl
  • Ascend (NPU) Tutorial
  • View page source

Ascend (NPU) Tutorial

Last updated: 06/05/2026.

中文文档

  • Ascend (NPU) 教程
    • Ascend 使用教程
    • 昇腾镜像说明
    • 昇腾安装指南
    • 昇腾快速上手说明
    • 昇腾安装指南(Ascend 950PR&950DT系列产品)
    • 昇腾后端特性指南
    • NPU 高级特性指南
    • NPU 模型与算法支持情况
    • 昇腾 ReTool 最佳实践
    • 昇腾 SGLang 最佳实践
    • 昇腾 vLLM 最佳实践
    • DAPO 模型优化实践
    • NPU Qwen3-32B GSPO 优化实践
    • 多机任务拉起操作指南
    • Qwen3.5 Megatron NPU 使用指南
    • 模型评测
    • 训练配置参数与指标说明
    • 模型迁移至 NPU 指南
    • 精度对齐指南
    • 昇腾性能分析指南
    • 昇腾性能调优指南
    • Profiling采集指导
    • NPU 常见问题解答
    • NPU-CI 添加指导

English Documents

  • Ascend (NPU) Tutorial
    • Ascend Tutorial
    • Ascend Image Guide
    • Ascend Installation Guide
    • Ascend Quick Start Guide
    • Ascend Installation Guide (Ascend 950PR&950DT products)
    • Ascend Backend Feature Guide
    • NPU Advanced Feature Guide
    • NPU Model and Algorithm Support
    • Ascend ReTool Best Practices
    • Ascend SGLang Best Practices
    • Ascend vLLM Best Practices
    • DAPO Model Optimization Practice
    • NPU Qwen3-32B GSPO Optimization Practice
    • Multi-Node Task Startup Guide
    • Qwen3.5 Megatron NPU Usage Guide
    • Model Evaluation
    • Training Configuration Parameters and Metrics
    • Guide to Migrating Models to NPU
    • Precision Alignment Guide
    • Precision Debugger (msprobe) in verl
    • Ascend Performance Analysis Guide
    • Ascend Performance Tuning Guide
    • Profiling Collection Guide
    • NPU FAQ
    • NPU-CI Contribution Guide
Previous Next

© Copyright 2024 ByteDance Seed Foundation MLSys Team.

Built with Sphinx using a theme provided by Read the Docs.