mirror of
https://github.com/vale981/ray
synced 2025-03-12 22:26:39 -04:00
19 lines
680 B
YAML
19 lines
680 B
YAML
base_image: {{ env["RAY_IMAGE_ML_NIGHTLY_GPU"] | default("anyscale/ray-ml:nightly-py37-gpu") }}
|
|
|
|
debian_packages:
|
|
- curl
|
|
|
|
python:
|
|
pip_packages:
|
|
- ray-lightning
|
|
- tblib
|
|
- torch==1.9.0
|
|
conda_packages: []
|
|
|
|
post_build_cmds:
|
|
# Upgrade the Ray Lightning version, otherwise it will be cached in the Anyscale Docker image.
|
|
- echo {{ env["TIMESTAMP"] }}
|
|
- pip3 install -U --force-reinstall ray-lightning pytorch-lightning lightning-bolts
|
|
- pip3 install --force-reinstall torch==1.9.0
|
|
- 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") }}
|