From 0e31f53422bc60bf1f99a457a0c9df178aece876 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:14:11 +0800 Subject: [PATCH] Revert "lowvram var defaults" This reverts commit 7a691522a696247c0f1d291c4aa5fc3bb6ac81cc. --- koboldcpp.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/koboldcpp.py b/koboldcpp.py index 8e24ed964..e8d7e029a 100755 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -1104,7 +1104,7 @@ def show_new_gui(): keepforeground = ctk.IntVar() quietmode = ctk.IntVar(value=0) - lowvram_var = ctk.IntVar(value=1) + lowvram_var = ctk.IntVar() mmq_var = ctk.IntVar(value=1) blas_threads_var = ctk.StringVar() blas_size_var = ctk.IntVar() @@ -1304,12 +1304,6 @@ def show_new_gui(): layerlimit = int(min(200,mem/sizeperlayer)) else: layerlimit = 200 #assume full offload - - if layerlimit>=200: - lowvram_var.set(0) - else: - lowvram_var.set(1) - old_gui_layers_untouched = gui_layers_untouched gui_layers_zeroed = gpulayers_var.get()=="" or gpulayers_var.get()=="0" if (gui_layers_untouched or gui_layers_zeroed) and layerlimit>0: