← Latest products

NanoRL

RL training for LLMs in ~1,800 lines. 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. 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.

Open source

13 stars · GitHubexternal site

Visit github.comexternal site

Reactions (1)

Similar products

by description similarity

  1. DPO, GRPO)

    Hacker News21 pts

  2. A ~9M parameter LLM that talks like a small fish.

    Hacker News915 pts

  3. Tiny-vLLM

    github.com

    high performance LLM inference engine in C++ and CUDA

    Hacker News205 pts

  4. Training long-horizon terminal agents with RL

    Hacker News125 pts

  5. LLM App

    github.com

    build a realtime LLM app in 30 lines, with no vector database

    Hacker News11 pts