Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bethune-bryant committed Jul 29, 2024
1 parent 5b229f8 commit 3c1a744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpustat/rocml.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def nvmlDeviceGetComputeRunningProcesses(dev):
def nvmlDeviceGetGraphicsRunningProcesses(dev):
return None

# Upon importing this module, let pynvml be initialized and remain active
# Upon importing this module, let rocml be initialized and remain active
# throughout the lifespan of the python process (until gpustat exists).
_initialized: bool
_init_error = None
Expand All @@ -95,7 +95,7 @@ def _shutdown():
rocml.smi_shutdown()
atexit.register(_shutdown)

except pynvml.NVMLError as exc:
except Exception as exc:
_initialized = False
_init_error = exc

Expand Down

0 comments on commit 3c1a744

Please sign in to comment.