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

To change the vGPU type for a physical GPU

  1. Modify the configuration file. For example, replace nvidia-224 with nvidia-228 in the vgpu_type field:

    - device_type: pgpu
      device: "0000:01:00.0"
      vgpu_type: nvidia-228
  2. Pass the configuration file to the vinfra service compute set command. For example:

    # vinfra service compute set --pci-passthrough-config config.yaml
  3. Reboot the node with the physical GPU to apply changes:

    # reboot