Good afternoon.
I have encountered one problem when I tried to add GPU(NVIDIA Tesla T4) to an instance of GCP AI platform Notebooks.
The thing I want to do is to start an instance with GPU. But it doesn't work and GCP says
There are no GPUs available for the zone, framework and machine type of this instance.
And when I started an instance, it says
riiid: The zone 'projects/adept-rock-292801/zones/asia-northeast1-a' does not have enough resources available to fulfill the request. Try a different zone, or try again later.
CHECKPOINT 1
I've checked Admin Quota and here's the setting. I guess there's no problem with that.
GPUs (all regions): limit 1
NVIDIA T4 GPUs - asia-northeast1: limit 1
CHECKPOINT 2
There is only one instance that I have created so far. So no other instances use quota limit.
CHECKPOINT 3
This following link says NVIDIA Tesla T4 is available in Zone asia-northeast1-a
, so I guess availability zone is not the factor of this problem.
https://cloud.google.com/compute/docs/gpus/gpu-regions-zones
CHECKPOINT 4
My instance's machine type is now 4 vCPUs, 15 GB RAM(* n1-standard-4)
so there should be no problem in regards to the machine type, according to the following link.
https://cloud.google.com/compute/docs/gpus
Why is GPU not available with this situation? Does anyone give me a tip to solve this?
Thank you.
This issue has been addressed by a Public Issue Tracker case, here. Since you are still experiencing it, you can leave a comment there and describe how you are experiencing the issue. Thus, the case will be re-opened.
However, there is a workaround. In order to be able to add a GPU to an AI platform Notebook instance after it is creation, follow the steps below:
Python 3 (CUDA Toolkit 11.0)
and option without GPU
;sudo /opt/deeplearning/install-driver.sh
;nvidia-smi
;Please pay attention to the notes below:
gcloud compute firewall-rules create default-allow-ssh --allow tcp:22
to do so.