Changing the vGPU type for physical GPUs
After enabling vGPU for the compute cluster, you can change the vGPU type specified for a physical GPU, if necessary.
Prerequisites
- The compute cluster is reconfigured for vGPU support, as described in Enabling PCI passthrough and vGPU support.
- Ensure that the compute cluster has no virtual machines with the current vGPU type.
To change the vGPU type for a physical GPU
-
Modify the configuration file. For example, replace
nvidia-224
withnvidia-228
in thevgpu_type
field:- device_type: pgpu device: "0000:01:00.0" vgpu_type: nvidia-228
-
Pass the configuration file to the
vinfra service compute set
command. For example:# vinfra service compute set --pci-passthrough-config config.yaml
-
Reboot the node with the physical GPU to apply changes:
# reboot