SwarmUI
SwarmUI copied to clipboard
Unusable When You Have MANY Loras Locally
Expected Behavior
The UI Is usable
Actual Behavior
The UI runs at extremely low framerates and frequently locks up, sometimes to the point that the entire tab dies (Chrome, Degoogled Chromium, Vivaldi, Firefox, makes no difference). Sometimes I will try to type in a prompt and have to wait a full 10+ seconds before what I typed actually appears, etc, or before it lets me click on anything, or before my click from 20 seconds ago finally has an effect. It's like working with a very slow slideshow. I have a great deal of patience, and I can firmly say this is in an unusable state for how trial-and-error AI is.
Steps to Reproduce
Have 2183 loras installed locally (Or seemingly over 2000?)
Debug Logs
https://paste.denizenscript.com/View/126818
Other
I've used SwarmUI for almost 2 months now, and had nearly no issues with it (other than some metadata related issues with loras). I'm actually not specifically sure when this problem started, but it happened somewhere between having 1900-2200 loras - nothing I do in the UI will alleviate the issues (other than if I search for something in the lora tab that has very few results, though the lag still somewhat persists in some of the menus, I'm assuming it's because it's not trying to load up the entire compendium of loras all at once when I filter them?). I tried all the lora views (cards/thumbnails/etc) and that seemed to have no impact. I did notice it slowly got laggier, and after going on a hunt for more loras over the last week, it is now unusable.
Unrelated, but I started using SwarmUI after InvokeAI because Invoke became unusable for the very same reason... just that took far less loras before I had problems with it. I get this is a very... unique and possibly niche issue, but it's still a problem.