Skip to content

Commit d49cbc9

Browse files
Update src/diffusers/pipelines/pag/pipeline_pag_sd_3_img2img.py
Co-authored-by: Vinh H. Pham <[email protected]>
1 parent 6ed9607 commit d49cbc9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/diffusers/pipelines/pag/pipeline_pag_sd_3_img2img.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -958,9 +958,6 @@ def __call__(
958958
generator,
959959
)
960960

961-
num_warmup_steps = max(len(timesteps) - num_inference_steps * self.scheduler.order, 0)
962-
self._num_timesteps = len(timesteps)
963-
964961
if self.do_perturbed_attention_guidance:
965962
original_attn_proc = self.transformer.attn_processors
966963
self._set_pag_attn_processor(

0 commit comments

Comments
 (0)