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
chenpangpang
ComfyUI
Commits
8903dce8
"llama/vscode:/vscode.git/clone" did not exist on "d0cf6c82811c2268a396888347ff95087a618d56"
Commit
8903dce8
authored
Apr 15, 2024
by
comfyanonymous
Browse files
This can be removed since PAG doesn't use the uncond.
parent
719fb2c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy_extras/nodes_pag.py
comfy_extras/nodes_pag.py
+1
-1
No files found.
comfy_extras/nodes_pag.py
View file @
8903dce8
...
...
@@ -47,7 +47,7 @@ class PerturbedAttentionGuidance:
return
cfg_result
+
(
cond_pred
-
pag
)
*
scale
m
.
set_model_sampler_post_cfg_function
(
post_cfg_function
,
disable_cfg1_optimization
=
True
)
m
.
set_model_sampler_post_cfg_function
(
post_cfg_function
)
return
(
m
,)
...
...
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