ComfyUI > Nodes > ComfyUI-Diffusers > StreamDiffusion Warmup

ComfyUI Node: StreamDiffusion Warmup

Class Name

StreamDiffusionWarmup

Category
Diffusers/StreamDiffusion
Author
Limitex (Account age: 1276days)
Extension
ComfyUI-Diffusers
Latest Updated
2024-05-22
Github Stars
0.11K

How to Install ComfyUI-Diffusers

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

StreamDiffusion Warmup Description

Prepare and optimize diffusion stream for high-quality image generation by stabilizing initial stages for consistent results.

StreamDiffusion Warmup:

The StreamDiffusionWarmup node is designed to prepare and optimize a diffusion stream for generating high-quality images. This node is particularly useful for AI artists who want to fine-tune the initial stages of the diffusion process, ensuring that the model is adequately "warmed up" before producing the final output. By running a specified number of warmup steps, the node helps stabilize the diffusion process, potentially leading to more consistent and refined results. This can be especially beneficial when working with complex prompts or when aiming for a specific artistic style. The main goal of this node is to enhance the initial conditions of the diffusion stream, making it more robust and reliable for subsequent image generation tasks.

StreamDiffusion Warmup Input Parameters:

stream

This parameter represents the diffusion stream that will be warmed up. It is a required input and should be of type STREAM.

negative

This is a string input that allows you to specify negative prompts. Negative prompts are used to guide the model away from certain features or styles. This parameter supports multiline text, enabling you to provide detailed negative prompts.

steps

This integer parameter defines the number of inference steps for the diffusion process. The more steps you specify, the more refined the output will be. The default value is 50, with a minimum of 1 and a maximum of 10,000 steps.

cfg

This float parameter stands for "Classifier-Free Guidance" scale. It controls the strength of the guidance applied during the diffusion process. A higher value will make the model adhere more strictly to the prompts. The default value is 1.2, with a range from 0.0 to 100.0.

delta

This float parameter is used to adjust the step size during the diffusion process. It helps in fine-tuning the diffusion steps for better results. The default value is 1, with a range from 0.0 to 1.0.

seed

This integer parameter sets the random seed for the diffusion process. Using the same seed will produce the same results, making your experiments reproducible. The default value is 0, with a range from 0 to 0xffffffffffffffff.

warmup

This integer parameter specifies the number of warmup steps to run before the actual image generation. Warmup steps help stabilize the diffusion process. The default value is 1, with a minimum of 0 and a maximum of 10,000 steps.

StreamDiffusion Warmup Output Parameters:

WARMUP_STREAM

The output of this node is a warmed-up diffusion stream, denoted as WARMUP_STREAM. This stream is now optimized and ready for subsequent image generation tasks, providing a more stable and reliable starting point for producing high-quality images.

StreamDiffusion Warmup Usage Tips:

  • To achieve more consistent results, experiment with different values for the warmup parameter. Increasing the number of warmup steps can help stabilize the diffusion process, especially for complex prompts.
  • Adjust the cfg parameter to control how strictly the model follows the prompts. Higher values will make the model adhere more closely to the prompts, which can be useful for achieving specific artistic styles.

StreamDiffusion Warmup Common Errors and Solutions:

"Invalid stream type"

  • Explanation: The input provided for the stream parameter is not of type STREAM.
  • Solution: Ensure that the input for the stream parameter is a valid diffusion stream object.

"Negative prompt too long"

  • Explanation: The text provided for the negative parameter exceeds the allowed length.
  • Solution: Shorten the negative prompt text to fit within the allowed length.

"Steps out of range"

  • Explanation: The value provided for the steps parameter is outside the allowed range.
  • Solution: Ensure that the steps parameter is set between 1 and 10,000.

"CFG value out of range"

  • Explanation: The value provided for the cfg parameter is outside the allowed range.
  • Solution: Ensure that the cfg parameter is set between 0.0 and 100.0.

"Delta value out of range"

  • Explanation: The value provided for the delta parameter is outside the allowed range.
  • Solution: Ensure that the delta parameter is set between 0.0 and 1.0.

"Seed value out of range"

  • Explanation: The value provided for the seed parameter is outside the allowed range.
  • Solution: Ensure that the seed parameter is set between 0 and 0xffffffffffffffff.

"Warmup steps out of range"

  • Explanation: The value provided for the warmup parameter is outside the allowed range.
  • Solution: Ensure that the warmup parameter is set between 0 and 10,000.

StreamDiffusion Warmup Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Diffusers
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.