quantkv will not trigger if fa is off or ctx shift is on

This commit is contained in:
Concedo 2024-06-03 19:14:22 +08:00
parent 94753ad103
commit a541a3d509

View file

@ -2432,7 +2432,10 @@ def show_new_gui():
args.foreground = keepforeground.get()==1
args.quiet = quietmode.get()==1
args.nocertify = nocertifymode.get()==1
args.quantkv = quantkv_var.get()
if contextshift.get()==0 and flashattention.get()==1:
args.quantkv = quantkv_var.get()
else:
args.quantkv = 0
gpuchoiceidx = 0
if gpu_choice_var.get()!="All":