Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
672bd495
Unverified
Commit
672bd495
authored
Dec 16, 2024
by
hlky
Committed by
GitHub
Dec 16, 2024
Browse files
Use `t` instead of `timestep` in `_apply_perturbed_attention_guidance` (#10243)
parent
ea893a9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/pipelines/pag/pipeline_pag_sana.py
src/diffusers/pipelines/pag/pipeline_pag_sana.py
+1
-1
No files found.
src/diffusers/pipelines/pag/pipeline_pag_sana.py
View file @
672bd495
...
...
@@ -840,7 +840,7 @@ class SanaPAGPipeline(DiffusionPipeline, PAGMixin):
# perform guidance
if
self
.
do_perturbed_attention_guidance
:
noise_pred
=
self
.
_apply_perturbed_attention_guidance
(
noise_pred
,
self
.
do_classifier_free_guidance
,
guidance_scale
,
t
imestep
noise_pred
,
self
.
do_classifier_free_guidance
,
guidance_scale
,
t
)
elif
self
.
do_classifier_free_guidance
:
noise_pred_uncond
,
noise_pred_text
=
noise_pred
.
chunk
(
2
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment