We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f64a307 commit 49a789eCopy full SHA for 49a789e
gpustack_runtime/detector/nvidia.py
@@ -532,7 +532,7 @@ def _is_vgpu(dev_config: bytes) -> bool:
532
pos = dev_config[cap_start]
533
while pos != 0 and pos not in visited and pos < len(dev_config) - 2:
534
visited.add(pos)
535
- ptr = dev_config[pos : pos + 2] # id, next, length
+ ptr = dev_config[pos : pos + 3] # id, next, length
536
if ptr[0] == 0xFF:
537
break
538
if ptr[0] == cap_vendor_specific_id:
0 commit comments