Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
bethune-bryant committed Aug 5, 2024
1 parent bf1a00a commit 6b731eb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions gpustat/rocml.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
+ str(e)
+ """
Your pynvml installation: """
Your amdsmi installation: """
+ repr(_amdsmi)
+ """
Expand Down Expand Up @@ -165,11 +165,8 @@ def nvmlDeviceGetEnforcedPowerLimit(dev):


def nvmlDeviceGetComputeRunningProcesses(dev):
try:
results = amdsmi_get_gpu_process_list(dev)
return [ComputeProcess(pid=x.pid, usedGpuMemory=x.mem) for x in results]
except Exception:
return []
results = amdsmi_get_gpu_process_list(dev)
return [ComputeProcess(pid=x.pid, usedGpuMemory=x.mem) for x in results]


def nvmlDeviceGetGraphicsRunningProcesses(dev):
Expand Down

0 comments on commit 6b731eb

Please sign in to comment.