Production Job

Production Job#

You can easily wrap the training workload as a production grade Anyscale Job (API ref).

Note:

  • This Job uses a containerfile to define dependencies, but you could easily use a pre-built image as well.

  • You can specify the compute as a compute config or inline in a job config file.

  • When you don’t specify compute while launching from a workspace, this configuration defaults to the compute configuration of the workspace.

%%bash
# Production model training job
anyscale job submit -f /home/ray/default/configs/train_model.yaml