From 185b796991e6ae8f71c03fea826581f0799ce9b4 Mon Sep 17 00:00:00 2001 From: Disty0 Date: Sun, 30 Apr 2023 18:37:58 +0300 Subject: [PATCH] undo cli --- cli/modules/util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/modules/util.py b/cli/modules/util.py index 5ab9dee6b..479b77233 100755 --- a/cli/modules/util.py +++ b/cli/modules/util.py @@ -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]) }