From 798f516b565c50aa910d8c6bf1161610907d212f Mon Sep 17 00:00:00 2001 From: YellowRoseCx <80486540+YellowRoseCx@users.noreply.github.com> Date: Fri, 24 May 2024 21:10:48 -0500 Subject: [PATCH] temp fix for windows --- koboldcpp.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koboldcpp.py b/koboldcpp.py index e1e8f579dd191..898e8e08b875e 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -1732,7 +1732,10 @@ def hide_tooltip(event): contextshift = ctk.IntVar(value=1) remotetunnel = ctk.IntVar(value=0) smartcontext = ctk.IntVar() - flashattention = ctk.IntVar(value=0) + if os.name == "nt": + flashattention = ctk.IntVar(value=1) + else: + flashattention = ctk.IntVar(value=0) context_var = ctk.IntVar() customrope_var = ctk.IntVar() customrope_scale = ctk.StringVar(value="1.0")