Skip to content

Commit 0eb2bd0

Browse files
committed
Update pipeline_pag_controlnet_sd_img2img.py
1 parent 20b2e29 commit 0eb2bd0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/diffusers/pipelines/pag/pipeline_pag_controlnet_sd_img2img.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,14 +1337,6 @@ def __call__(
13371337

13381338
latents = callback_outputs.pop("latents", latents)
13391339
prompt_embeds = callback_outputs.pop("prompt_embeds", prompt_embeds)
1340-
negative_prompt_embeds = callback_outputs.pop("negative_prompt_embeds", negative_prompt_embeds)
1341-
add_text_embeds = callback_outputs.pop("add_text_embeds", add_text_embeds)
1342-
negative_pooled_prompt_embeds = callback_outputs.pop(
1343-
"negative_pooled_prompt_embeds", negative_pooled_prompt_embeds
1344-
)
1345-
add_time_ids = callback_outputs.pop("add_time_ids", add_time_ids)
1346-
add_neg_time_ids = callback_outputs.pop("add_neg_time_ids", add_neg_time_ids)
1347-
13481340
# call the callback, if provided
13491341
if i == len(timesteps) - 1 or ((i + 1) > num_warmup_steps and (i + 1) % self.scheduler.order == 0):
13501342
progress_bar.update()

0 commit comments

Comments
 (0)