While working on some projects with GCP I noticed that it doesn’t provide access to GPU by default and you need manually request the access. There is a quick instruction on how to access GPU on GCP.
1. Go to IAM and click Quotas
2. Select GPU all regions
3. Click Edit Quotas
Change quota from 0 to 1 and submit a request. Currently, you can access only one GPU and if you need more GPUs for your project you would need to contact the Google sales team directly and request more compute power.
Wait a few minutes, you should receive an email saying to your quota request has been approved and your project quota has been adjusted. Now, you can go to Compute Engine and deploy your GPU enabled instance. Hope you find this instruction useful.