#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.
Watch puts slm-lab on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.slm-lab is on your watch list. Its new releases and problems show there.
- Stars
- 1.4k
- License
- MIT
- Last commit
- Oct 2026
- Last release
- Jun 2026
- Language
- Python
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| Rank | Project | Score |
|---|---|---|
| #243 | xuanceDeep reinforcement learning library with single- and multi-agent algorithms | 52 out of 100 |
| #244 | scenicJAX/Flax library for training attention-based vision models at scale | 51 out of 100 |
| #246 | raftCUDA-accelerated C++ primitives for ML and data mining, with Python wrappers | 51 out of 100 |
| #247 | hyperoptPython library for hyperparameter search over conditional, mixed search spaces | 50 out of 100 |
| #248 | donkeycarPython library for building and training self-driving RC cars | 50 out of 100 |