Hello!
I was wondering if there’s a way to, or if there’s a plan to, supporting Python APIs for spinning up multi-node autoscaling Ray clusters.
I’m looking for something like…
script.py:
cluster_info = ray.create_cluster("cluster.yaml") # call blocks until cluster is instantiated
head_node_ip = cluster_info["head_node_ip"]
ray.init(address="auto") # connect to cluster created in this script
# do things with Ray API so that compute happens on the distributed Ray cluster