Nodes/ComfyUI_agilly1989_motorway/HyperTile_motorway_edition
ComfyUI Node

HyperTile_motorway_edition

HyperTile for VRAM

By agilly1989·Created 2 years ago·Updated about a year ago· 7
HyperTile_motorway_edition
  • MOTORWAY 🚌💨
  • MOTORWAY 🚌💨
INPUT_model_keymodel
tile_size256
swap_size2
max_depth0
scale_depthfalse
OUTPUT_MODEL_keyMODEL

Most of the *_motorway_edition nodes in this pack are just image chores re-plumbed. HyperTile is the one with real teeth: it's the trick that lets you generate at resolutions that would otherwise OOM your card, because it computes attention in tiles instead of all at once.

HyperTile_motorway_edition is the stock ComfyUI HyperTile node from agilly1989/ComfyUI_agilly1989_motorway, wrapped for the pack's MOTORWAY 🚌💨 pipe. Instead of a model wire, it reads the model out of the pipe under INPUT_model_key (default "model"), applies the patch, and stores the patched model back under OUTPUT_MODEL_key (default "MODEL").

The settings that matter

  • tile_size (INT, default 256) - the attention window. Smaller = less VRAM, but tiles get more visible
  • swap_size (INT, default 2) - swap factor for the tiling; leave it alone until you know why you're changing it
  • max_depth (INT, default 0) - 0 patches every layer. Higher numbers leave the deep layers untiled
  • scale_depth (BOOLEAN, default off) - scales the tiling across depths

The honest tuning advice: keep tile_size at 256 and max_depth at 0 unless the output shows seams. Pushing tile_size down is how you squeeze a huge resolution onto small VRAM, but too small and you'll see coherence breaks - the model literally stops knowing what's in the neighboring tile. This is a patch node: you feed it a MODEL, it hands back a patched MODEL, and you keep the patched one for the rest of the chain. With the wrapper, the whole handoff happens through keys in the pipe.

How it works

The wrapper pops the Motorway, pulls the model via the input key, calls stock HyperTile with your widget values, stores the result under the output key, and returns a clone of the pipe. Same behavior as the stock node, so if you've used HyperTile before, nothing about the math changed - only how the model gets in and out.

Installing

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

Restart ComfyUI or install via ComfyUI Manager (search "motorway"). Pure Python, no requirements.txt, no downloads.

Gotchas

Two caveats. First, the whole motorway_edition family is the pack's experimental "danger zone" clone feature, disabled in the current 1.1.7 hotfix - so on the latest release these nodes may not appear in your menu at all. If you just want HyperTile's VRAM savings, the stock node is one right-click away anyway. Second, if you chain clones, remember the key defaults: inputs read lowercase, outputs write uppercase, so "MODEL" from one node won't match "model" on the next unless you set the strings to agree.

Categoryagilly1989 Nodes/Motorway-ed/model_patches/unet

Inputs (7)

NameTypeDefaultDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨
INPUT_model_keySTRINGmodel
tile_sizeINT2561–2048
swap_sizeINT21–128
max_depthINT00–10
scale_depthBOOLEANfalse
OUTPUT_MODEL_keySTRINGMODEL

Outputs (1)

NameTypeDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨