15e4b6142d5e868392af0b2604d1c4a2a2c67f45
Uncond-Zero-for-ComfyUI
Allows to sample without generating any uncond with Stable Diffusion!
This doubles the generation speed while removing the control provided by the negative prompt. Yet still preserves image quality.
Note: This is a work in progress and may go through some changes!
The combination of no-uncond with a modified CLIP temperature (here set at 2) allows for more various images:
How to use:
Set your sampler CFG at 1 and connect the node like this:
Tips:
- dpmpp2m SDE seems to work best
- Nodes like the self-attention guidance making use of the uncond will not work.
- Combined with Tensort_RT you will reach new heights in terms of speed!
- I wouldn't be against some support! :)
version 3 uses a modified version of Comfy's implementation of the rescaled CFG. I recommand this one with a scale at 1.
Languages
Python
100%