This repository offers a TensorRT-based solution for enhancing image resolution within ComfyUI, achieving speeds that are two to four times faster than traditional methods. It leverages NVIDIA's TensorRT to facilitate rapid upscaling of images, making it a valuable tool for users looking to improve image quality efficiently.
- Supports a variety of upscaling models, including options tailored for both artistic and realistic images.
- Automatically detects CUDA versions and installs necessary TensorRT packages, streamlining the setup process.
- Capable of handling dynamic image resolutions, allowing for a wide range of input sizes from 256x256 to 2048x2048 pixels.
Context
This tool serves as an image upscaling extension within the ComfyUI framework, utilizing NVIDIA's TensorRT technology. Its primary goal is to provide users with a fast and effective means of enhancing image resolution, which is particularly beneficial for applications requiring high-quality visuals.
Key Features & Benefits
The tool boasts several practical features, including automatic CUDA detection and TensorRT installation, which simplifies the setup process for users. Additionally, it supports multiple upscaling models optimized for different types of images, ensuring versatility in application.
Advanced Functionalities
One of the standout capabilities of this tool is its support for dynamic image resolutions, allowing users to upscale images of varying sizes without manual adjustments. It also facilitates the use of advanced models like 4x-UltraSharp and RealESRGAN_x4, which can be selected based on the desired output quality and stability.
Practical Benefits
By integrating this upscaling tool into their workflow, ComfyUI users can significantly enhance their productivity and image quality. The speed improvements achieved through TensorRT enable faster processing times, allowing for greater efficiency in projects that require high-resolution images.
Credits/Acknowledgments
This project is developed with contributions from the community and is based on work from NVIDIA's Stable-Diffusion-WebUI-TensorRT and ComfyUI. The tool is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license, allowing for non-commercial use and modification.




