We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67e56e2 commit 4b3ea81Copy full SHA for 4b3ea81
library/stats.py
@@ -4,13 +4,13 @@
4
# AMD GPU on Linux
5
try:
6
import pyamdgpuinfo
7
-except ImportError:
+except:
8
pyamdgpuinfo = None
9
10
# AMD GPU on Windows
11
12
import pyadl
13
14
pyadl = None
15
16
import library.config as config
@@ -318,6 +318,7 @@ def stats():
318
temperature_all = [item.getCurrentTemperature() for item in amd_gpus]
319
temperature = sum(temperature_all) / len(temperature_all)
320
321
+ # Memory usage not supported by pyadl
322
display_gpu_stats(load, -1, -1, temperature)
323
324
@staticmethod
0 commit comments