Run the workload as an Anyscale job

From within your Anyscale Workspace, you can run your script as an Anyscale Job. This might be useful if you want to run things in production. You can test that Each Job will spin up its own cluster (with the same compute config and cluster environment as the Workspace) and run the script. The Anyscale Job will automatically retry in event of failure and provides monitoring via the Ray Dashboard and Grafana. You can think of an Anyscale Job as similar to a ray job submit.

To do this, from the terminal in your Workspace, run:

anyscale job submit -- python script.py

Anyscale | Ray | © 2023 Anyscale. All rights reserved.