Visit ComfyUI Online for ready-to-use ComfyUI environment
Neutralizes unconditional conditioning to maintain model prediction integrity by setting it to zero.
The "Pre CFG uncond zero" node is designed to handle scenarios where the unconditional (uncond) conditioning in a model does not generate any meaningful output. This node ensures that the unconditional conditioning is set to zero, effectively neutralizing its influence when it is not contributing to the model's predictions. This can be particularly useful in cases where the unconditional conditioning might otherwise introduce noise or unwanted artifacts into the generated output. By zeroing out the unconditional conditioning, the node helps maintain the integrity and quality of the model's predictions, ensuring that only the relevant conditional information is used.
This parameter specifies the model to which the node will be applied. It is essential for the node to know which model it is working with to correctly apply the zeroing of the unconditional conditioning. The model parameter ensures that the node can access and modify the necessary components of the model to achieve its intended function.
This parameter determines the method used to handle the unconditional conditioning. The available options are "from cond" and "divide by CFG". The "from cond" method sets the unconditional conditioning to be the same as the conditional conditioning, while the "divide by CFG" method scales the conditional conditioning by the CFG (Classifier-Free Guidance) scale. This parameter allows you to choose the most appropriate method for your specific use case, ensuring that the unconditional conditioning is handled in a way that best suits your needs.
The output of this node is the modified model with the unconditional conditioning set to zero. This ensures that the model's predictions are not influenced by any irrelevant or non-contributory unconditional conditioning, leading to cleaner and more accurate outputs. The modified model retains all its original functionalities, with the added benefit of improved handling of unconditional conditioning.
© Copyright 2024 RunComfy. All Rights Reserved.