#425425th of 433 in ML frameworks and libraries
pfrl
PyTorch library of deep RL algorithms such as DQN, PPO, SAC and TD3
Watch puts pfrl on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.pfrl is on your watch list. Its new releases and problems show there.
- Stars
- 1.3k
- License
- MIT
- Last commit
- Mar 2026
- Last release
- Jul 2023
- Language
- Python
1,265 on 6 May 20261,280 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
PFRL is a Python library that implements deep reinforcement learning algorithms on PyTorch, including DQN variants, Rainbow, IQN, DDPG, A3C, ACER, PPO, TRPO, TD3 and SAC. It works with any environment exposing OpenAI Gym's reset and step methods. The repository ships Atari and Mujoco reproduction scripts with pretrained models, and is based on ChainerRL.
Who it is for: RL researchers and engineers training agents on Gym-style environments
Strengths
- Covers value-based and policy-gradient methods: DQN, Rainbow, IQN, PPO, TRPO, TD3, SAC
- Pretrained models for Atari and Mujoco reproduction scripts
- Works with any environment exposing Gym-style reset and step
- Quickstart notebook, examples and Read the Docs documentation
Weaknesses
- Last release is 2023-07-16, well behind recent commits
- README states testing on Python 3.7.7 only, an old version
- Environment interface described as Gym-style reset and step; Gymnasium not mentioned
- Reinforcement learning only; no LLM or RLHF tooling
What it needs
- Needs PyTorch
- Models: PyTorch
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 |
|---|---|---|
| #423 | spargeattnTraining-free sparse attention CUDA kernels, a drop-in for PyTorch SDPA | 13 out of 100 |
| #424 | pyldavisInteractive visualization of fitted LDA topic models in Python notebooks | 12 out of 100 |
| #426 | pygamGeneralized Additive Models in Python with a scikit-learn-style API | 10 out of 100 |
| #427 | sumo-rlGymnasium and PettingZoo environments for RL traffic signal control in SUMO | 9 out of 100 |
| #428 | xaiPython library for data imbalance and model bias analysis in tabular ML | 8 out of 100 |