OpenRLHF

Scalable RLHF framework built on Ray, vLLM, and DeepSpeed ZeRO-3, supporting PPO, GRPO, and DPO past 70B.

Open SourceSelf HostedOffline CapableGPU Required
0.0 (0)

About

Built on Ray for distributed scheduling, vLLM for fast rollout generation, and DeepSpeed ZeRO-3 for memory-efficient training, OpenRLHF is a high-performance framework for reinforcement learning from human feedback that scales past 70 billion parameters. Algorithm coverage includes PPO, GRPO and Dr. GRPO, GSPO, REINFORCE++ and its baseline variant, RLOO, DAPO with dynamic filtering, and preference methods such as DPO and IPO, with implementation details documented in the maintainers' technical reports. Recent releases added vision-language model support, asynchronous agentic training, and multi-turn agent rollouts, pushing it beyond classic RLHF into agent post-training. Models load directly from Hugging Face, installation is pip install openrlhf with optional vLLM extras or prebuilt Docker images, and serious use assumes a multi-GPU cluster. The project is Apache-2.0 licensed with documentation at openrlhf.readthedocs.io. Close to 10,000 GitHub stars and citations across academic and industry post-training work have made it one of the reference implementations for RLHF at scale.

Should you use OpenRLHF?

Pick it when

Pick it when you run RLHF or reasoning RL on models up to 70B and beyond across a multi-GPU cluster and want a broad algorithm menu, PPO, GRPO, REINFORCE++, RLOO, DAPO, DPO, on Ray, vLLM, and DeepSpeed ZeRO-3.

Look elsewhere when

Serious use assumes a multi-GPU cluster; on one GPU, TRL is the practical route. If you need Megatron backends and expert parallelism for very large MoE models, verl covers that path and has the larger user base.

Alternatives to OpenRLHF

  • verl

    Adds Megatron and SGLang backends and expert parallelism for MoE models in the hundreds of billions, with a larger community.

  • TRL

    Starts on a single GPU with PEFT and quantization inside Transformers; far easier, less built for Ray-scheduled 70B rollouts.

  • ms-swift

    Covers GRPO, PPO, and DPO alongside SFT in one toolkit with a web UI, trading RL depth for breadth.

  • OpenPipe ART

    GRPO onto LoRA adapters behind an OpenAI-compatible client for agents; much less infrastructure, much smaller training scope.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Advanced (4/5)
License
Apache-2.0
Added
Jul 29, 2026

Tags