Nodes/pre_cfg_comfy_nodes_for_ComfyUI/Pre CFG automatic scale
ComfyUI Node

Pre CFG automatic scale

A ComfyUI node in model_patches/Pre CFG with 7 inputs and 2 outputs.

By Extraltodeus·Created 2 years ago·Updated about a year ago· 66
Pre CFG automatic scale
  • model
  • channels_selection
  • MODEL
  • parameters
scaling_methodindividual
min_max_methodaverage
reference_CFG8.0
scale_multiplier0.80
top_k0.25
Categorymodel_patches/Pre CFG

Inputs (7)

NameTypeDefaultDescription
modelMODEL
scaling_methodCOMBOindividual5 options: individual, all_as_one, average_of_all_channels, smallest_of_all_channels, biggest_of_all_channels
min_max_methodCOMBOaverage3 options: difference, average, biggest
reference_CFGFLOAT8.00–100
scale_multiplierFLOAT0.800–100
top_kFLOAT0.250–0.5
channels_selectionoptCHANS

Outputs (2)

NameTypeDescription
MODELMODEL
parametersSTRING