I have a Google Cloud machine image that uses GPUs. I want to reuse the same image but run without GPUs.
If I try starting the instance with gcloud beta compute instances create name machine-type=n2-custom-16-16384 it blows up with an error [n2-highcpu-16, nvidia-tesla-t4] features are not compatible for creating instance..
However, I cannot find a way to specify no accelerator - I tried --accelerator="", --accelerator=count=0, --accelerator=type=nvidia-tesla-t4,count=0 - none of these help, it either tries to use the GPU from the machine image or complains about parameters.
How can I specify no GPU if the machine image specifies one?
[Edit] Even creating the machines using the GUI fails: if I remove the GPU it still tries to attach one. In fact, if I create an n1 type (which supports GPUs), explicitly remove the GPU using GUI, and launch, it will still attach a GPU for me.