ComfyUI Node
SamplerDistanceAdvanced
A ComfyUI node in sampling/custom_sampling/samplers with 19 inputs and 1 output.
SamplerDistanceAdvanced
- SAMPLER
◄resample3►
◄resample_end-1►
◄cfgpptrue►
◄eta0.00►
◄s_noise1.00►
◄distance_step_eta0.00►
◄distance_step_s_noise1.00►
◄use_softmaxfalse►
◄use_slerpfalse►
◄perp_stepfalse►
◄use_negativefalse►
◄smoothfalse►
◄sharpenfalse►
◄distance_first0►
◄distance_last-1►
◄eta_first0►
◄eta_last-1►
◄distance_eta_first0►
◄distance_eta_last-1►
Categorysampling/custom_sampling/samplers
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| resample | INT | 3-1–32 | 0 all along gives Euler. 1 gives Heun. Anything starting from 2 will use the distance method. -1 will do remaining steps + 1 as the resample value. This can be pretty slow. |
| resample_end | INT | -1-1–32 | How many resamples for the end. -1 means constant. |
| cfgpp | BOOLEAN | true | Controls whether to use CFG++ sampling. When enabled, you should set CFG to a fairly low value. |
| eta | FLOAT | 0.000–32 | Controls the ancestralness of the main sampler steps. 0.0 means to use non-ancestral sampling. Note: May not work well with some of the other options. |
| s_noise | FLOAT | 1.00-100–100 | Scale factor for ancestral noise added during sampling. Generally should be left at 1.0 and only has an effect when ancestral sampling is used. |
| distance_step_eta | FLOAT | 0.000–32 | Experimental option that allows using ancestral sampling for the internal distance steps. When used, should generally be a fairly low value such as 0.25. 0.0 means to use non-ancestral sampling for the internal distance steps. |
| distance_step_s_noise | FLOAT | 1.00-100–100 | Scale factor for ancestral noise added in the internal distance steps. Generally should be left at 1.0 and only has an effect when distance_step_eta is non-zero. |
| use_softmax | BOOLEAN | false | Rather than using a min/max normalization and an exponent will use a softmax instead. |
| use_slerp | BOOLEAN | false | Will SLERP the predictions instead of doing a weighted average. The difference is more obvious when using use_negative. |
| perp_step | BOOLEAN | false | Experimental, not yet recommended. |
| use_negative | BOOLEAN | false | Will use the negative prediction to prepare the distance scores. This tends to give images with less errors from my testing. |
| smooth | BOOLEAN | false | Not recommended, will make everything brighter. Not smoother. |
| sharpen | BOOLEAN | false | Not recommended, attempts to sharpen the results but instead tends to make things fuzzy. |
| distance_first | INT | 0-10000–10000 | First step to use distance sampling. You can use negative values to count from the end. Note: Steps are zero-based. |
| distance_last | INT | -1-10000–10000 | Last step to use distance sampling. You can use negative values to count from the end. Note: Steps are zero-based. |
| eta_first | INT | 0-10000–10000 | First step to use ancestral sampling. Only applies when ETA is non-zero. You can use negative values to count from the end. Note: Steps are zero-based. |
| eta_last | INT | -1-10000–10000 | Last step to use ancestral sampling. Only applies when ETA is non-zero. You can use negative values to count from the end. Note: Steps are zero-based. |
| distance_eta_first | INT | 0-10000–10000 | First step to use ancestral sampling for the distance steps. Only applies when distance ETA is non-zero. You can use negative values to count from the end. Note: Steps are zero-based. |
| distance_eta_last | INT | -1-10000–10000 | Last step to use ancestral sampling for the distance steps. Only applies when distance ETA is non-zero. You can use negative values to count from the end. Note: Steps are zero-based. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| SAMPLER | SAMPLER | — |