Release v2.1.0
Upgrade PyTorch to v2
From this version, d3rlpy requires PyTorch v2 (v1 still may partially work). To do this, the minimum Python version has been bumped to 3.8. This change allows d3rlpy to utilize more advanced features such as torch.compile
in the upcoming releases.
Healthcheck
From this version, d3rlpy diagnoses dependency health automatically. In this version, the version of Gym
is checked to make sure you have installed the correct version of Gym
.
Gymnasium support
d3rlpy now supports Gymnasium
as well as Gym
. You can use it just same as Gym
. Please check example for the further details.
d3rlpy install command
To make your life easier, d3rlpy provides d3rlpy install
commands to install additional dependencies. This is the part of d3rlpy
CLI. Please check docs for the further details.
$ d3rlpy install atari # Atari 2600 dependencies
$ d3rlpy install d4rl_atari # Atari 2600 + d4rl-atari dependencies
$ d3rlpy install d4rl # D4RL dependencies
Refactoring
In this version, the internal design has been refactored. The algorithm implementation and the way to assign models are mainly refactored.
Enhancement
- Added Jupyter Notebook for TPU on Google Colaboratory.
- Added
d3rlpy.notebook_utils
to provide utilities for Jupyter Notebook. - Updated notebook link #313 (thanks @asmith26 !)
Bugfix
- Fixed typo docstrings #316 (thanks @asmith26 !)
- Fixed docker build #311 (thanks @HassamSheikh !)