app_config_master.yaml 1.0 KB

1234567891011121314151617181920212223
  1. base_image: {{ env["RAY_IMAGE_ML_NIGHTLY_GPU"] | default("anyscale/ray-ml:nightly-py37-gpu") }}
  2. debian_packages:
  3. - curl
  4. python:
  5. pip_packages:
  6. - tblib
  7. # Need to have in pip_packages so it is installed on the driver.
  8. - git+https://github.com/ray-project/ray_lightning#ray_lightning
  9. - torch==1.11.0
  10. conda_packages: []
  11. post_build_cmds:
  12. # Upgrade the Ray Lightning version in post build commands, otherwise it will be cached in the Anyscale Docker image.
  13. - echo {{ env["TIMESTAMP"] }}
  14. - pip3 install -U --force-reinstall pytorch-lightning lightning-bolts
  15. - pip uninstall ray_lightning -y # Uninstall first so pip does a reinstall.
  16. - pip3 install -U --no-cache-dir git+https://github.com/ray-project/ray_lightning#ray_lightning
  17. - pip3 install --force-reinstall torch==1.11.0
  18. - pip3 install --force-reinstall torchvision==0.12.0
  19. - pip uninstall -y ray || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
  20. - {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}