Nodes/ComfyUI-CFG-Ctrl/CFG-Ctrl / SMC-CFG Guider
ComfyUI Node

CFG-Ctrl / SMC-CFG Guider

A ComfyUI node in sampling/custom_sampling/guiders with 20 inputs and 1 output.

By xmarre·Created 5 months ago·Updated 5 months ago· 1
CFG-Ctrl / SMC-CFG Guider
  • model
  • positive
  • negative
  • GUIDER
cfg4.0
enable_smctrue
smc_lambda6.0
smc_k0.30
no_cfg_warmup_steps0
active_start_step0
active_end_step1000000000
active_start_percent0.00
active_end_percent1.00
switch_modesign
boundary_epsilon0.000
epsilon_modeabsolute
math_dtypefloat32
state_dtypematch
apply_only_if_cfg_gt_1false
reset_on_shape_changetrue
detach_prevtrue
Categorysampling/custom_sampling/guiders

Inputs (20)

NameTypeDefaultDescription
modelMODEL
positiveCONDITIONING
negativeCONDITIONING
cfgFLOAT4.00–100
enable_smcBOOLEANtrue
smc_lambdaFLOAT6.00–50
smc_kFLOAT0.300–5
no_cfg_warmup_stepsINT00–50
active_start_stepINT00–10000
active_end_stepINT10000000000–1000000000
active_start_percentFLOAT0.000–1
active_end_percentFLOAT1.000–1
switch_modeCOMBOsign4 options: sign, sat, tanh, vector_norm
boundary_epsilonFLOAT0.0000–10
epsilon_modeCOMBOabsolute2 options: absolute, relative
math_dtypeCOMBOfloat324 options: float32, match, float16, bfloat16
state_dtypeCOMBOmatch4 options: match, float16, bfloat16, float32
apply_only_if_cfg_gt_1BOOLEANfalse
reset_on_shape_changeBOOLEANtrue
detach_prevBOOLEANtrue

Outputs (1)

NameTypeDescription
GUIDERGUIDER