diff --git a/pkg/nvlib/device/device.go b/pkg/nvlib/device/device.go index 024ca5c..ea3332f 100644 --- a/pkg/nvlib/device/device.go +++ b/pkg/nvlib/device/device.go @@ -222,6 +222,9 @@ func (d *device) IsFabricAttached() (bool, error) { if info.State != nvml.GPU_FABRIC_STATE_COMPLETED { return false, nil } + if info.ClusterUuid == [16]uint8{} { + return false, nil + } if nvml.Return(info.Status) != nvml.SUCCESS { return false, nil } @@ -240,6 +243,9 @@ func (d *device) IsFabricAttached() (bool, error) { if info.State != nvml.GPU_FABRIC_STATE_COMPLETED { return false, nil } + if info.ClusterUuid == [16]uint8{} { + return false, nil + } if nvml.Return(info.Status) != nvml.SUCCESS { return false, nil }