Skip to content

Commit 7602dd5

Browse files
lawrence-cjhlky
andcommitted
Update src/diffusers/models/transformers/sana_transformer_2d.py
Co-authored-by: hlky <[email protected]>
1 parent 6ab2d8d commit 7602dd5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/diffusers/models/transformers/sana_transformer_2d.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,9 @@ def custom_forward(*inputs):
682682
encoder_attention_mask,
683683
timestep,
684684
cross_attention_kwargs,
685-
HW=(height, width),
685+
None,
686+
added_cond_kwargs,
687+
(height, width),
686688
**ckpt_kwargs,
687689
)
688690
else:

0 commit comments

Comments
 (0)