Skip to content

Commit b050da0

Browse files
committed
fix
1 parent 9f7dfe8 commit b050da0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/diffusers/models/attention_processor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,10 +1480,8 @@ def __call__(
14801480

14811481
query = attn.to_q(hidden_states)
14821482

1483-
apply_rotary_emb_on_key = False
14841483
if encoder_hidden_states is None:
14851484
encoder_hidden_states = hidden_states
1486-
apply_rotary_emb_on_key = True
14871485
elif attn.norm_cross:
14881486
encoder_hidden_states = attn.norm_encoder_hidden_states(encoder_hidden_states)
14891487

0 commit comments

Comments
 (0)