#245245th of 433 in ML frameworks and libraries

slm-lab

Deep reinforcement learning framework in PyTorch with JSON-spec experiments

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
1.4k
License
MIT
Last commit
Oct 2026
Last release
Jun 2026
Language
Python
Stars, last 29 weeks+22
6 May 2026: 1,344 stars13 May 2026: 1,345 stars20 May 2026: 1,345 stars27 May 2026: 1,345 stars3 Jun 2026: 1,346 stars10 Jun 2026: 1,346 stars17 Jun 2026: 1,348 stars24 Jun 2026: 1,350 stars1 Jul 2026: 1,351 stars8 Jul 2026: 1,353 stars15 Jul 2026: 1,354 stars22 Jul 2026: 1,354 stars29 Jul 2026: 1,354 stars5 Aug 2026: 1,356 stars12 Aug 2026: 1,357 stars19 Aug 2026: 1,358 stars26 Aug 2026: 1,358 stars2 Sept 2026: 1,358 stars9 Sept 2026: 1,358 stars16 Sept 2026: 1,358 stars23 Sept 2026: 1,358 stars30 Sept 2026: 1,358 stars7 Oct 2026: 1,359 stars14 Oct 2026: 1,361 stars21 Oct 2026: 1,361 stars28 Oct 2026: 1,363 stars4 Nov 2026: 1,363 stars11 Nov 2026: 1,364 stars18 Nov 2026: 1,365 stars25 Nov 2026: 1,366 stars

1,344 on 6 May 20261,366 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

SLM Lab implements deep RL algorithms (PPO, SAC, CrossQ, DQN, A2C, REINFORCE, SARSA) in PyTorch and runs them on any Gymnasium environment. Experiments are defined entirely in JSON spec files and launched with the `slm-lab` CLI, locally or on cloud GPUs via dstack. It is the companion library to the book Foundations of Deep Reinforcement Learning.

Who it is for: RL researchers and students running reproducible deep RL experiments

Strengths

  • PPO validated on 11 MuJoCo and 54 Atari environments, with published benchmark results
  • Each run saves its spec and git SHA for exact reproduction
  • Works with any Gymnasium-compatible environment by naming it in the spec
  • Training curves and TensorBoard logging included; results can be synced to HuggingFace

Weaknesses

  • Book code requires checking out the older v4.1.1 tag
  • Cloud training depends on a configured dstack server and a HuggingFace token
  • Covers classic RL algorithms only; no LLM or RLHF training workflows listed
  • Atari and image-based environments need a GPU for practical training times

What it needs

  • GPU optional
  • Docker
  • Needs PyTorch, Gymnasium, uv, dstack (cloud runs), HuggingFace (result sharing)
  • Models: PPO, SAC, CrossQ, DQN/DDQN+PER, A2C

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#243xuanceDeep reinforcement learning library with single- and multi-agent algorithms1.1k starsMIT52 out of 100
#244scenicJAX/Flax library for training attention-based vision models at scale Live demo ↗ (opens in a new tab)3.8k starsApache-2.051 out of 100
#246raftCUDA-accelerated C++ primitives for ML and data mining, with Python wrappers1.1k starsApache-2.051 out of 100
#247hyperoptPython library for hyperparameter search over conditional, mixed search spaces7.6k starscustom license50 out of 100
#248donkeycarPython library for building and training self-driving RC cars3.6k starsMIT50 out of 100