Ultra-fast TensorRT RTX execution engine and auxiliary modules for CCSR (Creative Content Super-Resolution), designed for real-time generative image upscaling in ComfyUI.
π¦ ComfyUI Loader & Upscaler Extension: All nodes supporting TensorRT engine execution are available in: π https://github.com/ussoewwin/ComfyUI-NunchakuFluxLoraStacker
Creative Content Super-Resolution (CCSR) is a diffusion-based super-resolution framework leveraging a Controlled UNet and ControlNet structure to synthesize rich photorealistic textures and fine details.
This repository provides an optimized NVIDIA TensorRT RTX Engine implementation for CCSR:
ccsr_apply_f16io.rtxplan):
ccsr_trt_aux.safetensors):
| Filename | Description | Architecture / Components | File Size | Recommended Location | License |
|---|---|---|---|---|---|
ccsr_apply_f16io.rtxplan | TensorRT Fused Denoising Engine | ControlNet + UNet fused RTX Engine (Tile 512px / Latent 64Γ64) | ~1.4 GB | custom_nodes/.../nodes/CCSR/trt_engines/ | Apache-2.0 |
ccsr_trt_aux.safetensors | TRT Auxiliary Weights | FP16 VAE AutoencoderKL + Condition Encoder | ~450 MB | custom_nodes/.../nodes/CCSR/trt_engines/ | Apache-2.0 |
Measurements conducted on an NVIDIA RTX 4090 / RTX 5090 environment:
| Execution Mode | Files Required | VRAM Overhead (Denoising) | Step Latency (Tile 512) | Speedup |
|---|---|---|---|---|
| Stock CCSR (FP16 PyTorch) | Full Checkpoint (~3.2 GB) | ~3.8 GiB | ~113 ms / step | 1.0Γ (Baseline) |
| CCSR TensorRT RTX | Engine + Aux (~1.85 GB total) | ~2.2 GiB | ~24 ms / step | ~4.7Γ faster |
TensorRT engine execution for CCSR is integrated natively into the ComfyUI-NunchakuFluxLoraStacker custom-node pack.
Install the Custom Node Pack:
cd ComfyUI/custom_nodes
git clone https://github.com/ussoewwin/ComfyUI-NunchakuFluxLoraStacker.git
Place Engine & Aux Files:
Download both ccsr_apply_f16io.rtxplan and ccsr_trt_aux.safetensors and place them directly into the engine directory:
ComfyUI/custom_nodes/ComfyUI-NunchakuFluxLoraStacker/nodes/CCSR/trt_engines/
βββ ccsr_apply_f16io.rtxplan
βββ ccsr_trt_aux.safetensors
In ComfyUI:
Load CCSR Model (TensorRT) (LoadCCSRModelTensorRT). The node automatically discovers .rtxplan files in trt_engines/ and loads the companion ccsr_trt_aux.safetensors.ccsr_model output to CCSR Upscale (TRT) (CCSR_Upscale_TRT).image.tile_size: 512 (fixed to match the compiled static engine shape)tile_stride: 256 (recommended for seamless blending)color_fix_type: adain (or wavelet / none)steps: Effective diffusion step count (densified schedule guarantees exact execution of requested step count)nodes/CCSR/)10 commits
Ultra-fast TensorRT RTX execution engine and auxiliary modules for CCSR (Creative Content Super-Resolution), designed for real-time generative image upscaling in ComfyUI.
π¦ ComfyUI Loader & Upscaler Extension: All nodes supporting TensorRT engine execution are available in: π https://github.com/ussoewwin/ComfyUI-NunchakuFluxLoraStacker
Creative Content Super-Resolution (CCSR) is a diffusion-based super-resolution framework leveraging a Controlled UNet and ControlNet structure to synthesize rich photorealistic textures and fine details.
This repository provides an optimized NVIDIA TensorRT RTX Engine implementation for CCSR:
ccsr_apply_f16io.rtxplan):
ccsr_trt_aux.safetensors):
| Filename | Description | Architecture / Components | File Size | Recommended Location | License |
|---|---|---|---|---|---|
ccsr_apply_f16io.rtxplan | TensorRT Fused Denoising Engine | ControlNet + UNet fused RTX Engine (Tile 512px / Latent 64Γ64) | ~1.4 GB | custom_nodes/.../nodes/CCSR/trt_engines/ | Apache-2.0 |
ccsr_trt_aux.safetensors | TRT Auxiliary Weights | FP16 VAE AutoencoderKL + Condition Encoder | ~450 MB | custom_nodes/.../nodes/CCSR/trt_engines/ | Apache-2.0 |
Measurements conducted on an NVIDIA RTX 4090 / RTX 5090 environment:
| Execution Mode | Files Required | VRAM Overhead (Denoising) | Step Latency (Tile 512) | Speedup |
|---|---|---|---|---|
| Stock CCSR (FP16 PyTorch) | Full Checkpoint (~3.2 GB) | ~3.8 GiB | ~113 ms / step | 1.0Γ (Baseline) |
| CCSR TensorRT RTX | Engine + Aux (~1.85 GB total) | ~2.2 GiB | ~24 ms / step | ~4.7Γ faster |
TensorRT engine execution for CCSR is integrated natively into the ComfyUI-NunchakuFluxLoraStacker custom-node pack.
Install the Custom Node Pack:
cd ComfyUI/custom_nodes
git clone https://github.com/ussoewwin/ComfyUI-NunchakuFluxLoraStacker.git
Place Engine & Aux Files:
Download both ccsr_apply_f16io.rtxplan and ccsr_trt_aux.safetensors and place them directly into the engine directory:
ComfyUI/custom_nodes/ComfyUI-NunchakuFluxLoraStacker/nodes/CCSR/trt_engines/
βββ ccsr_apply_f16io.rtxplan
βββ ccsr_trt_aux.safetensors
In ComfyUI:
Load CCSR Model (TensorRT) (LoadCCSRModelTensorRT). The node automatically discovers .rtxplan files in trt_engines/ and loads the companion ccsr_trt_aux.safetensors.ccsr_model output to CCSR Upscale (TRT) (CCSR_Upscale_TRT).image.tile_size: 512 (fixed to match the compiled static engine shape)tile_stride: 256 (recommended for seamless blending)color_fix_type: adain (or wavelet / none)steps: Effective diffusion step count (densified schedule guarantees exact execution of requested step count)nodes/CCSR/)10 commits