torchforge-rl-training

Orchestrate PyTorch-native RL experiments with distributed training and weight sync.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/arsity/scholar-tools --skill torchforge-rl-training-arsity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: torchforge-rl-training
Source: https://github.com/arsity/scholar-tools/tree/main/vendor/ai-research-skills/06-post-training/torchforge
Command: npx skills add https://github.com/arsity/scholar-tools --skill torchforge-rl-training-arsity

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

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.

Core Features & Use Cases

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

Quick Start

Install torchforge and run a GRPO training workflow with Monarch and TorchTitan to start an RL experiment.

Frequently Asked Questions about torchforge-rl-training

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

FAQPage Schema
How do I run distributed reinforcement learning training without using Ray?

You can run distributed reinforcement learning training without Ray by using TorchForge, a PyTorch-native library that handles distributed training, inference, and weight sync automatically through the Monarch actor system.

How does TorchForge separate reinforcement learning algorithm logic from infrastructure?

TorchForge separates RL algorithm logic from infrastructure by providing modular abstractions, allowing you to focus purely on algorithm experimentation while it natively orchestrates scalable training and inference without Ray.

Can I use Monarch and TorchTitan together for scalable RL experiments?

Yes, you can use Monarch and TorchTitan together for scalable RL experiments. TorchForge integrates with Monarch for its actor system and TorchTitan for model parallelism to orchestrate distributed training and weight synchronization.

What built-in reinforcement learning algorithms are available for experimentation?

Built-in reinforcement learning algorithms available for experimentation include GRPO, DAPO, CISPO, GSPO, and SAPO, enabling rapid algorithm testing within the TorchForge framework.

What is the best way to debug weight synchronization issues in PyTorch-native RL?

The best way to debug weight synchronization issues in PyTorch-native RL is to follow the debugging strategies provided by TorchForge, which cleanly isolates infrastructure orchestration from your algorithm logic.

Do I need specific dependencies to start a GRPO training workflow?

To start a GRPO training workflow, you need to install TorchForge and run it with Monarch and TorchTitan, which handle the underlying distributed training and model parallelism automatically.