#425425th of 433 in ML frameworks and libraries

pfrl

PyTorch library of deep RL algorithms such as DQN, PPO, SAC and TD3

Stars
1.3k
License
MIT
Last commit
Mar 2026
Last release
Jul 2023
Language
Python
Stars, last 29 weeks+15
6 May 2026: 1,265 stars13 May 2026: 1,265 stars20 May 2026: 1,266 stars27 May 2026: 1,266 stars3 Jun 2026: 1,266 stars10 Jun 2026: 1,266 stars17 Jun 2026: 1,267 stars24 Jun 2026: 1,268 stars1 Jul 2026: 1,268 stars8 Jul 2026: 1,270 stars15 Jul 2026: 1,271 stars22 Jul 2026: 1,271 stars29 Jul 2026: 1,271 stars5 Aug 2026: 1,271 stars12 Aug 2026: 1,271 stars19 Aug 2026: 1,272 stars26 Aug 2026: 1,273 stars2 Sept 2026: 1,273 stars9 Sept 2026: 1,273 stars16 Sept 2026: 1,274 stars23 Sept 2026: 1,274 stars30 Sept 2026: 1,276 stars7 Oct 2026: 1,276 stars14 Oct 2026: 1,277 stars21 Oct 2026: 1,278 stars28 Oct 2026: 1,278 stars4 Nov 2026: 1,279 stars11 Nov 2026: 1,280 stars18 Nov 2026: 1,280 stars25 Nov 2026: 1,280 stars

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
Also in ML frameworks and libraries
RankProjectScore
#423spargeattnTraining-free sparse attention CUDA kernels, a drop-in for PyTorch SDPA1.3k starsApache-2.013 out of 100
#424pyldavisInteractive visualization of fitted LDA topic models in Python notebooks Live demo ↗ (opens in a new tab)1.8k starsBSD-3-Clause12 out of 100
#426pygamGeneralized Additive Models in Python with a scikit-learn-style API1k starsApache-2.010 out of 100
#427sumo-rlGymnasium and PettingZoo environments for RL traffic signal control in SUMO1.1k starsMIT9 out of 100
#428xaiPython library for data imbalance and model bias analysis in tabular ML1.3k starsMIT8 out of 100