RescaleCFG_motorway_edition
RescaleCFG from the bus — fix CFG burn without dropping the dial
- MOTORWAY 🚌💨
- MOTORWAY 🚌💨
CFG above the sweet spot gives you a familiar failure: the image obeys the prompt but the colors blow out, contrast burns, and everything looks like a badly processed HDR photo. RescaleCFG is the model patch ComfyUI ships for exactly that. It scales the per-step CFG update by a multiplier, then rescales the result back toward its original magnitude. The upshot is you can keep running the high CFG that buys you prompt adherence, while the patch stops the update from saturating the colors.
It's a simple patch with an outsize reputation, because it's the standard first aid for over-saturated SD 1.5/SDXL outputs. The stock node's default multiplier of 0.7 is the classic "just make it look right again" value - enough to pull the burned highlights back without gutting the guidance. This is squarely a "last-resort knob" family of nodes, sitting in ComfyUI's advanced/model category next to RenormCFG, but Rescale is the one most people actually reach for.
On the bus
The _motorway_edition clone reads its model from the MOTORWAY 🚌💨 bus by key:
INPUT_model_key(defaultmodel) - the bus key holding the checkpoint.multiplier(default 0.7, range 0–1) - how much the CFG update gets scaled. Below 1 tames the burn; the stock 0.7 is the sane starting point. 1 is a no-op.OUTPUT_MODEL_key(defaultMODEL) - where the patched model is written back onto the bus.
The only return is the bus; the patched model rides inside under MODEL. The sampler downstream must read that key rather than the original model - and yes, the default MODEL vs model case mismatch is the classic silent-miss point. Keys are case-sensitive and shared by name across the workflow.
Install
No Python dependencies, no model downloads:
cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway
or ComfyUI Manager → search ComfyUI_agilly1989_motorway → install → restart.
The fine print
The pack is a self-described beta - the README's own framing is "IF THINGS BREAK ITS BECAUSE I BROKE IT" - and the _motorway_edition clones were auto-generated by a cloner that build 1.1.7 removed. On a current install this node may not exist; the stock RescaleCFG in core does the identical job without the bus.
Bus failure is the usual KeyError: 'hash_...' doesn't exist in motorway - the key was never stored upstream, so check your ramps before touching the multiplier.
And the honest advice: RescaleCFG treats the symptom. If your image is burning, the cleaner fix is usually lowering CFG to the model's real sweet spot (5–9 on SD 1.5/SDXL, ~4–6 on Pony/Illustrious). Rescale exists for when you've already done that and you specifically need the extra prompt adherence that high CFG buys - not as a substitute for knowing your model's range.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — | |
| INPUT_model_key | STRING | model | — |
| multiplier | FLOAT | 0.700–1 | — |
| OUTPUT_MODEL_key | STRING | MODEL | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — |