From 2586a182185b1f6d7b2ffcf7579b547a9e723aaf Mon Sep 17 00:00:00 2001 From: Disty0 Date: Sun, 18 Aug 2024 13:18:17 +0300 Subject: [PATCH] Don't add 0.1 to the GPU memory --- modules/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shared.py b/modules/shared.py index cd136689c..852db5a2d 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -359,7 +359,7 @@ cpu_memory = psutil.virtual_memory().total / 1024 / 1024 / 1024 mem_stat = memory_stats() if "gpu" in mem_stat: - gpu_memory = mem_stat['gpu']['total'] + 0.1 + gpu_memory = mem_stat['gpu']['total'] if not (cmd_opts.lowvram or cmd_opts.medvram): if "gpu" in mem_stat: