Skip to content

Commit 0f34f91

Browse files
hlkysayakpaul
authored andcommitted
Use t instead of timestep in _apply_perturbed_attention_guidance (#10243)
1 parent 00a8ea6 commit 0f34f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/pag/pipeline_pag_sana.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ def __call__(
840840
# perform guidance
841841
if self.do_perturbed_attention_guidance:
842842
noise_pred = self._apply_perturbed_attention_guidance(
843-
noise_pred, self.do_classifier_free_guidance, guidance_scale, timestep
843+
noise_pred, self.do_classifier_free_guidance, guidance_scale, t
844844
)
845845
elif self.do_classifier_free_guidance:
846846
noise_pred_uncond, noise_pred_text = noise_pred.chunk(2)

0 commit comments

Comments
 (0)