From dd84fb541f718b800c7a112db1897d96214666ed Mon Sep 17 00:00:00 2001 From: Disty0 Date: Wed, 11 Jun 2025 21:43:48 +0300 Subject: [PATCH] Always set sdpa params --- modules/devices.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/devices.py b/modules/devices.py index 2e8dc73ce..1c35f2683 100644 --- a/modules/devices.py +++ b/modules/devices.py @@ -426,8 +426,6 @@ def override_ipex_math(): def set_sdpa_params(): try: - if opts.cross_attention_optimization != "Scaled-Dot-Product": - return try: global sdpa_original # pylint: disable=global-statement if sdpa_original is not None: