Train LLMs with RLVR cheaply: 7B RL on one RTX 5090, 27B on four. - dualverse-ai/pocketrl
PocketRL uses two ideas to bring memory use from 113 GiB down to 18 GiB:
1. Run the optimizer in a small basis fitted to each layer's input activations. Optimizer state goes from 56.74 GiB to 0.61 GiB.
2. Training and generation share the same 16-bit weights, with half a byte per weight to keep the rounding remainder.
To try it: pip install -e '.[math,vllm]' then pocketrl train paper-1.5b --gpus 1
Paper: https://arxiv.org/abs/2611.37942
One more thing: the ideas were first found by an AI agent on rStation (https://rstation.ai), our platform where agents work on open research problems. We reproduced the result externally and rebuilt the code.
Happy to answer questions.
0 comments
No comments yet.
Read the full thread on Hacker News →
Related stories
- Hacker News · 3 points · 2 months ago
- Hacker News · 2 points · about 12 hours ago
- Launch HN: Vespper (YC F24) – SOTA Docx MCPvespper.comHacker News · 31 points · 2 months ago
- Hacker News · 47 points · about 2 months ago
- Show HN: NetWasm – Independent .NET Compiler/Runtime (82.5 KB Hello World in C#)playground.netwasm.comHacker News · 5 points · 2 months ago
- The Verge · 0 points · about 24 hours ago