Open MNeMoNiCuZ opened 4 months ago
Similar slowdowns happen to generation speeds from just adding lora's to the prompt at all. Same prompt with or without lora in it takes different time to process. It's significant and noticeable if using more than one lora in the prompt. In a1111 generation times don't vary this much just because I added an extra Lora or two. For that matter, it seems to be unable to apply lora's to generations with the LCM sampler as well.
Checklist
What happened?
I have found that Forge is considerably slower and "laggier" when switching between Checkpoints, LoRAs, and the other extra networks tabs.
Compared to A1111, there's a long loading time on a fresh start of the program, but it seems that A1111 handles the content caching differently.
With Forge, if you switch between Checkpoints and LoRA's for example, there's then a period where nothing in the UI is clickable. I can't select a model, switch back to Checkpoints.
Going from Checkpoints to LoRA to Checkpoints again takes ~30 seconds for me. With A1111, it takes 5 seconds.
This won't be noticable until you have a large amount of models. I have ~1000 checkpoints and ~10.000 LoRAs.
Steps to reproduce the problem
And for 3-5 seconds after switching to another tab, the UI is unresponsive. I can still scroll the mouse-wheel to scroll the models list, but nothing anywhere can be clicked. The mouse cursor does not turn into a link-cursor (hand).
Additionally, even typing in the filter box is incredibly slow. It's like it re-filters everything and reloads it for every key that you type. I have to wait 5 seconds before each letter appears, if I type into the LoRA filter box with my 11k models.
What should have happened?
Forge should ideally perform on par with A1111, or better.
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
sysinfo-2024-02-12-21-58.json
Console logs
Additional information
Both A1111 and Forge are located on an NVMe drive. I have tried both in regular mode and incognito mode in Chrome and Firefox, the issue is there for all cases. I have disabled ad-blockers and the issue is still there.