2020-02-24 21:18:53 -08:00
|
|
|
cluster_name: ray-rllib-regression-tests
|
|
|
|
|
|
|
|
min_workers: 0
|
|
|
|
max_workers: 0
|
|
|
|
|
2020-12-08 19:15:07 +01:00
|
|
|
docker:
|
|
|
|
image: anyscale/ray-ml:latest-gpu
|
|
|
|
container_name: ray_container
|
|
|
|
pull_before_run: True
|
|
|
|
|
2020-02-24 21:18:53 -08:00
|
|
|
# Cloud-provider specific configuration.
|
|
|
|
provider:
|
|
|
|
type: aws
|
|
|
|
region: us-west-2
|
|
|
|
availability_zone: us-west-2a
|
|
|
|
cache_stopped_nodes: False
|
|
|
|
|
|
|
|
# How Ray will authenticate with newly launched nodes.
|
|
|
|
auth:
|
|
|
|
ssh_user: ubuntu
|
|
|
|
|
|
|
|
head_node:
|
|
|
|
InstanceType: p3.16xlarge
|
|
|
|
|
|
|
|
# List of shell commands to run to set up nodes.
|
2020-12-08 19:15:07 +01:00
|
|
|
setup_commands:
|
|
|
|
- apt-get install -y libglib2.0-0 libcudnn7=7.6.5.32-1+cuda10.1
|
2021-01-15 17:41:17 -08:00
|
|
|
- pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-2.0.0.dev0-cp37-cp37m-manylinux2014_x86_64.whl
|
2020-02-24 21:18:53 -08:00
|
|
|
|
|
|
|
# Command to start ray on the head node. You don't need to change this.
|
|
|
|
head_start_ray_commands:
|
2020-12-08 19:15:07 +01:00
|
|
|
- ray stop
|
|
|
|
- ulimit -n 65536; OMP_NUM_THREADS=1 ray start --head --port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml
|
2020-02-24 21:18:53 -08:00
|
|
|
|
|
|
|
# Command to start ray on worker nodes. You don't need to change this.
|
|
|
|
worker_start_ray_commands:
|
2020-12-08 19:15:07 +01:00
|
|
|
- ray stop
|
|
|
|
- ulimit -n 65536; OMP_NUM_THREADS=1 ray start --address=$RAY_HEAD_IP:6379 --object-manager-port=8076
|