PocketRL: Training a 7B Language Model with Reinforcement Learning on One RTX 5090
Provides breakthrough memory efficiency for RL research, making frontier model training accessible to individual researchers.
AI Summary
PocketRL enables RL of 7B parameter models on a single RTX 5090 GPU using novel memory optimization techniques like ActGRA and 16-bit weight training.
Excerpt
It is now common to post-train large language models with reinforcement learning with verifiable rewards (RLVR), but its heavy memory use, and hence high cost, is an important bottleneck for RLVR research and a major expense in training frontier models. We introduce PocketRL, a low-cost, memory-efficient RLVR code base that trains a 7B model on a single RTX 5090 and a 27B model on only four, without CPU offloading. PocketRL combines two ideas. First, we project each layer's gradient and optimize
