Vertex AI custom training job never finished

Hi,

I am trying to implement custom model training on Vertex AI.

I pushed custom training job to Vertex AI and met the freezing issue at the trainer.train() process.

Command:


gcloud ai custom-jobs create \
--region=us-west1 \
--display-name=test_model \
--worker-pool-spec=machine-type=n1-highmem-2,accelerator-type=NVIDIA_TESLA_T4,accelerator-count=1,replica-count=1,executor-image-uri=asia-docker.pkg.dev/vertex-ai/training/pytorch-gpu.1-13:latest, local-package-path=src, script=task.py

Version


image: asia-docker.pkg.dev/vertex-ai/training/pytorch-gpu.1-13:latest

transformers v4.28.0 (changed to other versions but got the same freeze issue)

Log in Logging is below without error messages.


Map: 0%| | 0/72 [00:00<?, ? examples/s]

The process succeeded two month ago with vertex-ai/training/pytorch-gpu.1-11:latest and the same script task.py.

Is there anyone who’ve been facing a same issue or have solved before?
Thanks,

Good day @lingshu ,

Welcome to Google Cloud Community!

There are several reasons why you are encountering this issue, but you can try validating the following if it will solve your problem:

  1. Verify if your script and dependencies are compatible with the PyTorch version as well as the libraries that you are using in the script. In your environment, verify if the versions and the required packages are specified correctly.

  2. Verify if you have not exceeded the quotas, you can use this link for more information about quotas and limits: https://cloud.google.com/vertex-ai/docs/quotas#custom-trained_model_quotas

But I highly recommend that you reach out to Google Cloud Support for this inquiry as engineers have better visibility to your logs: https://cloud.google.com/support

Hope this helps!