ComfyUI Node
Spectrum Model Patch (MOSS)
Spectrum feature forecasting for MOSS-Image loaded by ComfyUI's built-in loader. Preserves the supplied model sampling, flow shift and guidance. Does not compile the model. Each sampler invocation gets fresh forecast state using its actual sigma schedule.
Spectrum Model Patch (MOSS)
- model
- MODEL
◄steps30►
◄window_size2.00►
◄flex_window0.25►
◄warmup_steps6►
◄tail_actual_steps3►
◄blend_w0.30►
◄cheby_degree3►
◄ridge_lambda0.10►
◄history_size100►
◄enabledtrue►
◄one_sampler_onlyfalse►
◄verbosefalse►
◄compat_policyconservative►
Categorymodel_patches
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | MOSS-Image MODEL from ComfyUI's built-in loader. Keeps its sampling and flow shift. | |
| steps | INT | 301–10000 | Ignored. The downstream sampler's actual sigma schedule determines forecast warmup and tail length. |
| window_size | FLOAT | 2.001–10 | Initial caching window; 1.0 disables cached steps. |
| flex_window | FLOAT | 0.250–2 | Window growth after each actual forward. |
| warmup_steps | INT | 60–10000 | Initial steps forced to actual DiT forwards. |
| tail_actual_steps | INT | 30–10000 | Final steps forced to actual DiT forwards. |
| blend_w | FLOAT | 0.300–1 | Chebyshev/Taylor blend weight; 1.0 is pure Chebyshev. |
| cheby_degree | INT | 31–10 | Chebyshev polynomial degree. |
| ridge_lambda | FLOAT | 0.100.001–10 | Ridge regression regularization strength. |
| history_size | INT | 1005–10000 | Forecaster buffer size. |
| enabled | BOOLEAN | true | — |
| one_sampler_only | BOOLEAN | false | Apply Spectrum only to the first sampler run that uses this patched MODEL within a workflow run; later sampler runs (e.g. hi-res fix) pass through. Re-arms on each new workflow execution. |
| verbose | BOOLEAN | false | Log actual/cached step decisions. |
| compat_policy | COMBO | conservative | 3 options: legacy, conservative, strict |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |