Nodes/ComfyUI_SmartModelLoader/Conditioning Zero Out
ComfyUI Node

Conditioning Zero Out

Zeros out and optionally truncates conditioning tensors. Connect a model to auto-detect the correct token length, or set max_tokens manually. 0 = keep original size (pure zero-out).

By r-vage·Created 9 days ago·Updated 2 days ago· 2
Conditioning Zero Out
  • conditioning
  • model
  • conditioning
max_tokens0
Category🌒 Smart Model Loader/ Conditioning

Inputs (3)

NameTypeDefaultDescription
conditioningCONDITIONINGThe conditioning to zero out.
max_tokensINT00–4096Max token length. 0 = auto from model (or keep original if no model). Overrides model detection when > 0.
modeloptMODELOptional model input to auto-detect base token length for truncation.

Outputs (1)

NameTypeDescription
conditioningCONDITIONINGZeroed-out conditioning.