What problem does it solve? RLHF training of large models (7B-70B+) requires coordinating multiple models (actor, critic, reward, reference) across GPU clusters while keeping generation fast and memory usage manageable. This Skill provides ready-to-run OpenRLHF commands and workflows that handle distributed scheduling with Ray, inference acceleration with vLLM, and GPU sharing via the Hybrid Engine. ## Core Features & Use Cases - Multi-algorithm RLHF training: Run PPO, GRPO, RLOO, REINFORCE++, and DPO from a single framework with algorithm-specific hyperparameter guidance. - Distributed multi-node training: Configure Ray clusters, per-model node/GPU allocation, checkpointing, and fault-tolerant resume for 70B-scale models. - Hybrid Engine GPU sharing: Colocate actor, critic, reward, and reference models with vLLM/DeepSpeed sleep modes to cut GPU requirements by 25-33%. - Custom rewards and agent RLHF: Implement custom reward functions for code generation or math reasoning, and build multi-step agent training loops. - Use Case: Fine-tune a Llama-3-8B model with GRPO on 8 A100 GPUs by submitting a single Ray job with group_norm advantage estimation, vLLM acceleration, and KL loss enabled. ## Quick Start Ask the AI to set up a GRPO training job for a Llama-3-8B model on 8 GPUs using OpenRLHF with vLLM acceleration and colocated models.