Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How do you stop a batch prediction job on Vertex AI?

I have a Vertex AI batch prediction job that is running and I do not know how to turn it off.
Specifically 
"Vertex AI: Online/Batch Prediction N1 Predefined Instance Core running in EMEA for AI Platform"
Any ideas?

vertexaibatch.png

0 2 1,563
2 REPLIES 2

To stop a Vertex AI batch prediction job, you can follow these steps:

  1. Google Cloud Console:

    • Go to the Google Cloud Console: https://console.cloud.google.com/.
    • Navigate to the Vertex AI section or AI Platform (if you're using an older version).
    • Look for the batch prediction job you want to stop.
  2. Stopping the Job:

    • Find the job listed under the "Batch Predictions" or a similar section.
    • Select the job you want to stop.
    • Look for an option or button to stop or cancel the job. It might be labeled as "Stop", "Cancel", or represented by a similar term.
  3. Using gcloud Command Line:

    • Open Google Cloud Shell or your local terminal if you have the gcloud SDK installed.
    • Use the gcloud command to list the batch prediction jobs:
      `gcloud ai endpoints batch-predictions list`
    • Identify the job you want to stop by its name or ID.
    • Use the gcloud ai endpoints batch-predictions cancel command to stop the job:
      `gcloud ai endpoints batch-predictions cancel JOB_NAME_OR_ID`

Remember to replace JOB_NAME_OR_ID with the actual name or ID of your batch prediction job.

If you're unsure about the specific job name or where to find it in the Google Cloud Console, exploring the AI Platform or Vertex AI section should help you locate the running batch prediction job.

Once you find the job, the option to stop or cancel it should be visible. If you're still unsure or encountering issues, I recommend checking the Google Cloud documentation or contacting Google Cloud Support for more precise guidance.

Thank you for this answer. Very helpful