mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
undo cli
This commit is contained in:
@@ -44,7 +44,6 @@ def get_memory():
|
||||
mem.update({ 'ram': e })
|
||||
try:
|
||||
import torch
|
||||
from modules import shared
|
||||
if torch.cuda.is_available():
|
||||
s = torch.cuda.mem_get_info()
|
||||
gpu = { 'free': gb(s[0]), 'used': gb(s[1] - s[0]), 'total': gb(s[1]) }
|
||||
|
||||
Reference in New Issue
Block a user