Skip to content

Clean RL abstractions separating infrastructure from algorithms, built on PyTorch, TorchTitan, Monarch, and vLLM.

CCM score
53 of 100
skills.sh installs
1.1K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers GRPO math reasoning training, custom loss functions, and multi-GPU distributed training with SLURM or local launch
  • Includes apps.sft.main and apps.grpo.main entry points, YAML configs for model, dataset, and service placement, and a CustomLoss template
  • Provides built-in GRPO, DAPO, CISPO, GSPO, and SAPO losses, with a KL penalty and clipped policy gradient
  • Designed for researchers who want algorithm experimentation on PyTorch without a Ray dependency; experimental, so APIs may change

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill torchforge-rl-training -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

torchforge: PyTorch-Native Agentic RL Library

torchforge is Meta's PyTorch-native RL library that separates infrastructure concerns from algorithm concerns. It enables rapid RL research by letting you focus on algorithms while handling distributed training, inference, and weight sync automatically.

When to Use torchforge

Choose torchforge when you need:

  • Clean separation between RL algorithms and infrastructure
  • PyTorch-native abstractions (no Ray dependency)
  • Easy algorithm experimentation (GRPO, DAPO, SAPO in ~100 lines)
  • Scalable training with Monarch actor system
  • Integration with TorchTitan for model parallelism

Consider alternatives when:

  • You need production-ready stability → use miles or verl
  • You want Megatron-native training → use slime
  • torchforge is experimental and APIs may change

Key Features

  • Algorithm isolation: Implement RL algorithms without touching infrastructure
  • Scalability: From single GPU to thousands via Monarch
  • Modern stack: TorchTitan (training), vLLM (inference), TorchStore (sync)
  • Loss functions: GRPO, DAPO, CISPO, GSPO, SAPO built-in

Architecture Overview

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
AI Agents & LLM Apps, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the torchforge-rl-training skill help with?

The torchforge-rl-training skill gives guidance for PyTorch-native agentic RL using torchforge, Meta's library that separates infrastructure from algorithms. It covers GRPO training for math reasoning, custom loss functions, and multi-GPU distributed training with Monarch and TorchTitan.

How do I install the torchforge-rl-training skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill torchforge-rl-training -y in a project to install torchforge-rl-training. Once installed, the agent can guide you through setting up torchforge with conda and its install script.

What does torchforge-rl-training need to run?

Running torchforge-rl-training workflows needs Python 3.12 and at least 3 GPUs for GRPO training, with dependencies such as torch 2.9.0 or later, torchtitan, vLLM and Monarch. A Hugging Face Hub model and a training dataset such as GSM8K are also required.

Where does torchforge-rl-training stand in its category?

torchforge-rl-training sits in the AI Agents & LLM Apps category on Claude Marketplaces. It stands apart by focusing on clean RL abstractions where algorithms like GRPO, DAPO and SAPO can be tried in about 100 lines.

More from orchestra-research/ai-research-skills

All 92

Similar to Torchforge Rl Training

More AI Agents & LLM Apps