ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 268 - Professional Machine Learning Engineer discussion

Report
Export

You are training a deep learning model for semantic image segmentation with reduced training time. While using a Deep Learning VM Image, you receive the following error: The resource 'projects/deeplearning-platforn/zones/europe-west4-c/acceleratorTypes/nvidia-tesla-k80' was not found. What should you do?

A.
Ensure that you have GPU quota in the selected region.
Answers
A.
Ensure that you have GPU quota in the selected region.
B.
Ensure that the required GPU is available in the selected region.
Answers
B.
Ensure that the required GPU is available in the selected region.
C.
Ensure that you have preemptible GPU quota in the selected region.
Answers
C.
Ensure that you have preemptible GPU quota in the selected region.
D.
Ensure that the selected GPU has enough GPU memory for the workload.
Answers
D.
Ensure that the selected GPU has enough GPU memory for the workload.
Suggested answer: B

Explanation:

The error message indicates that the selected GPU type (nvidia-tesla-k80) is not available in the selected region (europe-west4-c). This can happen when the GPU type is not supported in the region, or when the GPU quota is exhausted in the region. To avoid this error, you should ensure that the required GPU is available in the selected region before creating a Deep Learning VM Image. You can use the following steps to check the GPU availability and quota:

To check the GPU availability, you can use thegcloud compute accelerator-types listcommand with the--filterflag to specify the GPU type and the region. For example, to check the availability of nvidia-tesla-k80 in europe-west4-c, you can run:

gcloud compute accelerator-types list --filter='name=nvidia-tesla-k80 AND zone:europe-west4-c'

If the command returns an empty result, it means that the GPU type is not supported in the region. You can either choose a different GPU type or a different region that supports the GPU type. You can use the same command without the--filterflag to list all the available GPU types and regions. For example, to list all the available GPU types in europe-west4-c, you can run:

gcloud compute accelerator-types list --filter='zone:europe-west4-c'

To check the GPU quota, you can use thegcloud compute regions describecommand with the--formatflag to specify the region and the quota metric. For example, to check the quota for nvidia-tesla-k80 in europe-west4-c, you can run:

gcloud compute regions describe europe-west4-c --format='value(quotas.NVIDIA_K80_GPUS)'

If the command returns a value of 0, it means that the GPU quota is exhausted in the region. You can either request more quota from Google Cloud or choose a different region that has enough quota for the GPU type.

Troubleshooting | Deep Learning VM Images | Google Cloud

Checking GPU availability

Checking GPU quota


asked 18/09/2024
Jim Apple
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first