2022-05-17 17:03:12 +01:00
|
|
|
base_image: {{ env["RAY_IMAGE_ML_NIGHTLY_GPU"] | default("anyscale/ray-ml:nightly-py37-gpu") }}
|
2021-11-01 18:29:48 -07:00
|
|
|
|
|
|
|
debian_packages:
|
|
|
|
- curl
|
|
|
|
|
|
|
|
python:
|
|
|
|
pip_packages:
|
|
|
|
- ray-lightning
|
2021-11-10 18:00:16 -08:00
|
|
|
- tblib
|
2022-06-30 13:24:28 -07:00
|
|
|
- torch==1.9.0
|
2021-11-01 18:29:48 -07:00
|
|
|
conda_packages: []
|
|
|
|
|
|
|
|
post_build_cmds:
|
2022-01-27 17:56:32 -08:00
|
|
|
# Upgrade the Ray Lightning version, otherwise it will be cached in the Anyscale Docker image.
|
|
|
|
- echo {{ env["TIMESTAMP"] }}
|
2022-06-30 13:24:28 -07:00
|
|
|
- pip3 install -U --force-reinstall ray-lightning pytorch-lightning lightning-bolts
|
|
|
|
- pip3 install --force-reinstall torch==1.9.0
|
2022-07-07 11:45:46 -07:00
|
|
|
- pip3 install --force-reinstall torchvision==0.10.0
|
2022-06-30 13:24:28 -07:00
|
|
|
- pip uninstall -y ray || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
|
|
|
|
- {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
|