# Reinforcement learning on a 7B Qwen model fits one RTX 5090 GPU

A preprint from DualverseAI cuts the memory needed for reinforcement learning on a 7B model by about 84%. A full maths training run costs an estimated $4.71 in rented compute, with accuracy close to released models that cost far more.

- Category: Efficiency
- Readiness level: III (Open source) on Science Underway's four-step scale, as proposed
- Published: 2026-12-01
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/reinforcement-learning-on-a-7b-qwen-model-fits-one-rtx-5090-gpu

## The study

PocketRL: Training a 7B Language Model with Reinforcement Learning on One RTX 5090 (preprint, not peer reviewed). arXiv 2611.37942. https://arxiv.org/abs/2611.37942

## At a glance

- What it shows: The authors trained a 7B maths model with reinforcement learning on a single consumer graphics card, the RTX 5090, for an estimated $4.71. Its average score on six maths tests matched released models built from the same starting model at much higher cost.
- What it does not show: It does not show the method works outside maths or on models other than Qwen. It has no documented use at any company, and the cost comparisons rest on rental-price estimates.
- Why it matters: Reinforcement learning is now a standard step in making models reason, and its memory needs usually demand several data-centre GPUs. A recipe that fits on one consumer card makes such experiments affordable for small teams and universities.

## What the study shows

Reinforcement learning with verifiable rewards (RLVR) is a training step where a program checks each answer and rewards correct ones. It is now common for teaching language models to reason. It also needs a lot of GPU memory. Earlier open projects trained 7B models on eight or sixteen data-centre GPUs.

The authors, from DualverseAI, release an open-source training code base called PocketRL. It combines two memory savings. The first stores the training signal in a small, compressed form. The compression is fitted to the data each layer actually sees, rather than chosen at random as in an earlier method called LoGRA. The second keeps a single 16-bit copy of the model's weights for both training and answer generation. It adds half a byte per weight to remember tiny changes that rounding would otherwise erase.

The authors report that this cuts the memory kept for training a 7B model from 113 GiB to 18 GiB, about 84% less. That lets a 7B Qwen2.5-Math model train on one RTX 5090, a consumer card with 32 GB of memory. A 27B Qwen model trained on four of them.

On six maths test sets, the 7B model scored 43.0% on average. Standard uncompressed training scored 40.1% and LoGRA scored 41.8%. Six released 7B models trained from the same base averaged 42.1%. Two of them scored a few points higher. The authors estimate their full run cost $4.71 in rented GPU time, against $54 for the cheapest released model.

Two tests isolate each idea. Swapping the fitted compression for a random one dropped accuracy on the MATH-500 test from 68.2% to 55.4% on a 1.5B model. Removing the half-byte rounding store cut it from about 69% to about 61%. The paper is a preprint and has not been peer reviewed.

## Our reading

In our reading, the most useful result is not the headline price but the memory budget. Most RLVR memory goes to optimiser bookkeeping and spare copies of the weights. The paper shows both can be shrunk sharply without losing accuracy on these maths tests. That is a practical engineering result, and the code is public.

The core idea is simple to state. A layer's training signal is built from the inputs that layer sees. Those inputs tend to cluster in a few directions. So compressing along those directions keeps far more of the signal than a random choice does: about 45% against 7% at the same size, by the authors' measurement. The accuracy drop when they swapped in random directions suggests this matters in practice, not only on paper.

On readiness, we place this at level III, open source available. The code is released and the results are on public benchmarks with three training runs each. There is no documented production use by a named organisation, so it does not reach level IV.

The rest of the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/reinforcement-learning-on-a-7b-qwen-model-fits-one-rtx-5090-gpu

## How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
