app_config.yaml 1.2 KB

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