"...ldm/git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "cf5ae469283283973466f33ebee9b873b44e44d2"
Commit 8903dce8 authored by comfyanonymous's avatar comfyanonymous
Browse files

This can be removed since PAG doesn't use the uncond.

parent 719fb2c8
...@@ -47,7 +47,7 @@ class PerturbedAttentionGuidance: ...@@ -47,7 +47,7 @@ class PerturbedAttentionGuidance:
return cfg_result + (cond_pred - pag) * scale 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,) return (m,)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment