FluxDisableGuidance_motorway_edition
Strip the guidance embedding off Flux conditioning
- MOTORWAY 🚌💨
- MOTORWAY 🚌💨
Flux doesn't use CFG the way SD 1.5 does. Instead of running the model twice and extrapolating, Flux bakes a guidance value into the conditioning itself as an embedding - the model literally receives "here's how hard to obey the prompt" as part of its input. FluxDisableGuidance is the node that removes that value entirely, setting guidance to None so the guidance embedding does nothing.
The _motorway_edition version from agilly1989/ComfyUI_agilly1989_motorway wraps the core node: it reads conditioning off the Motorway pipe, strips the guidance, and writes the result back to a key.
The inputs
- INPUT_conditioning_key (default
conditioning) - where the conditioning lives on the Motorway. - OUTPUT_CONDITIONING_key (default
CONDITIONING) - the key the stripped conditioning is written to.
Output is the MOTORWAY pipe. No numeric settings - this node's entire job is removal.
When you'd use it
The main case: de-distilled Flux and similar models. Guidance-distilled checkpoints already have the guidance baked into their weights, and Flux-derivatives that re-enable traditional CFG (the "de-distilled" variants) can misbehave when the guidance embedding is also present. Disabling it keeps the two mechanisms from double-applying. It's also the companion to FluxGuidance when you want to explicitly control which branch of a workflow carries guidance - strip it from one path, keep it on another, and the two conditionings genuinely differ.
The mechanism is exactly the inverse of FluxGuidance: that node writes a number into the conditioning, this one writes None. Same key protocol, opposite effect. If you're on a straight Flux Dev run at guidance 3.5 you don't need this node - the embedding is doing its job - but the moment you're juggling distilled weights and classic CFG, it's the switch that keeps the two from fighting.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway
Restart ComfyUI, or install via ComfyUI Manager under "ComfyUI_agilly1989_motorway." No extra dependencies; the Flux checkpoint is the download that matters.
Standing pack caveat: v1.1.7's pyproject.toml calls itself "HOTFIX - REMOVED MONKEYPATCH AND GENERATED NODES," and the generated clones are commented out of __init__.py. Core Motorway nodes work; the _motorway_edition clones may not be in your menu until the author re-enables them. Missing? Core FluxDisableGuidance is identical, and a Motorway 1x0 ramp can park its output on the bus by hand.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — | |
| INPUT_conditioning_key | STRING | conditioning | — |
| OUTPUT_CONDITIONING_key | STRING | CONDITIONING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — |