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 f1533de982
commit 36888092af
3 changed files with 6 additions and 4 deletions

View File

@@ -68,6 +68,8 @@ def apply_optimizations(option=None):
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]