2016-12-31 17:21:33 -08:00
|
|
|
# The examples Docker image adds dependencies needed to run the examples
|
2016-08-02 17:03:28 -07:00
|
|
|
|
2020-08-31 10:57:17 -07:00
|
|
|
FROM rayproject/ray:latest
|
2018-05-30 10:48:11 -07:00
|
|
|
|
2019-11-01 16:42:04 -07:00
|
|
|
# Needed to run Tune example with a 'plot' call - which does not actually render a plot, but throws an error.
|
2020-09-19 11:05:30 -07:00
|
|
|
RUN apt-get update && apt-get install -y zlib1g-dev libgl1-mesa-dev libgtk2.0-dev && apt-get clean
|
2020-08-31 10:57:17 -07:00
|
|
|
RUN pip install --no-cache-dir -U pip \
|
[RLlib] Upgrade gym version to 0.21 and deprecate pendulum-v0. (#19535)
* Fix QMix, SAC, and MADDPA too.
* Unpin gym and deprecate pendulum v0
Many tests in rllib depended on pendulum v0,
however in gym 0.21, pendulum v0 was deprecated
in favor of pendulum v1. This may change reward
thresholds, so will have to potentially rerun
all of the pendulum v1 benchmarks, or use another
environment in favor. The same applies to frozen
lake v0 and frozen lake v1
Lastly, all of the RLlib tests and have
been moved to python 3.7
* Add gym installation based on python version.
Pin python<= 3.6 to gym 0.19 due to install
issues with atari roms in gym 0.20
* Reformatting
* Fixing tests
* Move atari-py install conditional to req.txt
* migrate to new ale install method
* Fix QMix, SAC, and MADDPA too.
* Unpin gym and deprecate pendulum v0
Many tests in rllib depended on pendulum v0,
however in gym 0.21, pendulum v0 was deprecated
in favor of pendulum v1. This may change reward
thresholds, so will have to potentially rerun
all of the pendulum v1 benchmarks, or use another
environment in favor. The same applies to frozen
lake v0 and frozen lake v1
Lastly, all of the RLlib tests and have
been moved to python 3.7
* Add gym installation based on python version.
Pin python<= 3.6 to gym 0.19 due to install
issues with atari roms in gym 0.20
Move atari-py install conditional to req.txt
migrate to new ale install method
Make parametric_actions_cartpole return float32 actions/obs
Adding type conversions if obs/actions don't match space
Add utils to make elements match gym space dtypes
Co-authored-by: Jun Gong <jungong@anyscale.com>
Co-authored-by: sven1977 <svenmika1977@gmail.com>
2021-11-03 08:24:00 -07:00
|
|
|
autorom[accept-rom-license] \
|
2020-08-31 10:57:17 -07:00
|
|
|
gym[atari] \
|
2021-07-22 03:24:18 +01:00
|
|
|
scikit-image \
|
2020-08-31 10:57:17 -07:00
|
|
|
tensorflow \
|
|
|
|
lz4 \
|
|
|
|
pytest-timeout \
|
|
|
|
smart_open \
|
|
|
|
tensorflow_probability \
|
|
|
|
dm_tree \
|
|
|
|
h5py # Mutes FutureWarnings \
|
|
|
|
bayesian-optimization \
|
|
|
|
hyperopt \
|
|
|
|
ConfigSpace==0.4.10 \
|
|
|
|
sigopt \
|
|
|
|
nevergrad \
|
|
|
|
scikit-optimize \
|
|
|
|
hpbandster \
|
|
|
|
lightgbm \
|
|
|
|
xgboost \
|
|
|
|
torch \
|
|
|
|
torchvision \
|
|
|
|
tensorboardX \
|
|
|
|
dragonfly-opt \
|
|
|
|
zoopt \
|
|
|
|
tabulate \
|
|
|
|
mlflow \
|
|
|
|
pytest-remotedata>=0.3.1 \
|
|
|
|
matplotlib \
|
|
|
|
jupyter \
|
|
|
|
pandas
|