14 Commits

Author SHA1 Message Date
comfyanonymous
067fd83828 PerpNeg Guider optimizations. (#8753) 2025-07-01 03:09:07 -04:00
chaObserv
f4817e27e0 Perpneg guider with updated pre and post-cfg (#8698) 2025-06-28 18:13:13 -04:00
comfyanonymous
014c90584e Fix and enforce no trailing whitespace. 2024-12-31 03:16:37 -05:00
comfyanonymous
5ff702f0bf Remove some trailing white space. 2024-12-27 18:02:30 -05:00
comfyanonymous
7549d3c2b6 Set some nodes as DEPRECATED. 2024-09-12 20:27:07 -04:00
Peter Crabtree
b94c4779d3 Fix to allow use of PerpNegGuider with cfg_function_post hooks (like PAG) (#3618) 2024-06-01 12:36:08 -04:00
comfyanonymous
1d7643bb4b Implement PerpNeg as a guider. 2024-04-16 02:57:34 -04:00
comfyanonymous
b14fe05bf2 Fix PerpNeg node. 2024-04-05 11:46:54 -04:00
comfyanonymous
1ba93001e4 Refactor calc_cond_uncond_batch into calc_cond_batch.
calc_cond_batch can take an arbitrary amount of cond inputs.

Added a calc_cond_uncond_batch wrapper with a warning so custom nodes
won't break.
2024-04-01 18:07:47 -04:00
comfyanonymous
a93b7f0c46 Fix neg scale step. 2024-03-18 15:51:23 -04:00
feffy380
a5a21e526e Fix Perp-Neg math
adjust perp-neg implementation to match the paper
2024-02-21 10:33:03 +01:00
comfyanonymous
f345c77b3d Fix perpneg not working on SDXL. 2023-12-16 02:30:16 -05:00
comfyanonymous
291643cde3 Make perp neg take a conditioning input instead of a CLIP one. 2023-12-15 14:40:57 -05:00
Hari
72500f183b Implement Perp-Neg 2023-12-16 00:28:16 +05:30