ComfyUI Extension: RES4LYF-tester-loop
Batch samplers, schedulers, cfg, shift and steps tester custom node, automatic looping functionality for RES4LYF custom nodes
Custom Nodes (0)
README
RES4LYF Loop Helpers for ComfyUI
A comprehensive collection of loop nodes for ComfyUI that provides advanced iteration capabilities for samplers, schedulers, and numeric ranges. This custom node pack is designed to work seamlessly with the RES4LYF sampling system.
š Special Thanks
Special thanks to RES4LYF for providing the incredible custom sampling and scheduling system for image generation. This loop helper pack is built specifically to complement and enhance the RES4LYF workflow capabilities in ComfyUI.
⨠Features
Core Loop Nodes
- RES4LYF Scheduler Loop - Iterate through available schedulers with intelligent fallbacks
- RES4LYF Sampler Loop - Cycle through Beta sampler list with comprehensive coverage
- RES4LYF Combo Loop - Combined sampler + scheduler + sampler mode iteration
- Double Int Range Loop - Loop through combinations of two integer ranges
- Double Float Range Loop - Loop through combinations of two float ranges
- Single Int Loop - Loop through a single integer range with multiple modes
- Single Float Loop - Loop through a single float range with multiple modes
Loop Modes
- Sequential - Step through values in order
- Random - Select values randomly (with seed control)
- Ping Pong - Bounce back and forth through the range
Advanced Features
- Sampler Mode Looping - Toggle between
unsample
,standard
, andresample
modes - Skip Lists - Exclude specific samplers, schedulers, or modes from loops
- Label Outputs - Human-readable combination descriptions
- Reset Controls - Reset loop counters on demand
- Seed Support - Reproducible random selection
- Total Combinations - Know exactly how many iterations are possible
š Prerequisites
Required: RES4LYF Installation
ā ļø IMPORTANT: To get the complete list of samplers and schedulers (and avoid missing any), you MUST install RES4LYF first:
-
Install RES4LYF from the official repository:
cd ComfyUI/custom_nodes/ git clone https://github.com/ClownsharkBatwing/RES4LYF.git
-
Verify RES4LYF structure - Ensure these files exist:
ComfyUI/custom_nodes/RES4LYF/ āāā helper.py āāā beta/ āāā rk_coefficients_beta.py
-
Install this loop helper pack in the same custom_nodes directory:
cd ComfyUI/custom_nodes/ git clone https://github.com/KY-2000/RES4LYF-tester-loop.git
Fallback Behavior
If RES4LYF is not installed or files are missing, the nodes will use built-in fallback lists:
- Samplers: 100+ fallback samplers across all categories (multistep, exponential, hybrid, linear, etc.)
- Schedulers: 11 fallback schedulers (simple, sgm_uniform, karras, exponential, etc.)
However, these fallbacks may not include the latest samplers and schedulers available in RES4LYF.
š Usage
Basic Scheduler Loop
RES4LYF Scheduler Loop
āāā mode: sequential/random/ping_pong
āāā seed: 0 (for random mode)
āāā reset: false
āāā skip_schedulers: "beta, normal" (optional)
Outputs:
scheduler
- Selected scheduler namecurrent_index
- Current position in the listtotal_combinations
- Total possible combinationscurrent_combination
- Human-readable descriptionsampler_mode
- Current sampler mode (if looping enabled)label
- Formatted combination string
Advanced Combo Loop
RES4LYF Combo Loop
āāā sampler_loop_mode: sequential
āāā scheduler_loop_mode: random
āāā seed: 42
āāā skip_samplers: "none"
āāā skip_schedulers: ""
āāā loop_sampler_mode: true
āāā sampler_mode_method: ping_pong
āāā skip_sampler_modes: "unsample"
This will cycle through:
- All available samplers (sequentially)
- All available schedulers (randomly)
- Available sampler modes (ping-pong: standard ā resample)
Numeric Range Loops
Double Int Range:
Double Int Range Loop
āāā value1_start: 0, value1_end: 10, value1_step: 2
āāā value2_start: 5, value2_end: 15, value2_step: 3
āāā seed: 0
Produces combinations: (0,5), (0,8), (0,11), (0,14), (2,5), (2,8), ...
Single Float Range:
Single Float Loop
āāā mode: ping_pong
āāā start: 0.5, end: 2.0, step: 0.1
āāā seed: 123
š§ Node Details
RES4LYF Scheduler Loop
- Category: RES4LYF/Loop
- Function: Loop through scheduler options with sampler mode support
- Special: Automatically detects available schedulers from RES4LYF installation
RES4LYF Sampler Loop
- Category: RES4LYF/Loop
- Function: Loop through Beta sampler list with sampler mode support
- Special: Supports 100+ samplers across all RES4LYF categories
RES4LYF Combo Loop
- Category: RES4LYF/Loop
- Function: Combined sampler + scheduler + mode iteration
- Special: Calculates total combinations as: samplers Ć schedulers Ć modes
Range Loops
- Double Loops: Cartesian product of two ranges
- Single Loops: Individual range iteration with mode selection
- Precision: Float loops support 6 decimal places
š Sampler Categories
The nodes support all RES4LYF sampler categories:
- Multistep: res_2m, res_3m, dpmpp_2m, dpmpp_3m, abnorsett, deis
- Exponential: res_2s through res_16s, etdrk variants, dpmpp, lawson, ddim
- Hybrid: pec423, pec433, abnorsett, lawson variants
- Linear: ralston, midpoint, heun, runge-kutta variants, bogacki-shampine
- Diag Implicit: irk_exp_diag, kraaijevanger_spijker, qin_zhang, pareschi_russo
- Fully Implicit: gauss-legendre, radau variants, lobatto variants
š ļø Installation Troubleshooting
Missing Samplers/Schedulers?
- Verify RES4LYF is properly installed
- Check that
helper.py
andbeta/rk_coefficients_beta.py
exist - Restart ComfyUI after installing RES4LYF
- Check ComfyUI console for import errors
Node Not Appearing?
- Ensure both RES4LYF and this pack are in
custom_nodes/
- Restart ComfyUI completely
- Check for Python errors in the console
- Verify file permissions
š¤ Contributing
This project builds upon the excellent work of RES4LYF. Contributions are welcome!
š License
Please respect the licensing terms of the RES4LYF project that this pack depends on.
Powered by RES4LYF - Advanced sampling and scheduling for ComfyUI