modin_xgboost_app_config.yaml 1.0 KB

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