mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 09:36:46 +08:00
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
# An unique identifier for the head node and workers of this cluster.
|
|
cluster_name: minimal
|
|
hi: 1
|
|
# The maximum number of workers nodes to launch in addition to the head
|
|
# node. This takes precedence over min_workers. min_workers default to 0.
|
|
min_workers: 0
|
|
max_workers: 0
|
|
|
|
provider:
|
|
type: aws
|
|
region: us-west-2
|
|
availability_zone: us-west-2b
|
|
|
|
# How Ray will authenticate with newly launched nodes.
|
|
auth:
|
|
ssh_user: ubuntu
|
|
|
|
head_node:
|
|
InstanceType: m4.10xlarge
|
|
ImageId: ami-3b6bce43 # Amazon Deep Learning AMI (Ubuntu)
|
|
|
|
setup_commands:
|
|
- error me
|
|
# - echo 'export PATH="$HOME/anaconda3/envs/tensorflow_p36/bin:$PATH"' >> ~/.bashrc
|
|
# - source activate tensorflow_p27 && pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.4.0-cp27-cp27mu-manylinux1_x86_64.whl
|
|
|
|
# # Command to start ray on the head node. You don't need to change this.
|
|
head_start_ray_commands:
|
|
- ray stop
|
|
- ray start --head --port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml |