Nodes/ComfyUI-Spectrum-Qwen-Proper/Spectrum Qwen Model Patcher
ComfyUI Node

Spectrum Qwen Model Patcher

A ComfyUI node in model/optimization with 10 inputs and 1 output.

By xmarre·Created 5 months ago·Updated 4 months ago· 1
Spectrum Qwen Model Patcher
  • model
  • MODEL
warmup_steps5
tail_actual_steps2
history_points5
chebyshev_degree3
max_consecutive_forecasts1
ridge_lambda0.0001
cache_devicemain_device
force_actual_on_controltrue
debugfalse
Categorymodel/optimization

Inputs (10)

NameTypeDefaultDescription
modelMODEL
warmup_stepsINT50–64Number of initial solver steps forced to run as real Qwen forwards.
tail_actual_stepsINT20–32Number of final solver steps forced to stay on the real path.
history_pointsINT52–16Number of real hidden-state snapshots kept for the Chebyshev fit.
chebyshev_degreeINT31–8Polynomial degree used by the ridge-regularized Chebyshev forecaster.
max_consecutive_forecastsINT10–8Maximum number of skipped Qwen transformer passes allowed in a row before a real refresh step is forced.
ridge_lambdaFLOAT0.00010–1Ridge regularization strength used during the Chebyshev coefficient solve.
cache_deviceCOMBOmain_deviceWhere captured Qwen hidden-state history is stored for fitting and forecasting.
force_actual_on_controlBOOLEANtrueForce real forwards when ControlNet/control residuals are present. Recommended.
debugBOOLEANfalseLog per-step mode decisions and a summary at the end of the run.

Outputs (1)

NameTypeDescription
MODELMODEL