NVIDIA / Stable-Diffusion-WebUI-TensorRT

TensorRT Extension for Stable Diffusion Web UI
MIT License
1.9k stars 145 forks source link

HIRES Fix not working with Controlnet for SD1.5 #292

Open Shubham-Sahoo opened 6 months ago

Shubham-Sahoo commented 6 months ago

The HIRES Fix is working independently, but not with controlnets. The error is for size mismatch :

sample = sample + controlnet_cond
                 ~~~~~~~^~~~~~~~~~~~~~~~~
RuntimeError: The size of tensor a (128) must match the size of tensor b (64) at non-singleton dimension 3