In short.
Torchforge RL Training is an AI assistant skill for PyTorch developers researching language-model reinforcement learning, but experimental dependencies and inconsistent examples limit its reliability as a setup guide. Reinforcement learning trains models using rewards; this skill explains how torchforge separates reward and algorithm design from distributed training infrastructure. Its strongest contribution is a concrete map of the components and configuration choices. Installation success, API compatibility, training quality and operating cost remain unverified.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected folder: 06-post-training/torchforge/SKILL.md, references/api-reference.md and references/troubleshooting.md, plus the repository-root LICENSE at revision 773a52944ba4747a18bd4ae9ade53fff041adcbc. It excludes the upstream torchforge implementation, executable installation scripts, external documentation, dependencies, checkpoints and datasets. Commands and code examples were not executed; installation behavior, API compatibility, GPU requirements, scaling, training quality and operating cost remain unverified.
The overview
Identity
The resource is Orchestra Research's torchforge-rl-training skill, comprising SKILL.md and two reference documents. It provides instructions an AI assistant can use when helping with Meta's torchforge library; it is not the library itself. The metadata identifies skill version 1.0.0, which does not establish a torchforge software version. The original folder is [https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/main/06-post-training/torchforge].
Assessment
The skill is useful for understanding how training, response generation, reward calculation and model-weight updates fit together. Its examples also give experienced developers starting points for investigating custom algorithms. Treat the commands and configurations as guidance requiring reconciliation with the actual library version: both torchforge and Monarch are described as experimental, and the documents disagree on several API details.
Users
The closest fit is a developer or researcher who knows Python and PyTorch and wants to change reinforcement-learning losses or coordinate multiple training services. Beginners can use the architecture explanations for orientation, but the practical examples assume familiarity with tensors, GPU memory, model checkpoints and distributed processes. The skill does not provide a complete introduction to those subjects.
Capabilities
The material covers supervised fine-tuning, which trains from example outputs, and GRPO, whose documented example uses group-relative advantages and samples multiple responses per prompt. It includes a math-reward example, a custom PyTorch loss, distributed service configurations, launch commands and troubleshooting for memory, synchronization and training stability.
It lists GRPO, DAPO, CISPO, GSPO and SAPO losses, while concrete import examples show SimpleGRPOLoss and ReinforceLoss. It also describes scaling from one GPU to thousands. No implementation inspection or benchmark results establish that every listed loss or scale is supported by a particular release.
Using it
Requirements
The setup instructions use Python 3.12. The metadata lists PyTorch >=2.9.0, TorchTitan >=0.2.0, vLLM and Monarch; installation notes also refer to PyTorch nightly builds. The selected files do not include a dependency lockfile or an established compatibility matrix.
The documented example allocations are at least two GPUs for supervised fine-tuning and three for GRPO, with trainer, generator and reference-model services separated. Troubleshooting suggests sharing resources or moving the reference model to CPU, so these counts should not be treated as universal minimums. Required GPU models, memory capacity and workable CUDA or ROCm combinations are unknown.
Mechanism
An application supplies reward calculations, sampling choices and training losses. Monarch coordinates distributed actors; TorchTitan handles model training; vLLM generates responses. A frozen reference model supplies a baseline for measuring policy drift through KL divergence. The skill describes TorchStore as the weight-synchronization component, transferring updated parameters from training to generation. Async service calls either route work to a service or broadcast updates across replicas.
Setup
For assistant use, keep SKILL.md with references/api-reference.md and references/troubleshooting.md. The material does not specify an assistant-specific installation location or registration procedure.
For training, the guide assumes a torchforge checkout containing scripts/install.sh and the apps training entry points; those executable files are outside this skill folder. It proposes creating a Python 3.12 conda environment, running ./scripts/install.sh and checking imports of torch, forge and vllm. It also names ./scripts/install_rocm.sh for AMD GPUs. These are documented instructions, with no execution results establishing that they work together.
Example
The math-training example pairs Qwen/Qwen2.5-7B-Instruct with the training split of openai/gsm8k. Its configuration requests eight responses per prompt, sequences up to 4,096 tokens and bfloat16 training, with one GPU-backed process each for training, generation and the reference model.
The custom reward extracts a boxed answer and compares its stripped text with the target, awarding either 1.0 or 0.0. This is a literal answer checker, with no mathematical-equivalence handling shown. The example defines the reward separately but does not show its registration in the training job. No accuracy improvement, reward curve or completed training result is supplied.
Assessment & evidence
Limitations
Trainer examples disagree. SKILL.md calls trainer.train_step(inputs, targets) and describes a float result. The API reference lists forward_backward(batch) and an argument-free train_step(). Troubleshooting passes a batch to a routed train_step and reads result.loss. The supplied evidence does not resolve which interface matches an actual release.
The Completion descriptions also differ: SKILL.md includes metadata, while the API reference includes prompt instead. Configuration examples use batch_size and learning_rate, whereas the listed TorchTitan fields include local_batch_size, global_batch_size and optimizer.lr; no mapping is shown. These differences make exact copying unreliable without checking the installed implementation.
The custom loss uses ref_logprobs in both its importance ratio and KL term, without a separate rollout-policy probability input. Its suitability for a particular algorithm is not established. Troubleshooting suggestions likewise have no demonstrated success rates or compatibility evidence.
Reasoning
Separating algorithm code from service coordination could help researchers change rewards and losses without rebuilding the distributed system. The tradeoff is responsibility for a complex stack whose interfaces are still changing. The skill therefore has clearer value as an architectural guide than as a guaranteed runnable recipe. Its monitoring suggestions cover loss, policy drift and response variability, but those signals do not establish better answers; the documents supply no held-out quality measurements.
Alternatives
The skill names miles and verl when production stability matters, and slime for Megatron-native training. These are the author's recommendations; no comparative stability, performance or cost evidence is included. It also links the torchforge documentation [https://meta-pytorch.org/torchforge] and repository [https://github.com/meta-pytorch/torchforge], which are relevant places to confirm current interfaces. Their contents are outside the supplied evidence.
Evidence
The evidence consists of three documents from the Orchestra-Research/AI-Research-SKILLs repository and its root licence notice. These are third-party descriptions of torchforge, not its implementation. The immutable main skill source is [https://raw.githubusercontent.com/Orchestra-Research/AI-Research-SKILLs/773a52944ba4747a18bd4ae9ade53fff041adcbc/06-post-training/torchforge/SKILL.md]. The documents contain examples and troubleshooting advice, but no run logs, benchmark measurements or completed model evaluations.
Access & freshness
Costs
The documents provide no training price, GPU-hour estimate, run duration or cloud rate. The example service allocations imply access to multiple GPUs, but actual compute, storage and networking expenses are unknown. The MIT permission to use the skill without a licence fee does not establish the cost of operating the training stack.
Rights
The skill metadata declares MIT licensing. The repository-root MIT notice permits use, copying, modification, distribution and sale, provided its copyright and permission notices accompany copies or substantial portions. It names the 2025 Claude AI Research Skills Contributors and disclaims warranties.
This notice supports redistribution of the captured skill documents with the licence included. It does not establish the licences or access conditions for upstream torchforge, its dependencies, model checkpoints or datasets; those rights require separate confirmation.
Freshness
The supplied snapshot is revision 773a52944ba4747a18bd4ae9ade53fff041adcbc, captured on 16 November 2026 at 20:34:24.958 UTC. That capture time does not establish when the documents were last maintained. Skill version 1.0.0 and dependency minimums do not pin a complete training environment. Compatibility with current torchforge or Monarch releases is unknown.
Actions
Before adapting an example, confirm the upstream release, installation scripts, trainer signatures and configuration schema. Check available GPU memory and the access conditions for the chosen model and dataset before allocating a training budget.
For the math example, establish how the reward function enters the job and whether literal answer matching suits the task. A small pilot should assess installation, weight synchronization, reward behavior and held-out answer quality before larger training. Those outcomes remain unassessed.
