Repository

alex000kim/nanoRL

NanoRL

One RL training loop that runs CartPole on a laptop and disaggregated async RLVR on a GPU cluster. About 1,800 lines across 7 files. No Ray, no TRL, no DeepSpeed. It's small enough to read in an afternoon, and it's meant to be forked, not imported.

13stars

Open github.com

alex000kim/nanoRL

NanoRL

A minimal async RL trainer (~1,800 lines) that runs REINFORCE on CartPole and async GRPO on a GPU cluster without Ray, TRL, or DeepSpeed.

Visit project

Show me a random project

First shared
Aug 13, 2026
HN activity
110

Show HN@alex000kimAug 13, 2026

Show HN: NanoRL – RL training for LLMs in ~1,800 lines

The smallest async RL trainer I could write: one loop that runs REINFORCE on CartPole on a laptop and async GRPO on a cluster (e.g. 8xH100 trainer, 8 vLLM workers, ran as a [SkyPilot job group](https://docs.skypilot.ai/en/latest/examples/job-groups.html) on k8s ). All without Ray or TRL or DeepSpeed etc., workers talk to the trainer over stdlib HTTP.

No comments are available here yet.
View on Hacker News