Samuel GIFFARD
Samuel GIFFARD

Reputation: 842

Instance does not boot after adding a GPU

We're using GCE and we wanted to add a GPU to one of our instances.

I did the following steps: * stopped the instance * added a K80 GPU * saved * started the instance

And it does not start anymore. I've tried to start it up 4 times now, it failed all these times. I have 3 error codes:

This may be related to the issue.

Machine type
n1-standard-4 (4 vCPUs, 15 GB memory)
CPU platform
Unknown CPU Platform
GPUs
1 x NVIDIA Tesla K80

The instance is in europe-west1-b

~$ gcloud compute zones describe europe-west1-b
availableCpuPlatforms:
- Intel Skylake
- Intel Broadwell
- Intel Haswell
- Intel Sandy Bridge

Upvotes: 0

Views: 281

Answers (1)

Alessio
Alessio

Reputation: 173

Yes, the issue might be related to your cpu plataform type. As per documentation [1] GPU devices are available to attach only to instances with the Broadwell CPU platform and a maximum of 64 vCPUs. I suggest to create a new instance with the appropriate CPU. You could achieve that by running the below command:

gcloud compute instances create example-instance --zone europe-west1-b --min-cpu-platform "Intel Broadwell" --machine-type "n1-standard-4"

[1] https://cloud.google.com/compute/docs/gpus/#restrictions

Upvotes: 1

Related Questions