forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move RLLib GPU release test dependencies to ml docker (ray-project#18208
- Loading branch information
Showing
9 changed files
with
39 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,14 @@ | ||
base_image: "anyscale/ray-ml:pinned-nightly-py37-gpu" | ||
env_vars: {} | ||
debian_packages: | ||
- libglib2.0-0 | ||
- unrar | ||
- curl | ||
- unzip | ||
- gcc | ||
- python3-dev | ||
debian_packages: [] | ||
|
||
python: | ||
pip_packages: | ||
# Atari support. | ||
- gym[atari] | ||
- atari_py | ||
# PyBullet support. | ||
- pybullet | ||
- pybullet_envs | ||
# Pin this to 2.4.3 so it'll work with CUDA=11.0. | ||
- tensorflow==2.4.3 | ||
# These dependencies should be handled by requirements_rllib.txt and requirements_ml_docker.txt | ||
pip_packages: [] | ||
conda_packages: [] | ||
|
||
post_build_cmds: | ||
- pip uninstall -y numpy ray || true | ||
- sudo rm -rf /home/ray/anaconda3/lib/python3.7/site-packages/numpy | ||
- pip3 install numpy==1.19.5 || true | ||
- pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }} | ||
# Install Atari ROMs. | ||
- wget http://www.atarimania.com/roms/Roms.rar | ||
- unrar x Roms.rar | ||
- python -m atari_py.import_roms . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
set -e | ||
echo "Downloading Atari roms and importing into gym" | ||
ROMDIR=$(mktemp -d) | ||
pushd "$ROMDIR" | ||
wget -q http://www.atarimania.com/roms/Roms.rar | ||
unrar x "Roms.rar" > /dev/null | ||
# Importing from zipfiles with atari_py only works in Python >= 3.7 | ||
# so we unzip manually here | ||
mkdir -p ./unzipped | ||
unzip "ROMS.zip" -d ./unzipped | ||
unzip "HC ROMS.zip" -d ./unzipped | ||
python -m atari_py.import_roms ./unzipped | ||
popd | ||
echo rm -rf "$ROMDIR" | ||
echo "Successfully installed Atari roms" |