2022-05-17 17:03:12 +01:00
|
|
|
base_image: {{ env["RAY_IMAGE_NIGHTLY_CPU"] | default("anyscale/ray:nightly-py37") }}
|
2021-11-18 11:24:22 -08:00
|
|
|
env_vars: {}
|
2021-11-26 11:42:41 -08:00
|
|
|
|
2021-11-18 11:24:22 -08:00
|
|
|
debian_packages:
|
|
|
|
- curl
|
2021-11-26 11:42:41 -08:00
|
|
|
- unzip
|
2021-11-18 11:24:22 -08:00
|
|
|
|
|
|
|
python:
|
|
|
|
pip_packages:
|
2022-05-23 08:18:44 +02:00
|
|
|
- gym[atari]
|
2022-02-24 09:03:55 -08:00
|
|
|
- pygame
|
2021-11-26 11:42:41 -08:00
|
|
|
- pytest
|
|
|
|
- tensorflow
|
2022-02-24 09:03:55 -08:00
|
|
|
- torch
|
2021-11-18 11:24:22 -08:00
|
|
|
conda_packages: []
|
|
|
|
|
|
|
|
post_build_cmds:
|
2021-11-26 11:42:41 -08: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'
|
|
|
|
- pip3 install numpy==1.19 || true
|
|
|
|
- pip3 install pytest || true
|
2022-05-23 08:18:44 +02:00
|
|
|
- pip3 install -U ray[all] gym[atari] autorom[accept-rom-license]
|
2021-11-26 11:42:41 -08:00
|
|
|
- pip3 install ray[all]
|
|
|
|
# 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.
|
2022-05-22 16:07:03 +09:00
|
|
|
- pip3 uninstall ray -y || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
|
2021-11-26 11:42:41 -08:00
|
|
|
- {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
|