Nodes/ComfyUI-sonar/SamplerConfigOverride
ComfyUI Node

SamplerConfigOverride

Allows overriding paramaters for a SAMPLER. Only parameters that particular sampler supports will be applied, so for example setting ETA will have no effect for non-ancestral Euler.

By blepping·Created 3 years ago·Updated about a month ago· 49
SamplerConfigOverride
  • sampler
  • custom_noise_opt
  • SAMPLER
eta1.000
s_noise1.000
s_churn0.000
r0.500
sde_solver
cpu_noisetrue
normalizetrue
noise_typeDEFAULT
yaml_parameters
Categorysampling/custom_sampling/samplers

Inputs (11)

NameTypeDefaultDescription
samplerSAMPLER
etaFLOAT1.000-10000–10000Basically controls the ancestralness of the sampler. When set to 0, you will get a non-ancestral (or SDE) sampler.
s_noiseFLOAT1.000-10000–10000Multiplier for noise added during ancestral or SDE sampling.
s_churnFLOAT0.000-10000–10000Churn was the predececessor of ETA. Only used by a few types of samplers (notably Euler non-ancestral). Not used by any ancestral or SDE samplers.
rFLOAT0.500-10000–10000Used by dpmpp_sde (and perhaps a few other SDE samplers).
sde_solverCOMBOSolver used by dpmpp_2m_sde.
cpu_noiseBOOLEANtrueControls whether noise is generated on CPU or GPU.
normalizeBOOLEANtrueControls whether generated noise is normalized to 1.0 strength.
noise_typeoptCOMBODEFAULTNoise type used during ancestral or SDE sampling. DEFAULT will use the default for the attached sampler. Only used when the custom noise input is not connected.
custom_noise_optoptSONAR_CUSTOM_NOISE,OCS_NOISEOptional input for custom noise used during ancestral or SDE sampling. When connected, the built-in noise_type selector is ignored. The following input types are supported: SONAR_CUSTOM_NOISE, OCS_NOISE
yaml_parametersoptSTRINGAllows specifying custom parameters via YAML. Note: When specifying paramaters this way, there is generally not much error checking.

Outputs (1)

NameTypeDescription
SAMPLERSAMPLER