Skip to content

Commit aa003f2

Browse files
committed
1 parent 19f1b4b commit aa003f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/transformers/transformer_skyreels_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def apply_rotary_emb(
123123
query = apply_rotary_emb(query, *rotary_emb)
124124
key = apply_rotary_emb(key, *rotary_emb)
125125

126-
if not self.attn.is_cross_attention:
126+
if not attn.is_cross_attention:
127127
attention_backend = "_native_flash"
128128
else:
129129
attention_backend = "flash_varlen"

0 commit comments

Comments
 (0)