app_config_data.yaml 1.2 KB

12345678910111213141516171819202122232425
  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. - awscli
  9. - gcsfs<=2022.7.1
  10. - xgboost_ray # this will install protobuf version beyond the upper bound of what Tune allows
  11. - pyarrow>=6.0.1,<7.0.0
  12. conda_packages: []
  13. post_build_cmds:
  14. - pip3 uninstall -y ray || true && pip3 install -U {{ env["RAY_WHEELS"] | default("ray") }}
  15. - pip3 install ray[tune] # Installing Tune dependency so we can get protobuf version back.
  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/train.parquet || true
  20. - rm -rf /data/test.parquet || true
  21. - curl -o ./create_test_data.py https://raw.githubusercontent.com/ray-project/ray/2a02b97f1ae552debd2071985e23e2da418ed906/release/tune_tests/scalability_tests/create_test_data.py
  22. - python ./create_test_data.py /data/train.parquet --seed 1234 --num-rows 40000000 --num-cols 40 --num-partitions 128 --num-classes 2
  23. - python ./create_test_data.py /data/test.parquet --seed 1234 --num-rows 10000000 --num-cols 40 --num-partitions 128 --num-classes 2