efficiency-nodes-comfyui
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
Available Nodes
XY Input: Sampler/Scheduler
Documentation for the "XY Input: Sampler/Scheduler" Node
Overview
The "XY Input: Sampler/Scheduler" node is part of the Efficiency Nodes collection designed for use within ComfyUI workflows. This node facilitates the exploration and experimentation with different samplers and schedulers by systematically varying these parameters in a structured way.
Key Features
- Allows users to explore the effects of different samplers and schedulers on their workflows.
- Supports a structured approach to testing, enabling batch processing with customizable configurations.
- Can handle a combination of samplers and schedulers to assess their impact on the output of workflows.
Inputs
Required Inputs
-
target_parameter: Specifies which options to vary. It can take one of the following values:- "sampler"
- "scheduler"
- "sampler & scheduler"
-
input_count: The number of inputs to be considered. This is an integer value that determines how many different configurations of samplers and/or schedulers will be tested. -
sampler_i(whereiis a number from 1 to the value ofinput_count): Specifies the sampler to be used for that particular configuration. It can include various sampler types supported by ComfyUI. -
scheduler_i(whereiis a number from 1 to the value ofinput_count): Specifies the scheduler to be used for that particular configuration. It can include various scheduler types supported by ComfyUI.
Outputs
- XY (X or Y): This output represents the configuration chosen for the sampler(s) and/or scheduler(s). It serves as an input to another node such as an XY Plot node, which will utilize these configurations in its processing.
Usage in Workflows
The "XY Input: Sampler/Scheduler" node is particularly useful in scenarios where users want to evaluate the influence of different samplers and schedulers on a given workflow. By varying these parameters systematically, it becomes possible to better understand how each affects the rendering process and the quality of outputs.
Here’s how you might use this node in a ComfyUI workflow:
-
Preparation: Start by determining which parameters you want to test. Decide if you want to test only samplers, only schedulers, or combinations of both.
-
Configuration: Set the
target_parameterto either "sampler", "scheduler", or "sampler & scheduler", and adjust theinput_countto reflect how many configurations you wish to test. Populate the individualsamplerandschedulerfields accordingly. -
Execution: Connect this node to an XY Plot node within your ComfyUI workflow. The plot node will utilize the output from this node to generate the respective plots for each configuration, allowing for an easy comparison.
-
Analysis: Review the results from the XY Plot node to determine which samplers and schedulers yielded the best results for your specific requirements.
Special Considerations
- Undefined Sampler or Scheduler: Make sure that all entries for both samplers and schedulers are valid. If any invalid entry is detected during processing, the node might not function as expected.
- Limitations on Combinations: Certain combinations may not be valid, and you need to ensure your ComfyUI installation supports all selected samplers and schedulers.
- Batch Size Considerations: The output quality and processing time could vary significantly based on the sampler and scheduler combination; therefore, it's advisable to start with smaller
input_countvalues for initial testing.
Incorporating this node into your ComfyUI workflows can significantly enhance your ability to experiment with and fine-tune the sampling and scheduling processes, contributing to the overall improvement of output quality.