9 Commits (main)

Author SHA1 Message Date
Peter Crabtree e2c585f3be
Fix to allow use of PerpNegGuider with cfg_function_post hooks (like PAG) (#3618) 9 months ago
comfyanonymous 45ec1cbe96 Implement PerpNeg as a guider. 10 months ago
comfyanonymous ea9ac9d30b Fix PerpNeg node. 11 months ago
comfyanonymous e6482fbbfc 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.
11 months ago
comfyanonymous 0b78213bda Fix neg scale step. 11 months ago
feffy380 820807c8ed
Fix Perp-Neg math
adjust perp-neg implementation to match the paper
1 year ago
comfyanonymous 574efd3782 Fix perpneg not working on SDXL. 1 year ago
comfyanonymous 9cad2f06ff Make perp neg take a conditioning input instead of a CLIP one. 1 year ago
Hari 574363a8a6 Implement Perp-Neg 1 year ago