app_config.yaml 1.1 KB

1234567891011121314151617181920212223
  1. base_image: {{ env["RAY_IMAGE_NIGHTLY_CPU"] | default("anyscale/ray:nightly-py37") }}
  2. env_vars: {}
  3. debian_packages:
  4. - curl
  5. python:
  6. pip_packages:
  7. - pytest
  8. - lightgbm_ray # this will install protobuf version beyond the upper bound of what Tune allows
  9. - petastorm
  10. - tblib
  11. conda_packages: []
  12. post_build_cmds:
  13. - pip3 uninstall -y ray || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
  14. - pip3 install ray[tune] # Needed for Ray Client to work. Installing Tune dependency so we can get protobuf version back.
  15. - pip3 install -U --force-reinstall --no-deps xgboost xgboost_ray lightgbm_ray petastorm # Avoid caching
  16. - {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
  17. - sudo mkdir -p /data || true
  18. - sudo chown ray:1000 /data || true
  19. - rm -rf /data/classification.parquet || true
  20. - curl -o create_test_data.py https://raw.githubusercontent.com/ray-project/ray/releases/1.3.0/release/xgboost_tests/create_test_data.py
  21. - python ./create_test_data.py /data/classification.parquet --seed 1234 --num-rows 1000000 --num-cols 40 --num-partitions 100 --num-classes 2