torchforge-rl-training

Train RL experiments with torchforge separating infrastructure from algorithms in PyTorch.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/tadod12/fraud-detection-research --skill torchforge-rl-training-tadod12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: torchforge-rl-training
Source: https://github.com/tadod12/fraud-detection-research/tree/main/.agent/skills/06-post-training/torchforge
Command: npx skills add https://github.com/tadod12/fraud-detection-research --skill torchforge-rl-training-tadod12

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

torchforge provides a PyTorch-native RL library that cleanly separates infrastructure concerns from algorithm logic, enabling rapid experimentation and scalable training across single or multi-GPU setups.

Core Features & Use Cases

  • Algorithm isolation to implement RL ideas without touching distributed infra
  • Scalable training across GPUs with Monarch and TorchTitan
  • Workflow templates for SFT, GRPO, and multi-GPU setups in research environments
  • Real-world Use Case: Research teams prototyping policy optimization on standard benchmarks

Quick Start

Train a GRPO workflow on your local GPU setup using the included configurations.

Frequently Asked Questions about torchforge-rl-training

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I separate RL algorithm logic from distributed infrastructure in PyTorch?

To separate RL algorithm logic from distributed infrastructure in PyTorch, use torchforge. It isolates algorithm implementation from multi-GPU infrastructure concerns, enabling rapid experimentation across single or multi-node setups using Monarch and TorchTitan.

Can I run distributed GRPO and SFT workflows across multiple GPUs?

Yes, you can run distributed GRPO and SFT workflows across multiple GPUs. Torchforge provides workflow templates for scalable policy optimization and supervised fine-tuning across single or multi-GPU setups integrated with vLLM.

What dependencies do I need to set up multi-GPU RL training with torchforge?

To set up multi-GPU RL training with torchforge, you need PyTorch 2.9+, TorchTitan 0.2.0+, vLLM, and Monarch as dependencies. You also need configuration patterns for distributed training across your research environment.

How do I train a GRPO workflow on a local GPU setup?

To train a GRPO workflow on a local GPU setup, use the included configuration templates provided by torchforge. These templates allow you to quickly start policy optimization experiments on your local hardware without managing underlying infrastructure.

Is there a way to scale PyTorch-native RL experiments to multi-node setups without modifying algorithm code?

Yes, you can scale PyTorch-native RL experiments to multi-node setups without modifying algorithm code. Torchforge isolates algorithm logic from infrastructure using Monarch and TorchTitan, allowing seamless scaling across distributed environments.