fix: gpu - typo in exception name

P.S Discovered and fixed after 6 yrs :)
pull/2396/head
Bharath Vignesh J K 2023-05-14 02:10:26 +05:30
parent 6bd7c067f5
commit bce5d7e6df
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ def get_device_name(device_handle):
"""Get GPU device name."""
try:
return nativestr(pynvml.nvmlDeviceGetName(device_handle))
except pynvml.NVMlError:
except pynvml.NVMLError:
return "NVIDIA"