ComfyUI  >  Nodes  >  ComfyUI-sampler-lcm-alternative >  SamplerLCMCycle

ComfyUI Node: SamplerLCMCycle

Class Name

SamplerLCMCycle

Category
sampling/custom_sampling/samplers
Author
jojkaart (Account age: 4799 days)
Extension
ComfyUI-sampler-lcm-alternative
Latest Updated
5/22/2024
Github Stars
0.1K

How to Install ComfyUI-sampler-lcm-alternative

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

SamplerLCMCycle Description

Flexible AI art sampling with Euler and LCM steps for diverse image generation.

SamplerLCMCycle:

The SamplerLCMCycle node is designed to provide a flexible and customizable sampling method for AI-generated art. This node leverages a combination of Euler and Least Common Multiple (LCM) steps to create a unique sampling cycle that can enhance the quality and diversity of generated images. By adjusting parameters such as the number of Euler and LCM steps, tweaking sigma values, and incorporating ancestral noise, you can fine-tune the sampling process to achieve desired artistic effects. This node is particularly useful for artists looking to experiment with different sampling techniques to produce varied and high-quality outputs.

SamplerLCMCycle Input Parameters:

euler_steps

This parameter defines the number of Euler steps to be used in each cycle. Euler steps are a part of the sampling process that helps in refining the generated image. Increasing the number of Euler steps can lead to more detailed and accurate results. The minimum value is 1, the maximum value is 50, and the default value is 1.

lcm_steps

This parameter specifies the number of LCM steps to be used in each cycle. LCM steps work in conjunction with Euler steps to create a balanced sampling process. Adjusting the number of LCM steps can influence the overall quality and style of the generated image. The minimum value is 1, the maximum value is 50, and the default value is 2.

tweak_sigmas

This boolean parameter allows you to enable or disable the tweaking of sigma values during the sampling process. When enabled, it can help in fine-tuning the noise levels, leading to different artistic effects. The default value is False.

ancestral

This parameter controls the amount of ancestral noise to be added during the sampling process. Ancestral noise can introduce variations and randomness, which can be useful for creating unique and diverse outputs. The value ranges from 0.0 to 1.0, with a default value of 0.0. The step size is 0.01, allowing for precise adjustments.

SamplerLCMCycle Output Parameters:

SAMPLER

The output of this node is a SAMPLER object, which encapsulates the customized sampling process defined by the input parameters. This sampler can be used in subsequent nodes to generate images based on the specified sampling cycle, providing a flexible and powerful tool for AI art creation.

SamplerLCMCycle Usage Tips:

  • Experiment with different combinations of euler_steps and lcm_steps to find the optimal balance for your specific artistic needs.
  • Enable tweak_sigmas if you want to explore subtle variations in noise levels and achieve unique artistic effects.
  • Adjust the ancestral parameter to introduce more or less randomness into your generated images, depending on the desired level of variation.

SamplerLCMCycle Common Errors and Solutions:

ValueError: euler_steps must be between 1 and 50

  • Explanation: This error occurs when the euler_steps parameter is set outside the allowed range.
  • Solution: Ensure that the euler_steps value is within the range of 1 to 50.

ValueError: lcm_steps must be between 1 and 50

  • Explanation: This error occurs when the lcm_steps parameter is set outside the allowed range.
  • Solution: Ensure that the lcm_steps value is within the range of 1 to 50.

TypeError: tweak_sigmas must be a boolean

  • Explanation: This error occurs when the tweak_sigmas parameter is not set to a boolean value.
  • Solution: Set the tweak_sigmas parameter to either True or False.

ValueError: ancestral must be between 0.0 and 1.0

  • Explanation: This error occurs when the ancestral parameter is set outside the allowed range.
  • Solution: Ensure that the ancestral value is within the range of 0.0 to 1.0.

SamplerLCMCycle Related Nodes

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