2022-05-17 17:03:12 +01:00
|
|
|
base_image: {{ env["RAY_IMAGE_NIGHTLY_CPU"] | default("anyscale/ray:nightly-py37") }}
|
2021-06-16 21:37:17 +01:00
|
|
|
env_vars: {}
|
2021-11-18 11:51:46 -08:00
|
|
|
|
2021-06-16 21:37:17 +01:00
|
|
|
debian_packages:
|
|
|
|
- curl
|
2021-06-28 10:01:55 -07:00
|
|
|
- unzip
|
2021-06-16 21:37:17 +01:00
|
|
|
|
|
|
|
python:
|
|
|
|
pip_packages:
|
2022-07-22 20:37:16 +01:00
|
|
|
- "gym[atari]>=0.21.0,<0.24.1"
|
2021-11-10 18:00:16 -08:00
|
|
|
- pytest
|
|
|
|
- tensorflow
|
2021-06-16 21:37:17 +01:00
|
|
|
conda_packages: []
|
|
|
|
|
|
|
|
post_build_cmds:
|
2021-07-20 17:03:14 -07:00
|
|
|
- 'rm -r wrk || true && git clone https://github.com/wg/wrk.git /tmp/wrk && cd /tmp/wrk && make -j && sudo cp wrk /usr/local/bin'
|
2021-11-04 13:38:05 -07:00
|
|
|
- pip3 install pytest || true
|
2022-07-22 20:37:16 +01:00
|
|
|
- pip3 install -U ray[all] "gym[atari]>=0.21.0,<0.24.1" autorom[accept-rom-license]
|
2021-11-10 18:00:16 -08:00
|
|
|
- pip3 install ray[all]
|
2021-11-18 11:51:46 -08:00
|
|
|
# TODO (Alex): Ideally we would install all the dependencies from the new
|
|
|
|
# version too, but pip won't be able to find the new version of ray-cpp.
|
2021-12-17 16:25:15 -08:00
|
|
|
- pip3 uninstall ray -y && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
|
2021-09-10 17:50:31 +01:00
|
|
|
- {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
|