app_config_np.yaml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. base_image: {{ env["RAY_IMAGE_NIGHTLY_CPU"] }}
  2. env_vars: {}
  3. debian_packages:
  4. - curl
  5. - unzip
  6. python:
  7. pip_packages:
  8. - "gym[atari]>=0.21.0,<0.24.0"
  9. - ale-py==0.7.5
  10. - pygame
  11. - pytest
  12. - tensorflow
  13. - torch
  14. # AutoROM downloads ROMs via torrent when they are built. The torrent is unreliable,
  15. # so we built it for py3 and use that instead. This wheel was tested for python 3.7, 3.8,
  16. # and 3.9.
  17. - https://ray-ci-deps-wheels.s3.us-west-2.amazonaws.com/AutoROM.accept_rom_license-0.5.4-py3-none-any.whl
  18. conda_packages: []
  19. post_build_cmds:
  20. - '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'
  21. - pip3 install numpy==1.19 || true
  22. - pip3 install pytest || true
  23. - pip3 install ray[all]
  24. # TODO (Alex): Ideally we would install all the dependencies from the new
  25. # version too, but pip won't be able to find the new version of ray-cpp.
  26. - pip3 uninstall ray -y || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
  27. - {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}