mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00

Many release tests are currently failing for cuda version incompatibilities. Pinning the base image to 1.12.1 seems to resolve the problem for the time being.
21 lines
920 B
YAML
Executable file
21 lines
920 B
YAML
Executable file
base_image: {{ env["RAY_IMAGE_ML_NIGHTLY_GPU"] | default("anyscale/ray-ml:nightly-py37-gpu") }}
|
|
env_vars: {}
|
|
debian_packages:
|
|
- curl
|
|
|
|
python:
|
|
pip_packages:
|
|
- pytest
|
|
- xgboost_ray
|
|
- petastorm
|
|
conda_packages: []
|
|
|
|
post_build_cmds:
|
|
- pip3 uninstall -y ray || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
|
|
- {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
|
|
- pip install -U --force-reinstall xgboost xgboost_ray petastorm # Install latest releases
|
|
- sudo mkdir -p /data || true
|
|
- sudo chown ray:1000 /data || true
|
|
- rm -rf /data/classification.parquet || true
|
|
- curl -so create_test_data.py https://raw.githubusercontent.com/ray-project/ray/releases/1.3.0/release/xgboost_tests/create_test_data.py
|
|
- python create_test_data.py /data/classification.parquet --seed 1234 --num-rows 1000000 --num-cols 40 --num-partitions 100 --num-classes 2
|