dev: CMP170 debug
This commit is contained in:
parent
bbd4c669a2
commit
351bc269d1
|
@ -291,6 +291,8 @@ def get_gpu_info():
|
|||
"mem_used": parts[12]
|
||||
}
|
||||
|
||||
print(xl_gpu_info)
|
||||
|
||||
try:
|
||||
pci_query = parts[2][parts[2].find(':')+1:]
|
||||
for index, valid_pci_dev in enumerate(valid_pci_dev_list):
|
||||
|
@ -320,6 +322,8 @@ def get_gpu_info():
|
|||
gpu_mem = round(int(filter_non_numeric(parts[4]).strip())/1024, 2)
|
||||
except Exception as e:
|
||||
nvml_err=True
|
||||
print("err2")
|
||||
print(e)
|
||||
pass
|
||||
else:
|
||||
nvml_err=True
|
||||
|
|
Loading…
Reference in New Issue