revert default cross attention optimization to Doggettx

make --disable-opt-split-attention command line option work again
This commit is contained in:
AUTOMATIC
2023-06-01 08:12:06 +03:00
parent 17a66931da
commit 3ee1238630
3 changed files with 6 additions and 4 deletions

View File

@@ -68,6 +68,8 @@ def apply_optimizations():
if selection == "None":
matching_optimizer = None
elif selection == "Automatic" and shared.cmd_opts.disable_opt_split_attention:
matching_optimizer = None
elif matching_optimizer is None:
matching_optimizer = optimizers[0]