# OpenRLHF

> Scalable RLHF and agentic RL framework on Ray and vLLM

Source: https://talira.ai/catalog/openrlhf-kzgavqp9
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework
- Categories: [ai / ml / fine tuning](https://talira.ai/categories/ai/ml/fine-tuning), [ai / ml / distributed training](https://talira.ai/categories/ai/ml/distributed-training), [languages / python](https://talira.ai/categories/languages/python)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [OpenRLHF](https://talira.ai/orgs/openrlhf.md)

OpenRLHF is an open source framework for training language models with reinforcement learning from human feedback, built on Ray for distribution, [vLLM](https://talira.ai/catalog/vllm-f1czevpj.md) for fast sample generation and [DeepSpeed](https://talira.ai/catalog/deepspeed-s351xcrz.md) for training. It covers the whole pipeline (supervised fine-tuning, reward models, DPO and RL with PPO, REINFORCE++, GRPO and RLOO) and runs every RL job as an agent, single-turn by default or multi-turn with environment feedback and custom reward or agent functions. Recent versions add vision-language models and an asynchronous pipeline.

## Links

- Website: https://openrlhf.readthedocs.io/
- GitHub: https://github.com/OpenRLHF/OpenRLHF
- Docs: https://openrlhf.readthedocs.io/

## Problems it solves

- train a reasoning model with GRPO across many GPUs
- run RLHF on a 70B model without writing my own distributed code
- fine-tune an LLM agent with rewards from a multi-turn environment

## Features

- PPO, REINFORCE++, GRPO and RLOO
- SFT, reward model and DPO training
- Ray + vLLM + DeepSpeed distributed training
- single-turn and multi-turn agent RL with custom rewards
- vision-language model RLHF
- LoRA

## Trust

Overall: 0.68 out of 1.
Signals: maintenance 0.91, adoption 0.80, momentum 0.73, community 0.81, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 46 commits in the last 90 days
- latest release v0.12.0 3 days ago
- 10.2k GitHub stars
- 106 contributors
- has a company behind it

## Related

- Based on [vLLM](https://talira.ai/catalog/vllm-f1czevpj.md)
- Based on [DeepSpeed](https://talira.ai/catalog/deepspeed-s351xcrz.md)

## Alternatives

- [TRL](https://talira.ai/catalog/trl-ryrdxeq8.md): A comprehensive library to post-train foundation models
- [verl](https://talira.ai/catalog/verl-mggfesa0.md): Flexible, efficient reinforcement learning post-training for LLMs
- [ms-swift](https://talira.ai/catalog/ms-swift-45td67aq.md): Fine-tune, align, evaluate, quantize and deploy 600+ LLMs and 400+ multimodal models
- [Axolotl](https://talira.ai/catalog/axolotl-9ht2yme4.md): A free and open source framework for fine-tuning and post-training large language models
- [Unsloth](https://talira.ai/catalog/unsloth-sdmq90qx.md): Run and train AI models on your own local hardware via an open-source UI
- [Colossal-AI](https://talira.ai/catalog/colossal-ai-gk5zdz5s.md): PyTorch library for distributed training, fine-tuning and inference of large AI models

## Sources

[^1]: https://github.com/OpenRLHF/OpenRLHF/blob/main/LICENSE (checked 27 Nov 2026)
