Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Platform GPU Quotas not always displayed

I am using GCP with several identical projects. For each new project I need a quota of one GPU (Tesla K80). In order to apply for an increase of my GPU quota, I open the console and navigate to "IAM & Admin" > "Quotas". There I filter for my region (europe-west-1) and look for the "NVidia K80 GPUs" entry.

I have noticed that the Compute Engine APIs only appear after visiting the "Compute Engine" menu at least once. So far so good. However, the option for the GPUs only shows up after a lot of browsing around and switching between projects and revisiting the quotas page. It seems completely random.

Here is an example of two identical projects and the available quota options:

Project "examplestudent02" has the GPU option:

project with GPU option

Project "examplestudent03" does not have the GPU option:

project without GPU option

I cannot figure out what makes this option appear. Did anyone experience something similar? Is there something that needs to be activated before the GPU quota option appears?

There is a related question on stack overflow. However, the GPU option also does not appear when changing the Quota type to "All quotas" (which is the default anyway). Also going to the quotas page in incognito mode did not help. Lastly, I normally use Chrome, but I also tried logging in with a different browser (Firefox) which also did not help.

like image 736
Chrigi Avatar asked Aug 24 '17 17:08

Chrigi


People also ask

How do I request GPU quota on Google Cloud?

To request GPU quota, go to the Google Cloud Console and select the project you want to use. Then, click on the “Menu” icon in the top-left corner and select “APIs & Services”. On the API page, select “Quotas” from the left-hand menu. On the Quotas page, click on the “+ New Quota” button.

How do you check quotas in GCP?

On the Google Cloud console APIs & Services Dashboard page. On this page, select your project, click the API name, and then click Quotas. The Quotas page shows the quota names for the API.


1 Answers

The following answer is based on the current scenario as there is no issue with quota display anymore.

To answer to your question, you can go to the quotas page of your console and check your GPU quota from there. The GPUs are currently listed by the name of NVIDIA K80 GPUs and NVIDIA P100 GPUs (not GPU only). These can be easily filtered out by selecting from Metric column on this page.

If any of these cannot be found then the quota might not have been assigned. To request the GPU quota, you can follow the steps mentioned in this article. Once the request is submitted, it might take 24 to 48 hours to get approved.

That being said, one thing you need to keep in mind that free trial accounts do not receive GPU quota by default. I would also suggest checking the restrictions on instances with GPU to avoid any future issues.

Hope this helps.

like image 91
Taher Avatar answered Sep 22 '22 01:09

Taher