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
palm-rlhf-pytorchOperate the PaLM-rlhf-pytorch package for PaLM modeling, reward modeling, and RLHF/post-training workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill for the PaLM-rlhf-pytorch package: the base PaLM transformer, reward models, implicit process rewards, and post-training trainers such as PPO, GRPO, TPO, and FlowRL.
palm-modeling: construct, inspect, finetune, and smoke-check the base PaLM transformer.reward-modeling: train or inspect RewardModel and ImplicitPRM workflows.policy-optimization: use RLHFTrainer, ActorCritic, GRPO, TPO, or FlowRL for post-training.references/package-overview.md for the public import surface and package shape.references/troubleshooting.md for install/import, backend, and dependency pitfalls.python scripts/inspect_palm_rlhf.py --device auto --check-cuda
If you only want a parser/import check first, use:
python scripts/inspect_palm_rlhf.py --help
From a checkout of this repository, install the package in editable mode:
python -m pip install -e .
The project metadata requires Python 3.6+, but the verified inspection environment uses Python 3.11 with PyTorch 2.13 CUDA wheels. Keep the version consistent with the installed environment you are targeting.
sub-skills/palm-modeling/SKILL.md.sub-skills/reward-modeling/SKILL.md.sub-skills/policy-optimization/SKILL.md.The root package exports these user-facing names:
from palm_rlhf_pytorch import PaLM, RewardModel, RLHFTrainer, ActorCritic, ImplicitPRM
Trainer variants are module-qualified:
from palm_rlhf_pytorch import grpo, tpo, flowrl
Use the root exports for the standard PPO path and the module-qualified names for the newer trainer variants.
"Build me a tiny PaLM smoke test" → palm-modeling."How do I score sequences or train a reward model?" → reward-modeling."Which RLHF trainer should I use?" → policy-optimization."The example fails on CPU or with a missing extra" → root troubleshooting plus the relevant sub-skill."I need one small end-to-end smoke" → root route plus the three sub-skills in order.python scripts/inspect_palm_rlhf.py --help.python scripts/inspect_palm_rlhf.py --device auto --check-cuda.All runtime guidance here is self-contained. Do not direct future agents to open, run, or depend on the original repository checkout once the skill has been generated.
Before treating this skill as current for a checkout, read references/repo-provenance.md. If the repo commit or dirty state differs from that snapshot, refresh the skill.
references/package-overview.md for the verified import surface and workflow map.references/troubleshooting.md for package-wide recovery steps.references/ directory for workflow-specific API tables, recipes, and troubleshooting.scripts/ directory for the safe tiny smoke helpers that correspond to that workflow.