Don't add 0.1 to the GPU memory

This commit is contained in:
Disty0
2024-08-18 13:18:17 +03:00
parent 5e1da44bba
commit 2586a18218
+1 -1
View File
@@ -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: