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).
Conditioning Zero Out
- conditioning
- model
- conditioning
◄max_tokens0►
Category🌒 Smart Model Loader/ Conditioning
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| conditioning | CONDITIONING | The conditioning to zero out. | |
| max_tokens | INT | 00–4096 | Max token length. 0 = auto from model (or keep original if no model). Overrides model detection when > 0. |
| modelopt | MODEL | Optional model input to auto-detect base token length for truncation. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| conditioning | CONDITIONING | Zeroed-out conditioning. |