Skip to content

Commit 792746b

Browse files
junqiangwuyiyixuxu
andauthored
Update src/diffusers/models/transformers/transformer_longcat_image.py
Co-authored-by: YiYi Xu <[email protected]>
1 parent 07a78ce commit 792746b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/diffusers/models/transformers/transformer_longcat_image.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,6 @@ def forward(
497497
hidden_states = self.x_embedder(hidden_states)
498498

499499
timestep = timestep.to(hidden_states.dtype) * 1000
500-
if guidance is not None:
501-
guidance = guidance.to(hidden_states.dtype) * 1000
502-
else:
503-
guidance = None
504500

505501
temb = self.time_embed( timestep, hidden_states.dtype )
506502
encoder_hidden_states = self.context_embedder(encoder_hidden_states)

0 commit comments

Comments
 (0)