awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
OpenRLHF avatar

OpenRLHF/OpenRLHF

0
View on GitHub↗
9,675 stars·973 forks·Python·Apache-2.0·12 viewsopenrlhf.readthedocs.io↗

OpenRLHF

OpenRLHF is a training framework and alignment library designed for reinforcement learning from human feedback across distributed GPU clusters. It provides tools for aligning large language models and multimodal vision-language models using algorithms such as PPO, GRPO, and DPO.

The framework distinguishes itself through a distributed inference engine that overlaps sample rollout with training to increase throughput. It supports scaling to models exceeding 70 billion parameters via parameter sharding and handles long-context sequences through ring-attention sequence parallelism.

The project covers a broad range of capabilities, including supervised fine-tuning, reward model development, and the training of multi-turn agents. It incorporates memory optimization techniques such as low-rank adaptation, optimizer state offloading, and sample packing to reduce compute overhead.

Features

  • Distributed Training - Provides a distributed framework for training massive models using sharding and sequence parallelism across GPU clusters.
  • Reinforcement Learning Alignment - A distributed framework for aligning large language models using RLHF algorithms like PPO and GRPO across GPU clusters.
  • LLM Fine-Tuning Engines - Provides a specialized engine for efficient distributed fine-tuning of large language models using parameter sharding.
  • Reward Modeling - Provides tools to train scalar reward models that evaluate output quality to provide feedback for reinforcement learning.
  • Distributed Inference Engines - Implements a distributed inference engine that overlaps sample rollout with training to maximize GPU throughput.
  • Distributed Training Sharding - Supports parameter sharding across distributed clusters to enable training of models exceeding 70 billion parameters.
  • Large Language Model Fine-Tuning - Performs supervised fine-tuning and low-rank adaptation to specialize base models for specific tasks.
  • Multimodal Alignment - Applies reinforcement learning to multimodal vision-language models to improve responses based on image inputs.
  • Preference-Based Model Alignments - Aligns large language models with human preferences using RLHF, PPO, GRPO, and DPO algorithms.
  • Reward Functions - Supports the definition of custom reward functions via Python or remote HTTP calls to guide the alignment process.
  • Reinforcement Learning Integrations - Implements reinforcement learning algorithms like PPO and GRPO to refine model responses based on human preferences.
  • Asynchronous Rollout Decoupling - Implements a pipeline that decouples sample generation from gradient updates to maximize GPU throughput during reinforcement learning.
  • Model Training and Inference Engines - Provides a unified engine that integrates both inference serving and training loops on the same device for real-time updates.
  • Large Language Model Training Frameworks - Ships a distributed framework designed specifically for training and aligning large language models across GPU clusters.
  • Parameter Efficient Fine-Tuning - Provides low-rank adaptation (LoRA) to reduce memory and compute during supervised fine-tuning and reward modeling.
  • Preference Optimization - Implements direct preference optimization (DPO) and similar algorithms to align models with human preferences without a separate reward model.
  • RL Training Workflows - Provides standard RL training workflows for single-turn generation using reward models or custom Python functions.
  • RLHF Alignment Algorithms - Implements a suite of alignment algorithms including PPO, GRPO, and RLOO to optimize model behavior via reward signals.
  • Supervised Fine-Tuning - Provides supervised fine-tuning capabilities to initialize models for subsequent preference learning and alignment.
  • Distributed Training Coordination - Coordinates multi-node training processes and manages resumable checkpoints for large-scale production runs.
  • Multi-turn Interaction Managers - Supports both single and multi-turn interaction pipelines by separating the learning algorithm from execution mode.
  • Agentic Interaction Training - Trains interactive models capable of complex reasoning through multi-step environment interactions.
  • Multi-Turn Reinforcement Learning - Supports multi-turn reinforcement learning for complex reasoning tasks through multi-step environment interactions.
  • Sequence Packing - Includes a data loader that packs multiple short sequences into fixed-length blocks to eliminate padding waste and increase throughput.
  • Cross-Hardware Workload Distribution - Allows allocating specific hardware groups to different model roles across mixed GPU clusters.
  • Generation Accelerators - Increases throughput by overlapping experience sample rollout with the training process using a distributed inference engine.
  • Vision-Language Trainers - Extends RLHF capabilities to multimodal models, allowing alignment based on image inputs and visual feedback.
  • Long Context Processing - Processes sequences exceeding 8K tokens using ring-attention and sequence parallelism across the compute cluster.
  • Resource Colocation Strategies - Implements dynamic role-swapping to share GPU resources between different model components on the same device.
  • Asynchronous Training - Prevents compute bottlenecks by overlapping data generation and model training using asynchronous queues.
  • Low-Rank Adaptation - Integrates low-rank adaptation (LoRA) to reduce memory and compute requirements during the model alignment process.
  • Model Role Colocation - Maximizes GPU utilization by colocating different model roles on the same device and swapping them dynamically.
  • Sequence Parallelism Frameworks - Implements ring-attention sequence parallelism to distribute long-context sequences across multiple GPUs and bypass memory limits.
  • Model Component Colocation - Optimizes memory on small clusters by colocating model components and sharing resources via sleep-mode.
  • Optimizer State Offloading - Ships a mechanism to offload optimizer states to CPU RAM, enabling larger batch sizes on limited GPU hardware.
  • Memory Offloading Frameworks - Reduces GPU memory footprint through gradient checkpointing and offloading optimizer states to secondary storage.
  • Critic-Free Algorithms - Robust reinforcement learning algorithm for human feedback alignment.
  • Model Training - Framework for scalable reinforcement learning from human feedback.
  • Model Training Frameworks - Scalable framework for high-performance reinforcement learning from human feedback.
  • Preference Alignment - Listed in the “Preference Alignment” section of the Llm Course awesome list.
  • Reinforcement Learning - Framework for reinforcement learning from human feedback.
  • Reinforcement Learning Frameworks - Comprehensive framework for reinforcement learning from human feedback.
  • RLHF Frameworks - Scalable Ray-based framework for training and alignment.
  • Training and Fine-Tuning - High-performance RLHF framework.

Star history

Star history chart for openrlhf/openrlhfStar history chart for openrlhf/openrlhf

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does openrlhf/openrlhf do?

OpenRLHF is a training framework and alignment library designed for reinforcement learning from human feedback across distributed GPU clusters. It provides tools for aligning large language models and multimodal vision-language models using algorithms such as PPO, GRPO, and DPO.

What are the main features of openrlhf/openrlhf?

The main features of openrlhf/openrlhf are: Distributed Training, Reinforcement Learning Alignment, LLM Fine-Tuning Engines, Reward Modeling, Distributed Inference Engines, Distributed Training Sharding, Large Language Model Fine-Tuning, Multimodal Alignment.

What are some open-source alternatives to openrlhf/openrlhf?

Open-source alternatives to openrlhf/openrlhf include: zhaochenyang20/awesome-ml-sys-tutorial — This project provides a comprehensive technical guide and framework for engineering large-scale machine learning… verl-project/verl — This project is a distributed training infrastructure designed for aligning large language models through… internlm/xtuner — xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised… volcengine/verl — verl is a distributed training system designed for large language model alignment and reinforcement learning. It… axolotl-ai-cloud/axolotl — Axolotl is a configuration-driven framework designed for the fine-tuning, evaluation, and quantization of large… huggingface/trl — This library provides a comprehensive framework for fine-tuning, aligning, and distilling transformer-based language…

Open-source alternatives to OpenRLHF

Similar open-source projects, ranked by how many features they share with OpenRLHF.
  • zhaochenyang20/awesome-ml-sys-tutorialzhaochenyang20 avatar

    zhaochenyang20/Awesome-ML-SYS-Tutorial

    5,371View on GitHub↗

    This project provides a comprehensive technical guide and framework for engineering large-scale machine learning systems. It covers the full lifecycle of model development, focusing on the infrastructure and computational principles required to build, train, and serve generative AI models across distributed GPU clusters. The repository distinguishes itself by offering deep-dive tutorials and implementation strategies for complex system challenges. It emphasizes high-performance architectural primitives, such as collective communication orchestration, distributed tensor sharding, and static gr

    Python
    View on GitHub↗5,371
  • verl-project/verlverl-project avatar

    verl-project/verl

    22,000View on GitHub↗

    This project is a distributed training infrastructure designed for aligning large language models through reinforcement learning. It functions as an end-to-end engine for complex alignment tasks, including proximal policy optimization, direct preference optimization, and iterative self-play. By providing a unified framework for multi-turn interactions and tool-use scenarios, it enables the development of models capable of reasoning and external environment engagement. The framework distinguishes itself through a decoupled architecture that separates model training from sample generation. This

    Python
    View on GitHub↗22,000
  • internlm/xtunerInternLM avatar

    InternLM/xtuner

    5,150View on GitHub↗

    xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised fine-tuning, and the optimization of vision-language multimodal models. It serves as a distributed training accelerator and a specialized framework for scaling Mixture-of-Experts models and aligning model behavior through reinforcement learning from human feedback. The project distinguishes itself through advanced memory and compute optimizations, such as sequence parallelism for ultra-long context windows and interleaved pipeline parallelism to reduce GPU idle time. It provide

    Pythonagentdeepseek-v3gpt-oss
    View on GitHub↗5,150
  • volcengine/verlvolcengine avatar

    volcengine/verl

    22,015View on GitHub↗

    verl is a distributed training system designed for large language model alignment and reinforcement learning. It provides a framework for executing post-training pipelines, including supervised fine-tuning and reinforcement learning from human feedback, to refine model behavior and agentic capabilities. The system utilizes a hybrid training and inference engine that optimizes memory and communication when switching between model generation and gradient updates. It supports multi-modal reinforcement learning for models processing both image and text data, and implements algorithms such as PPO

    Python
    View on GitHub↗22,015
See all 30 alternatives to OpenRLHF→