ModelsMulti-sourceSelected

PocketRL:单张 RTX 5090 即可对 7B 模型做 RL 后训练

Why we picked it

以前做 RL 后训练基本要多卡集群,现在一张 RTX 5090 花 4.71 美元就能训 7B 模型,显存占用砍了 84%。靠 QR 分解投影和 16 位权重加误差补偿实现,不用 CPU offloading。独立研究者和小团队想跑 RLVR 实验的可以直接上手,代码开源了。

PocketRL 展示了一套在单张消费级 GPU 上做强化学习后训练的方案,用一张 RTX 5090 在不到 8 小时、花费 4.71 美元的条件下训练出具备竞争力的 7B 模型,成本不到同类方案的 9%。该方法将 7B 模型的显存占用降低 84%,突破了以往 RL 训练受显存限制的瓶颈。

Body

技术上包含两项改动:一是通过 QR 分解将每层的梯度和优化器状态投影到由该层输入激活拟合出的小基上,比此前常用的随机投影保留更多梯度信息;二是权重保持 16 位存储,每个权重额外用半个字节记录舍入误差,避免小步更新被丢弃,同时推理也复用同一份 16 位权重以进一步省显存。整套流程无需 CPU offloading。

扩展性方面,27B 模型可在 4 张 GPU 上训练,单步成本比类似代码库低 77% 以上。代码已开源,个人研究者可以在单卡上跑 7B 规模的 RLVR 消融实验。

Original · DAIR.AI

RL post-training a 7B model now fits on one consumer GPU.

Exciting to see RL becoming more and more accessible.

This work presents PocketRL and trains a competitive 7B model with RLVR on a single RTX 5090 in under 8 hours for $4.71—less than 9% of the cost of comparable models.

Memory use normally prevents this. PocketRL cuts it by 84% at 7B with two changes.

First, each layer's gradient and optimizer state are projected onto a small basis fitted to that layer's input activations by a QR factorization. This basis keeps much more of the gradient than the random projections used before.

Second, weights stay in 16-bit, with half an extra byte per weight to store the rounding error, so small updates are not lost. The same 16-bit weights are used for inference, which saves more memory.

A 27B model trains on four GPUs, with a step cost more than 77% below similar codebases, and no CPU offloading.

The code is open-source, so a single researcher can run RLVR ablations at 7B on one card.

https://t.co/zvQMnouAvV

Chat with Paper: https://t.co/2QotAjimLp

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Models" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include PocketRL, RLVR, RTX 5090, open-source models.

Source attribution: curated from DAIR.AI (@dair_ai). Cross-source corroboration: 3 independent sources have covered this development (including Lxfater, IT之家), confirming industry-wide signal strength.