Nodes/ComfyUI_agilly1989_motorway/ConditioningZeroOut_motorway_edition
ComfyUI Node

ConditioningZeroOut_motorway_edition

Zero out a conditioning without leaving the Motorway bus

By agilly1989·Created 2 years ago·Updated about a year ago· 7
ConditioningZeroOut_motorway_edition
  • MOTORWAY 🚌💨
  • MOTORWAY 🚌💨
INPUT_conditioning_keyconditioning
OUTPUT_CONDITIONING_keyCONDITIONING

ConditioningZeroOut is one of those tiny core nodes you don't think about until a workflow quietly depends on it. It takes a conditioning and returns an all-zero version of it. That sounds useless until you remember CFG guidance is literally "push toward the positive, away from the negative" - and a zeroed conditioning is a very specific thing to push toward. It shows up in CFG rescaling tricks, in guidance hacks that want "no direction" as a baseline, and in some sampler guider setups that need an empty conditioning to steer against. The _motorway_edition just puts that on the Motorway bus.

How it works

This is the plain core ConditioningZeroOut from nodes.py under a Motorway costume. The clone wrapper reads the conditioning object out of the bus using your INPUT_conditioning_key, zeroes its embeddings, and writes the result back under your OUTPUT_CONDITIONING_key. Zero work happens on the node itself - all the smarts are the wrapper's bookkeeping of keys.

The few inputs

  • MOTORWAY 🚌💨 - the bus. Required.
  • INPUT_conditioning_key - the key of the conditioning to zero, default conditioning.
  • OUTPUT_CONDITIONING_key - the key to store the zeroed conditioning under, default CONDITIONING.

One output: the updated MOTORWAY 🚌💨. Read the zeroed conditioning back out with a Motorway AxB ramp node using the output key.

Installing

It ships in the pack, so the install is the pack's:

cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway

Restart ComfyUI (or grab it via ComfyUI Manager, "ComfyUI_agilly1989_motorway"). No Python deps, no models to download.

Caveats

Same pack-level reality as its siblings: active beta, README header currently reads "BIG BROKEN WITH ASYNC WILL FIX WHEN I GET THE TIME/MOTIVATION", and in the checked version the _motorway_edition clones are commented out of __init__.py - uncomment the ClonedNodeMapping import if the node is missing from your menu. Keys are exact and case-sensitive; 'MotorwayClass' object has no attribute 'hash_' means a key isn't in the bus. This is a thin utility node - if you're not invested in the Motorway, the core ConditioningZeroOut is the same thing with one fewer concept in your head.

Categoryagilly1989 Nodes/Motorway-ed/advanced/conditioning

Inputs (3)

NameTypeDefaultDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨
INPUT_conditioning_keySTRINGconditioning
OUTPUT_CONDITIONING_keySTRINGCONDITIONING

Outputs (1)

NameTypeDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨