instantX-research / InstantID

InstantID: Zero-shot Identity-Preserving Generation in Seconds 🔥
https://instantid.github.io/
Apache License 2.0
11.12k stars 808 forks source link

Image creation is super slow #144

Open z0mb1e-kgd opened 9 months ago

z0mb1e-kgd commented 9 months ago

I have installed InstantID via Pinokio. The quality of the generated images is very good overall, but it takes approx. 30 minutes for a single image to be generated on my RTX 3060 12GB. The GPU load seem to be very inconsistent, as most of the time it shows minimal resource usage, with random spikes of 30 - 40 % GPU usage. instantid

haofanwang commented 9 months ago

For speed up, there have been some solutions.

  1. Using SDXL-turbo or LCM-LoRA. These methods can achieve good results with a few steps.
  2. Reduce the generated resolution. In my case, 768x768 works fine.
  3. Refer to Lvming's recent work stable-diffusion-webui-forge which conducts a lot of optimization on VRAM.