app_config_gpu_master.yaml 996 B

12345678910111213141516171819202122
  1. base_image: {{ env["RAY_IMAGE_ML_NIGHTLY_GPU"] | default("anyscale/ray-ml:nightly-py37-gpu") }}
  2. env_vars: {}
  3. debian_packages:
  4. - curl
  5. python:
  6. pip_packages:
  7. - pytest
  8. - git+https://github.com/ray-project/xgboost_ray@master#egg=xgboost_ray
  9. - petastorm
  10. - tblib
  11. conda_packages: []
  12. post_build_cmds:
  13. - pip uninstall -y ray || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
  14. - pip install -U "git+https://github.com/ray-project/xgboost_ray@master#egg=xgboost_ray" petastorm
  15. - {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
  16. - sudo mkdir -p /data || true
  17. - sudo chown ray:1000 /data || true
  18. - rm -rf /data/classification.parquet || true
  19. - curl -so create_test_data.py https://raw.githubusercontent.com/ray-project/ray/releases/1.3.0/release/xgboost_tests/create_test_data.py
  20. - python create_test_data.py /data/classification.parquet --seed 1234 --num-rows 1000000 --num-cols 40 --num-partitions 100 --num-classes 2