#SPEED PROBLEM
9 messages · Page 1 of 1 (latest)
Hi @gray crater. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
There could be several reasons why you're experiencing slow image generation with SDXL models. Here are a few things you could check or try:
-
Check your VRAM usage: High VRAM usage can slow down image generation. You can check this in your system's activity monitor. If it's too high, you might want to close other applications that are using a lot of VRAM.
-
Adjust your cache size: If the cache size in your
invoke.yamlfile is too high, it can slow down generation speed. Try setting the cache to a lower value, like 0.25, and see if that helps. -
Check your GPU usage: Make sure that Invoke AI is using your GPU for image generation. You can check this in your system's activity monitor. If it's not, you might need to adjust your settings to ensure that Invoke AI is using your GPU.
-
Adjust the number of steps: The number of steps performed in each generation can affect the generation time. Higher step counts typically create better images but require more generation time. You might want to try reducing the number of steps to see if that speeds up the generation process.
-
Check for software updates: Make sure you're using the latest version of Invoke AI. There might be updates or fixes that could improve performance.
-
Reinstall Invoke AI: If none of the above solutions work, you might want to try reinstalling Invoke AI.
Remember, SDXL models are larger and more complex than other models, so they naturally take longer to generate images. However, if the generation time is excessively long, it might be worth reaching out to Invoke AI's support for further assistance.
Sources:
- Github Issue 5341 (https://github.com/invoke-ai/InvokeAI/issues/5341)
- Github Issue 4539 (https://github.com/invoke-ai/InvokeAI/issues/4539)
- Github Issue 4739 (https://github.com/invoke-ai/InvokeAI/issues/4739)
- Github Issue 5494 (https://github.com/invoke-ai/InvokeAI/issues/5494)
- Github Issue 5012 (https://github.com/invoke-ai/InvokeAI/issues/5012)
- Github Issue 5723 (https://github.com/invoke-ai/InvokeAI/issues/5723)
- Invoke AI Support Article (https://support.invoke.ai/support/solutions/articles/151000159073-general-settings#Steps (Advanced-Options)
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@gray crater kapa.ai is still learning and improving, please let us know how it did by reacting below
the problem isnt when generation a simple image. The problem starts when adding control nets or ip adapters
this card has 8GB of VRAM this is the minimum for SDXL, each Controlnet or Ip adapters is to much for the vram.
Same issue, any help guys. Thanks in advance!
Get a Hardware upgrade or dont use Controlnets/ip adapters. Using SD1.5 can help with that too, because there is that enough spare vram for Controlnets/ip adapters.