You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LEP-3777] feat(nvidia): add --nvml-device-get-devices-error flag for testing NVML init failures (#1196)
This adds a hidden testing flag to simulate Device().GetDevices()
failures,
enabling integration testing of the erroredInstance path introduced in:
#1180
The flag simulates the "Unable to determine the device handle for GPU:
Unknown Error"
scenario that occurs when NVML loads but device enumeration fails (e.g.,
Xid 79).
When enabled, gpud continues running but all nvidia components report
unhealthy.
Signed-off-by: Gyuho Lee <gyuhol@nvidia.com>
Signed-off-by: Gyuho Lee <gyuhol@nvidia.com>
Usage: "(testing purposes) set the comma-separated gpu uuids to return GPU fabric health summary unhealthy (nvml.GPU_FABRIC_HEALTH_SUMMARY_UNHEALTHY). NOTE: Only works on multi-GPU NVSwitch systems (H100-SXM, H200-SXM, GB200). Ignored on PCIe variants and single-GPU systems.",
301
301
Hidden: true, // only for testing
302
302
},
303
+
cli.BoolFlag{
304
+
Name: "nvml-device-get-devices-error",
305
+
Usage: "(testing purposes) simulate NVML Device().GetDevices() failure returning 'Unable to determine the device handle for GPU: Unknown Error'. Use to test gpud behavior when NVML loads but device enumeration fails (e.g., Xid 79).",
0 commit comments