NVIDIA / Stable-Diffusion-WebUI-TensorRT

TensorRT Extension for Stable Diffusion Web UI
MIT License
1.92k stars 146 forks source link

fix bugs in trt.py line 353: current_unet is none not have cnets #331

Open VitoChenLY opened 5 months ago

VitoChenLY commented 5 months ago

fix bugs in trt.py line 353: ERROR: Stable-Diffusion-WebUI-TensorRT/scripts/trt.py", line 353, in process_batch sd_unet.current_unet.cnets = None AttributeError: 'NoneType' object has no attribute 'cnets'