Check and request for an increase in your quotas for GPUs:
- Search for GPU. If you have 0 in your allocated quotas, select the type of GPU and region and click on edit the quotas. Fill in the request form (https://console.cloud.google.com/iam-admin/quotas?project=packt-gcp).
There are several restrictions when it comes to using GPUs on Google Compute. GPUs are not available in shared or pre-emptible machines. GPU instances are terminated for regular (weekly) maintenance events. See https://cloud.google.com/compute/docs/gpus/ for up-to-date information on the restrictions. See also https://cloud.google.com/compute/docs/gpus#introduction to learn what machine types are available based on your desired GPU count.
To ...