Skip to content

Commit 1f5373a

Browse files
committed
update.
1 parent f576dc1 commit 1f5373a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/attention_dispatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ def _flash_attention_hub(
774774
deterministic=deterministic,
775775
return_attn_probs=return_attn_probs,
776776
)
777-
return out
777+
return out(out[0], out[1]) if return_attn_probs else out
778778

779779

780780
@_AttentionBackendRegistry.register(

0 commit comments

Comments
 (0)