mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
+1
-1
@@ -21,7 +21,7 @@ def get_gpu_smi():
|
||||
if device is None:
|
||||
try:
|
||||
device = torch.cuda.get_device_name(torch.cuda.current_device())
|
||||
log.info(f'GPU monitoring: device={device}')
|
||||
log.info(f'GPU monitoring: device="{device}"')
|
||||
except Exception:
|
||||
device = ''
|
||||
# per vendor modules
|
||||
|
||||
Reference in New Issue
Block a user