ComfyUI > Nodes > ComfyUi-RescaleCFGAdvanced > RescaleCFGAdvanced

ComfyUI Node: RescaleCFGAdvanced

Class Name

RescaleCFGAdvanced

Category
advanced/model
Author
BigStationW (Account age: 8days)
Extension
ComfyUi-RescaleCFGAdvanced
Latest Updated
2025-05-07
Github Stars
0.02K

How to Install ComfyUi-RescaleCFGAdvanced

Install this extension via the ComfyUI Manager by searching for ComfyUi-RescaleCFGAdvanced
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUi-RescaleCFGAdvanced in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

RescaleCFGAdvanced Description

Enhances control and flexibility of conditional generation processes in AI models through advanced rescaling of classifier-free guidance.

RescaleCFGAdvanced:

The RescaleCFGAdvanced node is designed to enhance the control and flexibility of conditional generation processes in AI models. It provides an advanced method for rescaling the classifier-free guidance (CFG) during model inference, which is crucial for balancing the influence of conditional and unconditional inputs. This node is particularly beneficial for AI artists who want to fine-tune the output of generative models by adjusting the strength of the guidance signal. By rescaling the CFG, the node helps in achieving more nuanced and precise outputs, allowing for greater artistic expression and control over the generated content. The primary goal of this node is to offer a sophisticated mechanism to modulate the guidance scale dynamically, ensuring that the model's output aligns more closely with the desired artistic vision.

RescaleCFGAdvanced Input Parameters:

model

The model parameter represents the AI model that will undergo the rescaling process. It is essential as it serves as the foundation upon which the rescaling operations are applied. This parameter is crucial for ensuring that the rescaling logic is correctly integrated into the model's inference process. The model must be compatible with the rescaling function to achieve the desired output adjustments.

multiplier

The multiplier parameter is a floating-point value that determines the extent to which the rescaling is applied. It plays a critical role in balancing the original and rescaled outputs, allowing for fine-tuning of the guidance effect. The multiplier has a default value of 0.7, with a minimum of 0.0 and a maximum of 1.0, adjustable in steps of 0.01. A higher multiplier increases the influence of the rescaled output, while a lower value retains more of the original guidance effect.

RescaleCFGAdvanced Output Parameters:

MODEL

The output parameter MODEL is the modified AI model that incorporates the rescaled CFG function. This output is significant as it represents the model ready for inference with the adjusted guidance scale, enabling more controlled and refined generation results. The rescaled model is expected to produce outputs that better reflect the intended artistic direction, thanks to the dynamic adjustment of the guidance scale.

RescaleCFGAdvanced Usage Tips:

  • Experiment with different multiplier values to find the optimal balance between the original and rescaled outputs for your specific artistic needs.
  • Use the RescaleCFGAdvanced node when you require more control over the guidance scale, especially in scenarios where the default CFG settings do not produce satisfactory results.

RescaleCFGAdvanced Common Errors and Solutions:

Missing critical args. Cannot proceed.

  • Explanation: This error occurs when essential arguments such as cond, uncond, cond_scale, or current_sigma_tensor are missing or not properly provided to the node.
  • Solution: Ensure that all required arguments are correctly passed to the node. Double-check the input parameters and their values to confirm they are not None or empty.

'sample_sigmas' not found in args['model_options']['transformer_options'].

  • Explanation: This warning indicates that the sample_sigmas parameter is missing from the model options, which may affect the rescaling process.
  • Solution: Verify that the sample_sigmas parameter is included in the model's transformer options. If not, consider adjusting the model configuration to include this parameter for optimal rescaling performance.

RescaleCFGAdvanced Related Nodes

Go back to the extension to check out more related nodes.
ComfyUi-RescaleCFGAdvanced
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.