Skip to content

modified detection of pci bus id's to account for baremetal machines have a different format

Simon Michnowicz requested to merge different_pci_id into master

Baremetal machines have a different pci bus id i.e. for baremetal nvidia-smi --query-gpu=pci.bus_id --format=csv,noheader 00000000:06:00.0 for vms nvidia-smi --query-gpu=pci.bus_id --format=csv,noheader 00000000:00:07.0 This causes this file to break as it parses on column number. This code checks one way, then tries the second, then exits if it fails. Checked on ge00 and gf00. Should not break anything..

Merge request reports

Loading