mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
This can be removed since PAG doesn't use the uncond.
This commit is contained in:
parent
719fb2c81d
commit
8903dce862
@ -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,)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user