PocketRL
A low-cost, memory-efficient training framework for reinforcement learning post-training of large models. It reduces memory overhead through activation subspace projection and low-precision weight residual compensation techniques.
Timeline (last 90 days)
PocketRL completes 7B model training on a single RTX 5090 for the first time
PocketRL trains with 16-bit weights and additionally keeps half a byte (4 bits) per weight to carry rounding error
PocketRL keeps an extra half byte per weight dedicated to recording the discarded residual, which is added back at the next update to restore effective resolution
PocketRL's 16-bit master weights can be used directly for inference without additional conversion or storage of a high-precision copy
Combining the two techniques reduces the memory footprint of 7B model training by 84%
On a single RTX 5090, a competitive 7B model can be trained in under 8 hours
The entire training process costs only $4.71, less than 9% of the training cost of comparable models
PocketRL's method allows a 27B model to be trained with just four RTX 5090s
Compared with similar codebases, PocketRL reduces per-step training cost on a 27B model by more than 77%
PocketRL has open-sourced its codebase
All Facts (10)
PocketRL completes 7B model training on a single RTX 5090 for the first time
50%UnverifiedPocketRL trains with 16-bit weights and additionally keeps half a byte (4 bits) per weight to carry rounding error
50%UnverifiedPocketRL keeps an extra half byte per weight dedicated to recording the discarded residual, which is added back at the next update to restore effective resolution
50%UnverifiedPocketRL's 16-bit master weights can be used directly for inference without additional conversion or storage of a high-precision copy
50%UnverifiedCombining the two techniques reduces the memory footprint of 7B model training by 84%
50%UnverifiedOn a single RTX 5090, a competitive 7B model can be trained in under 8 hours
50%UnverifiedThe entire training process costs only $4.71, less than 9% of the training cost of comparable models
50%UnverifiedPocketRL's method allows a 27B model to be trained with just four RTX 5090s
50%UnverifiedCompared with similar codebases, PocketRL reduces per-step training cost on a 27B model by more than 77%
50%UnverifiedPocketRL has open-sourced its codebase
50%