← All papers  /  Nov 27, 2026
Reinforcement Learning

PocketRL: Training a 7B Language Model with Reinforcement Learning on One RTX 5090

First page
PocketRL: Training a 7B Language Model with Reinforcement Learning on One RTX 5090
The curator’s take

Stephen Chung and Wenyu Du (DualverseAI) release PocketRL, an RLVR code base that trains a 7B model on a single RTX 5090 and a 27B model on four, without CPU offloading.

Ask this paper

Key points
01

ActGRA. Each layer's gradient and optimizer state are projected onto a small basis fitted to that layer's input activations by QR factorization. The authors show this basis retains far more of the gradient than the random projections used in prior work.

02

16-bit weights with error carry. Weights stay in 16-bit with an extra half byte per weight that stores rounding error, so small updates are not lost. The same 16-bit weights serve inference, which saves more memory.

03

Results. Together these reduce memory for training a 7B model by 84%. A competitive 7B model trains in under 8 hours on one RTX 5090 for $4.71, less than 9% of the cost of comparable models, and a 27B training step costs more than 77% less than with similar code bases.

04

Significance. RLVR experiments at 7B become possible on a single consumer GPU, which lowers the entry cost for academic and independent RL research.

Abstract

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 optimizer state onto a small basis fitted to the layer's input activations by a QR factorisation, which we call ActGRA, and show that such a basis retains far more of the gradient than the random projections used in prior work. Second, we propose training on 16-bit weights with half an extra byte per weight that carries the rounding error, which prevents small updates from being lost. The same 16-bit weights are used for inference, which saves further memory. Together, these methods reduce memory use for training a 7B model by 84%. This enables us to train a competitive 7B model in less than 8 hours on a single RTX 5090 for just $4.71, less than 9% of the cost of training comparable models. PocketRL also reduces the cost of a 27B training step by more than 77% compared with similar code bases. We open-source our PocketRL code base.

Every Monday
Get next week’s papers.
Subscribe on Substack