# This file is generated by `ray project create`. # A unique identifier for the head node and workers of this cluster. cluster_name: sanity-check # The maximum number of workers nodes to launch in addition to the head # node. This takes precedence over min_workers. min_workers defaults to 0. max_workers: 1 # Cloud-provider specific configuration. provider: type: aws region: us-west-2 availability_zone: us-west-2a # How Ray will authenticate with newly launched nodes. auth: ssh_user: ubuntu # Custom commands that will be run on the head node after common setup. head_setup_commands: # Install Anaconda. - wget --quiet https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh || true - bash Anaconda3-5.0.1-Linux-x86_64.sh -b -p $HOME/anaconda3 || true - echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.bashrc - pip install -U pip # Custom commands that will be run on worker nodes after common setup. worker_setup_commands: [] # Command to start ray on the head node. You don't need to change this. head_start_ray_commands: [] # Command to start ray on worker nodes. You don't need to change this. worker_start_ray_commands: []