Skip to content

Commit 18cd8e4

Browse files
authored
Update src/diffusers/models/attention.py
1 parent 5eef7f1 commit 18cd8e4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/diffusers/models/attention.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@ def forward(
209209
encoder_hidden_states, emb=temb
210210
)
211211

212-
# Empty dict if None is passed
213-
if joint_attention_kwargs is None:
214-
joint_attention_kwargs = {}
215-
216212
# Attention.
217213
attn_output, context_attn_output = self.attn(
218214
hidden_states=norm_hidden_states,

0 commit comments

Comments
 (0)