dask_xgboost_app_config.yaml 1017 B

123456789101112131415161718192021222324
  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. - pandas>=1.3.0 # otherwise, a version mismatch between local and remote will cause an exception
  8. - git+https://github.com/ray-project/xgboost_ray.git#egg=xgboost_ray
  9. - dask
  10. - fastapi
  11. - uvicorn
  12. - tblib
  13. conda_packages: [ ]
  14. post_build_cmds:
  15. - pip uninstall -y ray || true
  16. - pip install -U {{ env["RAY_WHEELS"] | default("ray") }}
  17. - {{ env["RAY_WHEELS_SANITY_CHECK"] | default("echo No Ray wheels sanity check") }}
  18. # Upgrade the XGBoost-Ray version in post build commands, otherwise it will be cached in the Anyscale Docker image.
  19. - echo {{ env["TIMESTAMP"] }}
  20. - pip install -U xgboost # Upgrade to latest xgboost version so cached version is not used.
  21. - pip uninstall xgboost_ray -y # Uninstall first so pip does a reinstall.
  22. - pip install -U --no-cache-dir git+https://github.com/ray-project/xgboost_ray.git#egg=xgboost_ray