app_config.yaml 737 B

1234567891011121314151617181920
  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. - ray-lightning
  7. - tblib
  8. - torch==1.11.0
  9. conda_packages: []
  10. post_build_cmds:
  11. # Upgrade the Ray Lightning version, otherwise it will be cached in the Anyscale Docker image.
  12. - echo {{ env["TIMESTAMP"] }}
  13. - pip3 install -U --force-reinstall ray-lightning pytorch-lightning lightning-bolts
  14. - pip3 install --force-reinstall torch==1.11.0
  15. - pip3 install --force-reinstall torchvision==0.12.0
  16. - pip uninstall -y ray || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
  17. - {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}