From 994427d3c811f29fa47443a078eb5a89c22cf204 Mon Sep 17 00:00:00 2001 From: LostRuins Concedo <39025047+LostRuins@users.noreply.github.com> Date: Mon, 10 Nov 2025 18:13:15 +0800 Subject: [PATCH] linting --- koboldcpp.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/koboldcpp.py b/koboldcpp.py index 5a621185d..16b0d33aa 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -1361,7 +1361,6 @@ def fetch_gpu_properties(testCL,testCU,testVK,testmemory=False): gpumem_ignore_limit_max = 1024*1024*1024*300 #300 gb max if testCU: - cumem, freecumem = detect_memory_cu(gpumem_ignore_limit_min, gpumem_ignore_limit_max) MaxMemory[0] = max(cumem,MaxMemory[0]) MaxFreeMemory[0] = max(freecumem,MaxFreeMemory[0]) @@ -1369,14 +1368,12 @@ def fetch_gpu_properties(testCL,testCU,testVK,testmemory=False): print(f'detected CUDA memory: {cumem/(1024*1024)} MB, {freecumem/(1024*102)} MB free') if testVK: - vkmem = detect_memory_vk(gpumem_ignore_limit_min, gpumem_ignore_limit_max) MaxMemory[0] = max(vkmem,MaxMemory[0]) if testmemory: print(f'detected Vulkan memory: {vkmem/(1024*1024)} MB') if testCL: - clmem = detect_memory_cl(gpumem_ignore_limit_min, gpumem_ignore_limit_max) MaxMemory[0] = max(clmem,MaxMemory[0]) if testmemory: