Short answer: choose it for control over the training loop
Choose verl for selectable training and rollout backends; Orchestra Research recommends TRL or Axolotl for simple SFT/DPO. The verl README lists FSDP, FSDP2 and Megatron-LM for training, with vLLM, SGLang and HF Transformers for generation. Our run installed commit 60340a1 in 61 seconds and built it in 3 seconds, then tests timed out after 900 seconds with failures and errors visible. Installation completed; the test command ended unsuccessfully.
Volcano Engine Reinforcement Learning is the LLM framework at verl-project/verl. The official introduction identifies it as an open-source implementation of HybridFlow. Reinforcement learning updates a model using scores assigned to its answers or actions. The experiment needs a model, prepared data and a scoring rule. The README's getting-started route includes data preparation and reward implementation alongside trainer and configuration guides, making those responsibilities part of adopting the framework.
AgentEnv reports evaluation reward improving from 0.52 to 0.60, below its greedy rule's 0.76. Its GridSim account preserves both the model improvement and the stronger task baseline. Improving a model's starting score answers a different question from beating an existing rule. Teams choosing verl for backend control should keep that task comparison beside training metrics: the result gives a concrete reason to evaluate the learned policy against the method already available.
What people use verl for
AgentEnv reports 40 GRPO steps on one L40S, while other authors describe four-GPU, eight-GPU and multi-node workflows. The one-L40S result concerns Qwen3-4B with LoRA on GridSim; Weyaxi's four-A100 setup concerns Qwen2.5-3B-Instruct on GSM8K. Model, task and hardware identify distinct workloads, so the examples provide several starting points rather than one hardware requirement for every verl experiment.
| Who used it | What they did | Reported outcome |
|---|---|---|
| AgentEnv Framework authors | Trained Qwen3-4B with multi-turn GRPO, LoRA, FSDP and vLLM on battery scheduling | 40 steps and three evaluations took 67 minutes on one L40S; evaluation reward rose from 0.52 to 0.60, below the greedy rule's 0.76. |
| Weyaxi | Documented a GRPO and LoRA setup for Qwen2.5-3B-Instruct on GSM8K | The setup uses four NVIDIA A100 80GB SXM GPUs. |
| GitHub user huaiyizhao | Ran a Qwen3-VL MoE setup | Reported using eight H20 GPUs, with expert parallelism four and tensor parallelism two. |
| verl documentation authors | Ran GSM8K under Slurm | The v0.4.1 FAQ reports a working multi-node example and describes its Ray launch procedure. |
GRPO means Group Relative Policy Optimization; LoRA trains added parameters rather than updating every model weight. AgentEnv's example gives those choices a specific job: Qwen3-4B reads a day's electricity prices and schedules battery charging, selling or idling. The environment scores the schedule against the day's optimum. A second verl run returned evaluation scores of 0.52, 0.59 and 0.60, preserving the comparison with the 0.76 greedy rule.
What happened when we ran it
Our December 2, 2026 run at commit 60340a1 installed in 61 seconds, built in 3 seconds and timed out during tests after 900 seconds. The source harness recorded 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. The separate quickstart probe recorded 2 CPUs and 4 GB RAM and installed the PyPI release.
| What we measured | Result |
|---|---|
| Source installation | Succeeded in 61 seconds |
| Build | Succeeded in 3 seconds |
| Tests | Timed out after 900 seconds, exit 124 |
| Dependencies | 177 recorded |
| Installed environment | 6,075 MB |
| Checkout | 1,749 files, approximately 282,169 source lines, 24.1 MB |
| Repository scan | 50 CI workflow files, tests directory present, no Dockerfile detected |
The test tail begins with a pytest-asyncio warning that asyncio_default_fixture_loop_scope is unset. Passing dots appear alongside failure, error and skip markers. Displayed progress reaches 2%, 5%, 7%, 10%, 13% and 15%, followed by additional failures and errors before the timeout. Installation and build completed before the unsuccessful test command.
The separate probe checked out 60340a1e25d2 in a fresh unprivileged container without published ports or secrets. It measured 6,031.1 MB in site-packages and 139 packages besides verl. The checkout revision and installed package version describe separate parts of that probe.
The next step failed because the README had no Python code block to run, matching the probe's recorded no-snippet finding. It produced no example output, and teardown completed successfully. The README instead directs readers through installation, data preparation, reward implementation and trainer examples. A complete task example is its documented route into the training loop.
Installation depends on the selected backend
AgentEnv reports an unavailable flash-attn wheel preventing uv installation outside its cached image. Its installation account identifies verl 0.9.1 and main and says its GPU runs used the CUDA 13 image with cached wheels. That route differs from our source harness and the separate PyPI installation. The package installation outcome belongs beside the route, revision and backend combination used to obtain it.
The official installation guide uses one committed uv.lock and backend extras. A typical run selects one inference engine and one training backend; the CPU extra runs alone. The uv workflow targets Linux with Python 3.12 on x86_64 or aarch64. AMD ROCm and Ascend use dedicated images. The guide also names system components outside uv's responsibility, including GDRCopy, NVSHMEM and Mooncake, according to the selected backend.
Ray starts the TaskRunner and worker actors with the driver's selected environment in the guide's uv launch path. Changing extras between commands resynchronizes the environment and can reinstall Torch. Those details make environment consistency part of a job's configuration. The revision, image, selected extras and model together describe the intended stack more precisely than a package name or installation command alone.
Where people get stuck: follow the error beneath Ray
Issue #383 describes ActorDiedError as a general Ray message and recommends reading the verl-specific traceback. The discussion recommends at least one sample per GPU through log_prob_micro_batch_size_per_gpu. Another participant traced their case to cluster communication. The investigation starts with the failing worker's traceback and resource settings, which distinguish that participant's diagnosis from the other failures discussed in the thread.
| Report | What happened | Response recorded in the discussion |
|---|---|---|
| Host memory issue #429 | PKU-Fgx reported growing system memory followed by Ray OOM | Suggestions included jemalloc profiling and isolating the reward function. Disabling free_cache_engine had conflicting reported outcomes. |
| SGLang issue #1611 | Async multi-turn GRPO encountered illegal memory access, including validation failures | PR #1686 was proposed; participants reported continued errors after applying it. |
| Backward hang issue #1303 | Multi-GPU training hung at loss.backward(); the original reporter's one-GPU case worked | Replies described version, configuration and distributed-debugging experiments. |
| Checkpoint issue #3258 | Users reported FSDP2 activation-checkpoint failures with MoE models | koceja suggested Megatron and described use_reentrant=True as a possibility. |
| Qwen3-VL issue #3906 | A working eight-H20 report appears alongside checkpoint OOM and AgentLoop freeze reports | The thread records a historical dependency stack and parallelism settings. |
AgentEnv describes a quieter failure: a mismatched parser finds no tool calls, so every rollout ends after its first reply. Its Qwen3 example uses hermes, a tool-response limit of 8192, four assistant turns and rollout.layered_summon=False for single-GPU LoRA. The authors say the default tool-answer truncation is 256 characters and verl's prompt-length filter excludes a row's tools. Their dataset writer counts tools before accepting a row.
Backend speed depends on the integrated job
Issue #1208 reports SGLang running slower than vLLM on H200 inside verl, reversing the standalone inference ordering. EduardDurech's GH200 discussion also describes problematic integrated performance at tensor parallelism two. Tensor parallelism splits model computation across devices. Its setting therefore belongs beside generation, training and synchronization timings when comparing backend behavior for a particular experiment, rather than being separated from the reported speed.
Issue #1580 adds a model-specific timing question: carrot0117 reported Qwen3-8B taking about an hour per GRPO step where Qwen2.5-7B took minutes. The reporter said vLLM 0.8.4 and 0.8.5 had not solved the problem. Replies requested timing information and suggested data.max_response_length=512 to investigate responses holding up workers. The thread connects the proposed response cap to a specific slowdown report.
Agent recovery uses explicit retry and refill settings
AgentEnv reports two server restarts delaying affected steps by up to 54 seconds without losing rollouts. In a separate shutdown, rollouts raised RolloutFailed, four groups received fresh rows and training continued. Its configuration combines episode retries, a recovery timeout and trainer.v1.sampler.sync_refill_failed_groups=True. These settings explain how the reported recovery worked and belong beside the model and optimizer configuration when reproducing that integration.
The NPU FAQ describes missing checkpoint metadata on non-shared storage and weight tensors exceeding a transfer bucket's capacity. Its checkpoint workaround copies common.pt, .metadata and metadata.json to the other nodes after saving. For weight transfer, it describes a default capacity of 2048 MB and an example setting of 4096 MB through checkpoint_engine.update_weights_bucket_megabytes. Larger buckets consume additional worker memory, so the workaround changes memory use as well as transfer capacity.
Security: protect the AgentEnv server token
AgentEnv says its server uses plain HTTP and WebSockets, exposing the token in transit without transport protection. The authors recommend a private network reachable only by training nodes or a TLS proxy. They also state that anyone reaching a server without a configured token can deploy and drive its environments. Server reachability and transport configuration are therefore concrete parts of this integration's setup.
The --token-var option records the environment variable's name in agent_loop.yaml rather than the token itself. Each worker reads the variable and opens sessions against the configured server URL. The authors describe setting it where Ray workers inherit it or through Ray runtime environment variables. Their plotted GridSim run placed the environment server on a separate CPU machine within the same private network as the GPU machine.
verl vs TRL, slime and miles
Orchestra Research recommends TRL or Axolotl for simple SFT/DPO and slime or miles for Megatron-native training. Its verl guide frames those as alternatives for specific requirements. verl's official installation guide recommends FSDP/FSDP2 for research and Megatron-LM for scalability. These recommendations distinguish workflow and integration choices before any comparison of task scores or execution speed.
| Choice | Supported reason to consider it | Evidence |
|---|---|---|
| verl | Select training and generation backends for the experiment | Official backend guidance recommends FSDP/FSDP2 for research and Megatron-LM for scalability. |
| TRL | The immediate task fits simple SFT/DPO | Orchestra Research recommends TRL or Axolotl for that workflow. |
| slime or miles | Megatron-native training is the integration priority | Orchestra Research names both alternatives. |
| prime-rl or NeMo RL | Compare another framework on the same agent task | AgentEnv reports step-40 rewards of 0.57 and 0.67 respectively. |
AgentEnv's step-40 table reports 0.60 for verl and 0.61 for TRL, alongside the prime-rl and NeMo RL results. The runs share an SFT warm start and training settings, giving the numbers a concrete task context. SFT trains on examples; DPO learns from preferred and rejected answers. Orchestra Research's simpler-trainer recommendation concerns those workflows, while AgentEnv's TRL result documents GRPO on GridSim.
Outdated claims, corrected
The current installation guide says vLLM 0.18.0 and later are supported, replacing Orchestra Research's 0.8.5-through-0.12.0 advice for that documented setup. The official guide says older releases are unusable with verl. The README also retains an older vLLM >=0.8.2 heading. These are three distinct version statements; the selected revision and backend determine which compatibility instructions describe the intended installation.
Orchestra Research lists eight or more GPUs for its math workflow, while AgentEnv reports 40 GRPO steps on one L40S and Weyaxi describes four A100 80GB GPUs. The eight-GPU prerequisite belongs to that recipe. AgentEnv's Linux-and-NVIDIA statement likewise describes its installation route; the official guide directs AMD ROCm and Ascend users to dedicated images, and the README names broader hardware support.
The project blog's October 30, 2026 entry reports 300 stable steps on 32 MI355X GPUs for BF16, BF16 plus QAT and FP8 recipes. Separately, the README's November news says mainline PPO uses V1 exclusively and fully async and one-step-off trainers moved to verl-recipe, pinned to v0.9.1. These dates and trainer distinctions identify which configuration a historical recipe or troubleshooting thread describes.
FAQ
Orchestra Research recommends TRL or Axolotl when simple SFT/DPO covers the task; verl's official guide documents selectable training and rollout backends. That is the supported starting point for the framework-choice question. The other questions below address named issue reports and configuration topics, including the engine and precision details available for investigating training-rollout mismatch.
Should I choose verl or TRL for my post-training workload?
Choose TRL or Axolotl for simple SFT/DPO, following Orchestra Research's recommendation. Choose verl when its selectable training and rollout infrastructure is the requirement. The comparison section separates that workflow choice from AgentEnv's GridSim scores: its step-40 results were 0.60 for verl and 0.61 for TRL. Both results belong beside the same task baseline and training configuration.
How does verl compare with slime and miles for Megatron-native training?
Orchestra Research names slime and miles for Megatron-native training, while verl's guide recommends its Megatron-LM backend for scalability. The supported distinction is the integration priority described by those authors. A team already operating Megatron can use that distinction to frame its framework choice around existing training code, rollout requirements and checkpoint behavior, with the comparison section retaining the source of each recommendation.
What does Ray do in verl, and how do its workers operate?
Ray starts the TaskRunner and worker actors with the driver's selected environment in the official guide's uv launch path. Its py_executable configuration carries the environment selection to those processes. For failures, issue #383 directs readers to the verl traceback beneath ActorDiedError. The worker launch configuration explains how processes start; the application traceback supplies the specific failure evidence, including the resource settings discussed in that issue.
How do I install verl, prepare datasets, build rewards and debug a first RL run?
The README separates installation, data preparation, reward implementation and trainer architecture into linked steps. The installation guide pairs an inference extra with a training extra, while AgentEnv describes Parquet task rows and an environment verifier producing rewards. Our quickstart probe followed a different route: it installed PyPI version 0.9.1, then stopped because the README contained no Python code block for the snippet step.
What engine and precision details should I record when investigating training-rollout mismatch?
Record the training engine, rollout engine and precision recipe together. The README lists separate training and rollout engines, and the October 30 project entry reports training aligned with FP8 rollout quantization. Those details identify the configuration being investigated. Keeping them beside total step time and evaluation reward connects a precision or engine change to the observed numerical and operational results.
Why does host memory keep growing until Ray kills my verl training process?
Issue #429 reports growing system memory followed by Ray OOM, with conflicting outcomes for disabling free_cache_engine. Participants suggest profiling and isolating the reward function. The troubleshooting table retains those outcomes together. A reproduction needs the affected process, memory progression, model and backend stack so the reported growth can be compared with the particular configuration in which a suggested change helped.
How do I diagnose illegal memory access during async SGLang multi-turn GRPO?
Issue #1611 records illegal memory access and continued failures after the proposed PR #1686 patch. One participant reports the same error returning after a few training steps. The model, validation or training stage, backend versions and traceback distinguish the reported cases. Those details extend the troubleshooting table's patch outcome by identifying what a useful reproduction of the failure must retain.
Why is SGLang slower inside verl than its standalone inference performance suggests?
Issue #1208 reports different standalone and integrated behavior on GH200, with an H200 comparison also favoring vLLM inside verl. The discussion records the reversed ordering. The backend-speed section describes tensor parallelism two as a specific trouble point. Generation, optimization and weight synchronization timings separate the components of the integrated job, while standalone inference timings describe the inference workload on its own.
Why does Qwen3-8B take about an hour per GRPO step when Qwen2.5-7B took minutes?
The hour-long step comes from carrot0117's report in issue #1580, after trying vLLM 0.8.4 and 0.8.5. Replies request timing evidence and suggest a response-length cap of 512. Response lengths, throughput and per-stage timing are the distinct diagnostic details here. They allow the proposed explanation about slow responses holding up workers to be compared with the time spent in generation.
Why does multi-GPU training hang at loss.backward() when one GPU works?
Issue #1303 reports that contrast for Qwen2.5-VL-3B, locating the hang in loss.backward(). The original reporter describes a working one-GPU case, followed by configuration and version experiments. The smaller reproduction provides a concrete behavioral difference when increasing GPU count. Distributed traces and the working one-GPU configuration belong together when investigating the multi-GPU hang described in that historical thread.
What we have not tested yet
Our source harness completed installation and build, but no GPU training job completed in our own runs. Model quality, GPU memory, multi-node throughput, checkpoint recovery, security boundaries and comparative cost are outside those measurements. The image label does not identify actual runtime versions. The test tail contains no final test total or underlying exceptions, and the fixture-loop warning does not identify the failure cause. The Dockerfile scan missed files named in the installation guide.
AgentEnv's missing-wheel report concerns its documented uv route; its applicability to commit 60340a1 is unresolved. Neither successful installation answers that backend-specific question. The PyPI probe produced no model output, answer-quality assessment or screenshots. The video entries contain no transcripts, and the Bilibili listing establishes question topics rather than completed training outcomes. The readable extracts provide neither a pronunciation guide nor a complete rollout-correction mechanism, so the FAQ addresses engine and precision records instead.
The issue discussions are historical reports rather than regression tests against 60340a1. Closed memory and backward-hang threads supply no universal repairs; the open SGLang and checkpoint reports cover particular configurations. Weyaxi's extract documents setup without a final accuracy measurement. huaiyizhao's working H20 account coexists with checkpoint OOM and AgentLoop freezes. The NPU documentation describes automatic metadata synchronization as future work rather than a completed repair.
AgentEnv's framework comparison uses single runs with approximately ±0.06 evaluation uncertainty, and its authors caution against reading the gaps as a ranking. There is no controlled verl-versus-slime-or-miles benchmark or firsthand migration outcome in the reviewed material. The AMD stable-step report is upstream evidence without proof of equal learning quality across precisions. Rendered layout, resolved links, recommendation modules and other template behavior were outside this text review.

