Yuvraj Seegolam 20a0e003e6 2026 test
Added last tested configuration details for ComfyUI.
2026-01-02 17:13:26 +04:00
2025-04-30 12:19:02 +04:00
2025-06-01 19:55:04 +02:00
2025-02-03 13:13:26 +04:00
v1
2025-01-27 12:21:16 +04:00
2025-04-28 17:23:36 +04:00
2026-01-02 17:13:26 +04:00
2025-07-06 19:36:53 +04:00

ComfyUI InvSR

arXiv

This project is a ComfyUI wrapper for InvSR (Arbitrary-steps Image Super-resolution via Diffusion Inversion)

Last tested: 2 January 2026 (ComfyUI v0.7.0@f2fda02 | Torch 2.9.1 | Python 3.10.12 | RTX4090 | CUDA 13.0 | Debian 12)

⭐ Support

If you like my projects and wish to see updates and new features, please consider supporting me. It helps a lot!

ComfyUI-Depth-Anything-Tensorrt ComfyUI-Upscaler-Tensorrt ComfyUI-Dwpose-Tensorrt ComfyUI-Rife-Tensorrt

ComfyUI-Whisper ComfyUI_InvSR ComfyUI-Thera ComfyUI-Video-Depth-Anything ComfyUI-PiperTTS

buy-me-coffees paypal-donation

Installation

Navigate to the ComfyUI /custom_nodes directory

git clone https://github.com/yuvraj108c/ComfyUI_InvSR
cd ComfyUI_InvSR

pip install -r requirements.txt

Usage

  • Load example workflow
  • Diffusers model (stabilityai/sd-turbo) will download automatically to ComfyUI/models/diffusers
  • InvSR model (noise_predictor_sd_turbo_v5.pth) will download automatically to ComfyUI/models/invsr
  • To deal with large images, e.g, 1k---->4k, set chopping_size 256
  • If your GPU memory is limited, please set chopping_batch_size to 1

Parameters

  • num_steps: number of inference steps
  • cfg: classifier-free guidance scale
  • batch_size: Controls how many complete images are processed simultaneously
  • chopping_batch_size: Controls how many patches from the same image are processed simultaneously
  • chopping_size: Controls the size of patches when splitting large images
  • color_fix: Method to fix color shift in processed images

Updates

28 April 2025

03 February 2025

  • Add cfg parameter
  • Make image divisible by 16
  • Use mm to set torch device

31 January 2025

Citation

@article{yue2024InvSR,
  title={Arbitrary-steps Image Super-resolution via Diffusion Inversion},
  author={Yue, Zongsheng and Kang, Liao and Loy, Chen Change},
  journal = {arXiv preprint arXiv:2412.09013},
  year={2024},
}

License

This project is licensed under NTU S-Lab License 1.0

Acknowledgments

Thanks to simplepod.ai for providing GPU servers

Star History

Star History Chart

S
Description
No description provided
Readme BSD-3-Clause
2.3 MiB
Languages
Python 100%