executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
rl-agent-trainingPlan and adapt OpenRLHF PPO/Ray/vLLM reinforcement-learning runs, including REINFORCE++/baseline, GRPO/RLOO/Dr.GRPO, DAPO-style filtering, async and partial rollout, custom rewards, multi-turn agents, VLM agents, and OpenAI-compatible agent executors.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to configure, modify, or troubleshoot OpenRLHF RL training through python -m openrlhf.cli.train_ppo_ray, especially with Ray, vLLM, PPO-family algorithms, custom reward functions, or agent executors.
--data.input_key, --data.label_key, image keys, or prompt preprocessing, use the data-preparation sub-skill first, then return here for RL flags.gae; REINFORCE++ uses reinforce; RLOO uses rloo; REINFORCE++-baseline uses reinforce_baseline; GRPO uses group_norm; Dr.GRPO uses dr_grpo.--rollout.n_samples_per_prompt > 1; partial rollout needs --train.async_enable; VLM training must avoid critic/packing; dynamic filtering needs multi-sample rollout plus a reward source.references/rl-workflows.md: workflow choices and representative command fragments for PPO, REINFORCE++/baseline, GRPO/RLOO/Dr.GRPO, DAPO-style filtering, async, partial rollout, VLM, and OpenAI-compatible agent execution.references/agent-functions.md: contracts for reward_func.py, math reward functions, MultiTurnAgentExecutor, VLM multi-turn agents, and OpenAI-compatible executor customization.references/cli-reference.md: important train_ppo_ray flag groups and validation rules.references/troubleshooting.md: rollout, Ray/vLLM placement, NCCL, reward URL, import path, agent protocol, VLM media, KL/advantage, off-policy, and OOM troubleshooting.Use scripts/create_reward_or_agent_template.py to create small standalone starter files:
python skills/openrlhf/sub-skills/rl-agent-training/scripts/create_reward_or_agent_template.py \
--kind math-reward \
--output reward_func.py
Supported kinds are reward, math-reward, multiturn, and vlm-multiturn. The generated files are templates distilled from OpenRLHF examples and are meant to be edited before training.