dev: debug hex
This commit is contained in:
parent
260ee6f18f
commit
d908fb043d
|
@ -104,8 +104,8 @@ def init(gpu_specs_file=None, allow_hive_binaries=True):
|
||||||
print(pynvml.nvmlDeviceGetName(gpu_handle))
|
print(pynvml.nvmlDeviceGetName(gpu_handle))
|
||||||
print("device_id")
|
print("device_id")
|
||||||
pci_info = pynvml.nvmlDeviceGetPciInfo(gpu_handle)
|
pci_info = pynvml.nvmlDeviceGetPciInfo(gpu_handle)
|
||||||
print(pci_info.pciDeviceId)
|
print(hex(pci_info.pciDeviceId))
|
||||||
|
|
||||||
|
|
||||||
gpu_name_list.append(pynvml.nvmlDeviceGetName(gpu_handle))
|
gpu_name_list.append(pynvml.nvmlDeviceGetName(gpu_handle))
|
||||||
if not f"{i}-{gpu_uuid}" in parsed_specs_keys:
|
if not f"{i}-{gpu_uuid}" in parsed_specs_keys:
|
||||||
|
|
Loading…
Reference in New Issue