Nodes/WhiteRabbit/πŸ‡ Upscale w/ Model (Advanced)
ComfyUI Node

πŸ‡ Upscale w/ Model (Advanced)

Based on Comfy's native "Upscale Image (using Model)", with controls exposed to tune for large batches, avoid slow OOM fallbacks, and create opportunities to optimize for speed. Defaults - Behaves about the same as the original node. Controls - max_batch_size > 0: process images in chunks to keep VRAM steady and reduce fallback slowdowns. - tile_size: choose a starting tile; original node defaults to 512. 0 = auto (falls back 512 β†’ 256 β†’ 128 on OOM). - channels_last: try ON for a speedup on some systems. - precision: lower (fp16/bf16) can be faster; may impact quality depending on the model.

By Artificial-SweetenerΒ·Created 12 months agoΒ·Updated 3 months agoΒ· 75
πŸ‡ Upscale w/ Model (Advanced)
  • upscale_model
  • image
  • IMAGE
β—„max_batch_size0β–Ί
β—„tile_size0β–Ί
β—„channels_lastfalseβ–Ί
β—„precisionfp32β–Ί
Categoryimage/upscaling

Inputs (6)

NameTypeDefaultDescription
upscale_modelUPSCALE_MODELPick your ESRGAN model (e.g. 2Γ— / 4Γ—).
imageIMAGEImages to upscale. Accepts a batch: framesΓ—HΓ—WΓ—C with values in [0–1].
max_batch_sizeoptINT00–4096How many images to process at once. 0 = all at once. Set >0 if you hit OOM.
tile_sizeoptINT00–2048How big each tile is. 0 = auto (starts at 512 and halves on OOM). Bigger is faster; smaller is safer.
channels_lastoptBOOLEANfalseTry this ON for a small speed boost on some GPUs. If you see no gain, leave it OFF.
precisionoptCOMBOfp32Math mode. fp32 = safest. fp16/bf16 can be faster on many GPUs, may impact image quality.

Outputs (1)

NameTypeDescription
IMAGEIMAGEβ€”