post-training-torchforge
Provides guidance for PyTorch-native agentic RL using torchforge, Meta's library separating infra from algorithms. Use when you want clean RL abstractions, easy algorithm experimentation, or scalable training with Monarch and TorchTitan.
Target: Learning & research. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- torchforge: PyTorch-Native Agentic RL Library
- When to Use torchforge
- Key Features
- Architecture Overview
- Installation
- ROCm Installation
- Quick Start
- SFT Training (2+ GPUs)
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. 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 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 -- Use this workflow for training reasoning models with group-relative advantages. [ ] 3+ GPUs (GPU0: trainer, GPU1: refmodel, GPU2: generator) [ ] Model from HuggingFace Hub [ ] Training dataset (GSM8K, MATH, etc.
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- davila7/claude-code-templates
- Source file
- cli-tool/components/skills/ai-research/post-training-torchforge/SKILL.md
- Fixed revision
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:43.347Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.