From 7694cf9bfb8d6f98f891aca0d91ceb80d1e4e0a0 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Fri, 2 May 2025 16:33:07 +0800 Subject: [PATCH] fix rope bug (+1 squashed commits) Squashed commits: [5bf69efe0] fix rope bug --- koboldcpp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koboldcpp.py b/koboldcpp.py index f817a73a8..231ef87c9 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -52,7 +52,7 @@ logit_bias_max = 512 dry_seq_break_max = 128 # global vars -KcppVersion = "1.90.1" +KcppVersion = "1.90.2" showdebug = True kcpp_instance = None #global running instance global_memory = {"tunnel_url": "", "restart_target":"", "input_to_exit":False, "load_complete":False} @@ -4849,6 +4849,8 @@ def show_gui(): args.contextsize = int(contextsize_text[context_var.get()]) if customrope_var.get()==1: args.ropeconfig = [float(customrope_scale.get()),float(customrope_base.get())] + else: + args.ropeconfig = [0.0, 10000.0] args.moeexperts = int(moeexperts_var.get()) if moeexperts_var.get()!="" else -1 args.defaultgenamt = int(defaultgenamt_var.get()) if defaultgenamt_var.get()!="" else 512 args.nobostoken = (nobostoken_var.get()==1)