ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Very slow Control LoRA

Open dobindd opened this issue 2 years ago • 1 comments

Hi guys! I couldn’t find a similar problem, so I decided to create a separate topic.

I tried 3 different workflows for using the new Control LoRA with SDXL and in all cases the generation speed is incredibly low (about 30 minutes for one image). At the same time, SDXL itself works great, generating two 1024x1024 images in 29 seconds. What could be the problem?

Graphics card: 2060s 8gb ComfyUI (Nightly) Args: --windows-standalone-build --use-pytorch-cross-attention --disable-xformers (I tried with Xformers as well) https://huggingface.co/stabilityai/control-lora/tree/main

dobindd avatar Aug 22 '23 09:08 dobindd

I'm just adding SDXL to my workflow and seeing the same thing. Without any LoRAs, 23 steps, 1.82s/it, completes in 61.05 seconds (using a 3060 12GB). Adding a single SDXL Lora to the flow causes performance to plummet to 68.85s/it, which would be 36 minutes.

ghostsquad avatar Feb 01 '24 23:02 ghostsquad