Training & fine-tuningApache-2.0Python

OpenRLHF

Easy, scalable RLHF framework built on Ray, vLLM and DeepSpeed.

Stars
10.2K
Forks
1.1K
Open issues
449
Last commit
2026-11-27

Live from the GitHub API · updated 2026-11-30

What is OpenRLHF?

OpenRLHF provides high-performance RLHF and reward-model training with PPO, GRPO, REINFORCE++ and DPO, distributing actor, critic, reward and reference models across GPUs with Ray and accelerating generation with vLLM.

Key features

  • PPO, GRPO, REINFORCE++ and DPO
  • Ray-based distributed scheduling
  • vLLM-accelerated rollouts
  • Hugging Face model compatibility

System requirements

Platforms
Linux · Docker
GPU
NVIDIA multi-GPU

How to install OpenRLHF

Summarized from the project’s README. Projects change quickly — check the GitHub page for the latest instructions.

pip

  1. 1
    Install with vLLM support.
    pip install openrlhf[vllm]

Strengths

  • Simpler than many RL stacks
  • Scales to 70B+ models

Limitations

  • Linux and multi-GPU only

OpenRLHF alternatives compared

SoftwareStarsLicensePlatformsVRAM
OpenRLHF

Easy, scalable RLHF framework built on Ray, vLLM and DeepSpeed.

10.2KApache-2.0—
verl

ByteDance’s reinforcement learning library for LLM post-training.

24.4KApache-2.0—
TRL

Hugging Face’s library for post-training LLMs: SFT, DPO, GRPO.

19.9KApache-2.0—
DeepSpeed

Microsoft’s library for large-scale distributed training and inference.

43.4KApache-2.0—
Kohya’s GUI

GUI for training LoRA, DreamBooth and fine-tunes for SD, SDXL and FLUX.

12.7KApache-2.08 GB+ for SD1.5 LoRA; 12–24 GB for SDXL/FLUX
OneTrainer

One-stop trainer for diffusion models with a desktop UI.

3.3KAGPL-3.08 GB+

FAQ

Is OpenRLHF free?

Yes — OpenRLHF is open-source software released under the Apache-2.0 license. Check the license (and any model weight licenses) before commercial use.

Does OpenRLHF run on Windows, Mac and Linux?

OpenRLHF supports: Linux, Docker.

What hardware do I need for OpenRLHF?

NVIDIA multi-GPU

How do I install OpenRLHF?

1. Install with vLLM support.

What are the best OpenRLHF alternatives?

Popular alternatives include verl, TRL, DeepSpeed, Kohya’s GUI. See the comparison table on this page.