mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00

* Add XGBoost release tests * Add more xgboost release tests * Use failure state manager * Add release test documentation * Fix wording * Automate fault tolerance tests
37 lines
865 B
YAML
37 lines
865 B
YAML
cluster_name: ray-xgboost-release-gpu-small
|
|
|
|
min_workers: 4
|
|
max_workers: 4
|
|
initial_workers: 4
|
|
|
|
target_utilization_fraction: 0.8
|
|
idle_timeout_minutes: 15
|
|
|
|
docker:
|
|
image: anyscale/ray:latest-gpu
|
|
container_name: ray_container
|
|
pull_before_run: true
|
|
|
|
provider:
|
|
type: aws
|
|
region: us-west-2
|
|
availability_zone: us-west-2a
|
|
cache_stopped_nodes: false
|
|
|
|
auth:
|
|
ssh_user: ubuntu
|
|
|
|
head_node:
|
|
# 64 CPUs
|
|
InstanceType: m5.xlarge
|
|
|
|
worker_nodes:
|
|
# 64 CPUs
|
|
InstanceType: p2.xlarge
|
|
|
|
setup_commands:
|
|
- pip install pytest xgboost_ray
|
|
- sudo mkdir -p /data || true
|
|
- sudo chown ray:1000 /data || true
|
|
- rm -rf /data/classification.parquet || true
|
|
- python ~/release-automation-xgboost_tests/create_test_data.py /data/classification.parquet --seed 1234 --num-rows 1000000 --num-cols 40 --num-partitions 100 --num-classes 2
|