whereismyai
PocketRL
PocketRL is an open-source code base that trains large language models with reinforcement learning cheaply and efficiently.
PocketRL is a memory-efficient, low-cost reinforcement learning code base designed for training large language models using RLVR. It uses an activation-based gradient compression method called ActGRA and a 16-bit weight format with a rounding remainder to eliminate the need for 32-bit master weights and large optimizer states. This allows large models to fit on consumer-grade GPUs like the RTX 5090 without CPU offloading. It supports models such as Qwen2.5-Math-1.5B, Qwen2.5-Math-7B, and Qwen3.8-27B. The repository provides command-line training recipes, evaluation tools using vLLM or a native decoder, and model checkpoints on Hugging Face.
PocketRL at a glance
Key features
- Train 7B models on one RTX 5090 and 27B models on four
- Compress gradients using ActGRA, LoGRA, or Dense methods
- Share 16-bit weights between generation and training
- Store small updates using a packed rounding remainder
- Evaluate runs on six math test sets
- Resume interrupted runs from saved checkpoints
- Configure training via command-line flags or YAML recipes
Use it for
- Train math reasoning LLMs on single or multi-GPU setups
- Run low-cost reinforcement learning experiments
- Evaluate model accuracy across math benchmarks
- Finetune open-source models with minimal GPU memory
Alternatives to PocketRL
- quantized.uk — Check exact VRAM requirements, run commands, and model compatibility for your specific GPU.
- LLM Stats — Independent rankings updated continuously from live API metrics.
- Skillroll — Tests agent decisions and turns them into readable regression checks.
- Spanlight — Traces LLM calls and audits costs line by line on a single Postgres database.
- LLM Wiki Research — Compiles parallel agent research into source-backed markdown knowledge bases.
- Dreamscale Labs — Run frontier robot models in the cloud without local GPUs.
- Lighteval — Evaluates LLMs across multiple backends with thousands of built-in tasks.
- VLMEvalKit — Evaluate large vision-language models across numerous benchmarks with a single command.
All PocketRL alternatives