File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -594,10 +594,6 @@ def __call__(
594594
595595 latents = callback_outputs .pop ("latents" , latents )
596596 prompt_embeds = callback_outputs .pop ("prompt_embeds" , prompt_embeds )
597- negative_prompt_embeds = callback_outputs .pop ("negative_prompt_embeds" , negative_prompt_embeds )
598- negative_pooled_prompt_embeds = callback_outputs .pop (
599- "negative_pooled_prompt_embeds" , negative_pooled_prompt_embeds
600- )
601597
602598 # call the callback, if provided
603599 if i == len (timesteps ) - 1 or ((i + 1 ) > num_warmup_steps and (i + 1 ) % self .scheduler .order == 0 ):
Original file line number Diff line number Diff line change @@ -905,10 +905,6 @@ def __call__(
905905
906906 latents = callback_outputs .pop ("latents" , latents )
907907 prompt_embeds = callback_outputs .pop ("prompt_embeds" , prompt_embeds )
908- negative_prompt_embeds = callback_outputs .pop ("negative_prompt_embeds" , negative_prompt_embeds )
909- negative_pooled_prompt_embeds = callback_outputs .pop (
910- "negative_pooled_prompt_embeds" , negative_pooled_prompt_embeds
911- )
912908
913909 if XLA_AVAILABLE :
914910 xm .mark_step ()
You can’t perform that action at this time.
0 commit comments