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")