ComfyUI  >  Nodes  >  ComfyUI >  SplitSigmas

ComfyUI Node: SplitSigmas

Class Name

SplitSigmas

Category
sampling/custom_sampling/sigmas
Author
ComfyAnonymous (Account age: 598 days)
Extension
ComfyUI
Latest Updated
8/12/2024
Github Stars
45.9K

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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

SplitSigmas Description

Divide sigma values into high and low segments for tailored processing in sampling workflows.

SplitSigmas:

The SplitSigmas node is designed to divide a sequence of sigma values into two distinct parts based on a specified step. This node is particularly useful in the context of sampling processes where you need to separate the sigma values into high and low segments for further processing. By splitting the sigma values, you can apply different operations or analyses to each segment, enhancing the flexibility and control over your sampling workflow. This node is essential for tasks that require precise manipulation of sigma sequences, enabling more refined and targeted adjustments in your AI art generation process.

SplitSigmas Input Parameters:

sigmas

The sigmas parameter represents the sequence of sigma values that you want to split. These values are typically used in sampling processes and can influence the quality and characteristics of the generated output. The sigmas parameter does not have a default value as it is expected to be provided by the user.

step

The step parameter determines the point at which the sigma sequence will be split. It specifies the index in the sigma sequence where the division occurs. The values before and including this index will form the high sigma segment, while the values from this index onwards will form the low sigma segment. The step parameter has a default value of 0, with a minimum value of 0 and a maximum value of 10000. Adjusting this parameter allows you to control the proportion of sigma values in each segment, impacting the subsequent processing steps.

SplitSigmas Output Parameters:

high_sigmas

The high_sigmas output parameter contains the segment of sigma values from the start of the sequence up to and including the specified step. This segment is referred to as the high sigma segment and can be used for operations that require the initial portion of the sigma sequence. The values in this segment are crucial for tasks that depend on the early stages of the sampling process.

low_sigmas

The low_sigmas output parameter contains the segment of sigma values from the specified step onwards. This segment is referred to as the low sigma segment and is useful for operations that focus on the latter part of the sigma sequence. The values in this segment are essential for tasks that rely on the later stages of the sampling process.

SplitSigmas Usage Tips:

  • To achieve a balanced split of sigma values, set the step parameter to approximately half the length of the sigma sequence.
  • Use the high_sigmas segment for initial processing steps that require higher sigma values and the low_sigmas segment for final adjustments or refinements.

SplitSigmas Common Errors and Solutions:

IndexError: index out of range

  • Explanation: This error occurs when the step parameter is set to a value greater than the length of the sigma sequence.
  • Solution: Ensure that the step parameter is within the valid range of the sigma sequence indices.

TypeError: expected Tensor as input

  • Explanation: This error occurs when the sigmas parameter is not provided as a tensor.
  • Solution: Make sure to input the sigma values as a tensor to avoid this error.

SplitSigmas Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.