Run ComfyUI Easily with InstaSD

Skip the complex setup. InstaSD helps creative professionals build workflows and deploy them to the world:

  • One-click deployment
  • Any model, any node
  • Powerful GPUs for rapid iteration
Get Started

Available Nodes

FlipSigmasAdjusted

FlipSigmasAdjusted Node Documentation

Overview

The FlipSigmasAdjusted node in the ComfyUI framework is a utility node designed to manipulate a sequence of sigmas through a series of operations. This node is particularly useful for tasks involving noise scheduling in diffusion models. By altering the sigmas, the node offers an additional layer of control over the noise schedule used in various stages of the model's operations.

Functionality

What It Does

The FlipSigmasAdjusted node flips the provided sequence of sigmas, applies an offset, and optionally scales the resulting values. This behavior is typically used to modify the noise schedule of a diffusion model, where adjusting sigmas can impact the progression and properties of diffusion during model processing.

Inputs

The node requires the following inputs:

  • Sigmas: This is an essential input representing the sequence of sigmas that will be processed. These values are typically derived from or used in diffusion models.

  • Divide by Last Sigma (BOOLEAN): A toggle to activate a division of the adjusted sigma values by the last sigma in the sequence. This operation normalizes the sigmas to a smaller range.

  • Divide by (FLOAT): A scalar value that is used to divide the sigmas, offering an additional way to scale down the sequence values.

  • Offset by (INT): It applies an offset to the sequence of sigmas. This determines the degree to which the sequence is moved, thus altering the effective position of each sigma in the context of the sequence.

Outputs

The node produces two outputs:

  • SIGMAS: An adjusted sequence of sigmas as a continuous tensor. This output can be directly used in subsequent processing steps that require modified noise schedules.

  • Sigmas String: A string representation of the adjusted sigmas. This string can be useful for logging, debugging, or further manipulation through text-based nodes within the workflow.

Usage

Applications in ComfyUI Workflows

The FlipSigmasAdjusted node is utilized in workflows that require advanced manipulation of noise schedules in models. It can serve multiple roles such as:

  • Normalization: Preparing noise schedules for models that require a specific range or distribution of sigmas for effective functioning.

  • Tuning Model Behavior: Adjusting model behavior where the impact of noise at various stages needs to be controlled more finely.

Example Scenario

  1. Preprocessing Step: Use the node in a preprocessing section of a workflow to adjust the sigmas feeding into a diffusion step. This prepares the model for a run where specific characteristics of noise evolution are required.

  2. Dynamic Adjustments: Implement the node as part of a workflow segment where different noise profiles are tested via configurations, providing an easy parameter adjustment without modifying the core model or workflow structure.

Special Features or Considerations

  • Versatility: The FlipSigmasAdjusted node can be combined with other nodes related to noise and diffusion for constructing custom noise schedules.

  • Fine-Grained Control: Provides both additive and multiplicative transformations which can cater to sophisticated use cases requiring precise control of noise progression in models.

  • Workflow Integration: This node can seamlessly integrate with other nodes manipulating or observing noise schedules, allowing extensive interconnectivity in ComfyUI workflows focusing on diffusion models.

In summary, the FlipSigmasAdjusted node is an essential component in advanced applications within ComfyUI, enabling tailored control over sigma sequences to achieve desired noise scheduling and model behavior modifications. Its presence enhances the flexibility and adaptability of workflows dealing with noise-dependent processes in diffusion models.