ComfyUI > Nodes > ComfyUI > SamplingPercentToSigma

ComfyUI Node: SamplingPercentToSigma

Class Name

SamplingPercentToSigma

Category
sampling/custom_sampling/sigmas
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 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

SamplingPercentToSigma Description

Convert sampling percentage to sigma for AI noise reduction, precise control, and interval checks.

SamplingPercentToSigma:

The SamplingPercentToSigma node is designed to convert a given sampling percentage into a sigma value, which is a crucial parameter in various sampling and noise reduction processes within AI models. This node is particularly useful in scenarios where you need to map a percentage of a process or a dataset to a corresponding sigma value, which can then be used to control the level of noise or detail in the output. By providing a flexible way to interpret sampling percentages, this node allows for more precise control over the sampling process, enhancing the quality and accuracy of the results. The node also offers an option to return the actual sigma value used in interval checks, which can be particularly useful for edge cases where the sampling percentage is at its minimum or maximum.

SamplingPercentToSigma Input Parameters:

model

This parameter represents the model object that contains the necessary methods and data for converting a sampling percentage to a sigma value. It is essential for the node's operation as it provides the context and functions required to perform the conversion accurately.

sampling_percent

This parameter specifies the percentage of the sampling process you wish to convert into a sigma value. It ranges from 0.0 to 1.0, with a default value of 0.0. The sampling_percent determines the position within the sampling range, where 0.0 corresponds to the maximum sigma value and 1.0 corresponds to the minimum sigma value. Adjusting this parameter allows you to control the level of detail or noise in the output.

return_actual_sigma

This boolean parameter, with a default value of False, determines whether the node should return the actual sigma value used for interval checks at the extreme ends of the sampling percentage range. When set to True, if the sampling_percent is 0.0, the node returns the maximum sigma value, and if it is 1.0, it returns the minimum sigma value. This option is useful for ensuring that the returned sigma value accurately reflects the intended sampling conditions at the boundaries.

SamplingPercentToSigma Output Parameters:

sigma_value

This output parameter provides the sigma value corresponding to the given sampling percentage. The sigma value is a floating-point number that represents the level of noise or detail in the sampling process. It is crucial for controlling the characteristics of the output, allowing for fine-tuning of the sampling process to achieve the desired results.

SamplingPercentToSigma Usage Tips:

  • Use the sampling_percent parameter to fine-tune the level of detail or noise in your output. A lower percentage will result in higher sigma values, which can be useful for reducing noise in the initial stages of processing.
  • Consider setting return_actual_sigma to True when working with edge cases where the sampling percentage is exactly 0.0 or 1.0, to ensure that the sigma value accurately reflects the intended conditions.

SamplingPercentToSigma Common Errors and Solutions:

Invalid sampling_percent value

  • Explanation: The sampling_percent value must be between 0.0 and 1.0. Values outside this range are not valid and will cause errors.
  • Solution: Ensure that the sampling_percent value is within the valid range by checking and adjusting it before passing it to the node.

Model object not provided

  • Explanation: The node requires a valid model object to perform the conversion from sampling percentage to sigma.
  • Solution: Make sure to provide a valid model object that includes the necessary methods and data for the conversion process.

SamplingPercentToSigma Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
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 Models, enabling artists to harness the latest AI tools to create incredible art.

SamplingPercentToSigma