This project is a ComfyUI wrapper for InvSR (Arbitrary-steps Image Super-resolution via Diffusion Inversion)
If you like my projects and wish to see updates and new features, please consider supporting me. It helps a lot!
Navigate to the ComfyUI /custom_nodes directory
git clone https://github.com/yuvraj108c/ComfyUI_InvSR
cd ComfyUI_InvSR
pip install -r requirements.txt- 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_size256 - If your GPU memory is limited, please set 
chopping_batch_sizeto 1 
num_steps: number of inference stepscfg: classifier-free guidance scalebatch_size: Controls how many complete images are processed simultaneouslychopping_batch_size: Controls how many patches from the same image are processed simultaneouslychopping_size: Controls the size of patches when splitting large imagescolor_fix: Method to fix color shift in processed images
28 April 2025
- Update diffusers versions in requirements.txt to fix #26, #21, #15
 - Add support for 
noise_predictor_sd_turbo_v5_diftune.pth 
03 February 2025
- Add cfg parameter
 - Make image divisible by 16
 - Use 
mmto set torch device 
31 January 2025
@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},
}This project is licensed under NTU S-Lab License 1.0
Thanks to simplepod.ai for providing GPU servers

