graphicsInfo = (vim.host.GraphicsInfo) [
(vim.host.GraphicsInfo) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
deviceName = 'NVIDIA H100',
vendorName = 'NVIDIA Corporation',
pciId = '0000:XX:00.0',
graphicsType = 'sharedDirect',
vgpuMode = 'mixedSize',
memorySizeInKB = ########,
vm = (vim.VirtualMachine) [
'vim.VirtualMachine:##',
'vim.VirtualMachine:##',
'vim.VirtualMachine:##',
'vim.VirtualMachine:##',
'vim.VirtualMachine:##',
'vim.VirtualMachine:##',
'vim.VirtualMachine:##',
'vim.VirtualMachine:##',
]
},
(vim.host.GraphicsInfo) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
deviceName = 'NVIDIA H100',
vendorName = 'NVIDIA Corporation',
pciId = '0000:ZZ:00.0',
graphicsType = 'sharedDirect',
vgpuMode = 'mixedSize',
memorySizeInKB = ########,
vm = (vim.VirtualMachine) [
'vim.VirtualMachine:##',
]
VMware vSphere 8.x
The "spread VMs across GPUs" policy applies exclusively when a system has multiple devices configured in vGPU time-sliced sameSize mode.
It does not apply to devices in mixedSize or MIG mode.
This design is necessary to minimize hardware fragmentation during placement by the Assignable Hardware component.
1. Acknowledge that this is expected behavior when vGPU is configured in mixedSize or MIG mode.
2. Note that the ESXi host configuration "Spread VMs across GPUs" is intentionally bypassed and not used when the device is in mixedSize or MIG mode.
3. To successfully utilize the "Spread VMs across GPUs" option, you must configure the environment to use time-sliced Same-Size vGPU Mode.