Skip to content
Project

verl

RL training library for LLMs.

Stars
24k
Forks
4.9k
Open issues
1.5k
Latest release
v0.9.1
License
Apache-2.0
Language
Python
Stars
latest
24k▲ 549
Forks
latest
4.9k▲ 234
Open issues + PRs
latest
1.5k▲ 203
Merged PRs (30d)
latest
112▲ 103
PR authors (90d)
latest
69▲ 62
Releases (365d)
latest
5▼ 2

Daily snapshots since metrics history started (44 days so far); trends need at least a week.

Contribute

Contributing guide
CONTRIBUTING ↗
Open wanted issues
2 good first issue, 4 help wanted
Merged PRs (30d)
112
Release cadence
5 in 365 daysmedian 52.3 days apart

GitHub community profile 62%. Maintainer response time is not collected yet.

Top ranked issues

Good first issueverl#138870

[Bug][CI] FDSP2 test in `model_rmpad` job seems unstable

Motivation shows that: 1. the FDSP2 test in model rmpad workflow fails sometimes; 2. but can also pass sometimes. Plan - [ ] Find a setup that can reproduce the error steadily (possibly using the test container) - [ ] Locate the root cause - [ ] Fix the bug Additional Info. -…

good first issueuntouchedfiled by a maintainer

Demand: 1 reactions, 2 comments · Maintainer engagement: 112 PRs merged in the project in 30 days; filed by a maintainer · Feasibility: labelled as a starter issue · Freshness: updated 65 days ago

Good first issueverl#14463

Additional memory optimization features

- Activation offloading (see implementation here) - Fusing optimizer step into backward pass (see implementation here) - Utilize full shard reshard after forward (see here). I wasn't 100% sure if I could see this already implemented in veRL. These optimizations largely trade off…

good first issue

Demand: 3 reactions, 6 comments · Maintainer engagement: 112 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 158 days ago

Help wantedverl#683055

`process_validation_metrics()` crashes on None-filled sparse `reward_extra_info` keys (metrics emitted for only some samples)

System Info Summary When a reward extra info key is emitted for only some validation samples (a sparse key), main ppo sync.PPOTrainer. validate null-fills it to a uniform schema, but process validation metrics then crashes computing np.mean([..., None, ...]) over the per-uid…

help wanteduntouched

Demand: 0 reactions, 1 comments · Maintainer engagement: 112 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 11 days ago

Help wantedverl#9754

Fused CE loss integration

Integrate it with main stream models: so that model with large vocab size uses much less memory

help wantedfiled by a maintainer

Demand: 1 reactions, 3 comments · Maintainer engagement: 112 PRs merged in the project in 30 days; filed by a maintainer · Feasibility: help wanted (scope not marked as small) · Freshness: updated 158 days ago

Help wantedverl#641440

希望可以增加单独检查权重转换逻辑

我在尝试把slime的训练任务迁移到verl,但是发现权重转换有点问题,我想对这个进行调试,但是仍然需要足够规模的时间和显存来保证训练和推理的正常进行。请问有什么手段可以单独检查权重转换逻辑嘛? slime里有--check-weight-update-equal配置来验证权重同步后的值是否正确。 guide/debug.md

help wanteduntouched

Demand: 0 reactions, 1 comments · Maintainer engagement: 112 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 186 days ago

Opportunities

35 concerning this

Review · 29open tab →

RFC / designverl#818666

[roadmap] verl 26Q4 roadmap

Model Engine Low Precision Training Background Goals in RL - Cheaper rollout and inference-only forwards (ref, teacher, old log prob): less memory, less memory traffic, faster GEMM. - Lower train/rollout mismatch once rollout is quantized: training should see the same…

open design/roadmapproposed by a maintainer
RFC / designverl#530654

[roadmap] TorchTitan Integration into Verl

Roadmap: Integrate TorchTitan Training Engine into Verl We want to integrate Torchtitan as one of the training engine backends; and work seamlessly with pytorch distributed offerings. Infrastructure Components - [ ] Model Engine Implementation - 5051 - 5457 - [x] Support text…

open design/roadmapproposed by a maintainer

Build · 1open tab →

Signals · 5open tab →

Recurring pain

“illegal memory” in open issues of 20 projects

20 projects72 open issues
Recurring pain

“fails load” in open issues of 17 projects

17 projects35 open issues
Recurring pain

“silently ignored” in open issues of 15 projects

15 projects24 open issues
Recurring pain

“cuda illegal” in open issues of 11 projects

11 projects29 open issues

Research implemented

1
  • Reinforcement Learning from Human Feedback (RLHF) is widely used in Large Language Model (LLM) alignment. Traditional RL can be modeled as a dataflow, where each node represents computation of a neural network (NN) and each edge denotes data dependencies between the NNs. RLHF complicates the…

Maintainers

1

Top contributors

15

Releases & tracking issues

46
See all 46

Related projects

2
  • TRL★ 20k

    Transformer Reinforcement Learning library (SFT, DPO, GRPO).

  • OpenRLHF★ 10k

    Ray-based RLHF framework.

Related projects

1
  • OpenRLHF★ 10k

    Ray-based RLHF framework.