Nodes/ComfyUI-Spectrum-sdxl/Spectrum Adaptive Forecaster (SDXL)
ComfyUI Node

Spectrum Adaptive Forecaster (SDXL)

A ComfyUI node in sampling with 9 inputs and 1 output.

By ruwwww·Created 5 months ago·Updated 3 months ago· 56
Spectrum Adaptive Forecaster (SDXL)
  • model
  • MODEL
w0.30
m3
lam0.10
window_size2
flex_window0.00
warmup_steps5
stop_caching_step-1
steps30
Categorysampling

Inputs (9)

NameTypeDefaultDescription
modelMODELThe diffusion model to patch with Spectrum forecasting logic.
wFLOAT0.300–1Blending weight between predicted (Chebyshev) and local (Taylor) features. Lower (0.3-0.5) preserves sharpness, higher relies on global smoothing.
mINT31–8Number of Chebyshev basis functions (forecast complexity). Lower values (3-4) are more stable for SDXL.
lamFLOAT0.100–2Ridge regularization strength. Prevents latent explosions and rainbow artifacts in low-precision modes.
window_sizeINT21–10Initial forecasting window size (number of skipped steps).
flex_windowFLOAT0.000–2Increment added to window size after each actual UNet pass. Higher = aggressive acceleration.
warmup_stepsINT50–20Initial full-model steps before forecasting begins. Gives the model time to establish composition.
stop_caching_stepINT-1-1–100The exact step where Spectrum stops and returns to native UNet. Essential for final detail recovery. Set to Total Steps - 3.
stepsINT3010–500Match this value with your KSampler total steps for stable forecast accuracy and drift reduction.

Outputs (1)

NameTypeDescription
MODELMODEL