From 480fb357a3fc38599766d2b7a443be862f964e9d Mon Sep 17 00:00:00 2001 From: Leo Jiang Date: Tue, 12 Aug 2025 10:42:19 -0600 Subject: [PATCH] [Bugfix] typo fix in NPU FA (#12129) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Bugfix] typo error in npu FA Co-authored-by: J石页 Co-authored-by: Aryan --- src/diffusers/models/attention_dispatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diffusers/models/attention_dispatch.py b/src/diffusers/models/attention_dispatch.py index c00ec7dd6e..7cc30e47ab 100644 --- a/src/diffusers/models/attention_dispatch.py +++ b/src/diffusers/models/attention_dispatch.py @@ -944,7 +944,7 @@ def _native_npu_attention( pse=None, scale=1.0 / math.sqrt(query.shape[-1]) if scale is None else scale, pre_tockens=65536, - next_tokens=65536, + next_tockens=65536, keep_prob=1.0 - dropout_p, sync=False, inner_precise=0,