Kilvoctu / aiyabot

A neat Discord bot for AUTOMATIC1111's Web UI
GNU General Public License v2.0
309 stars 76 forks source link

Exceeding 25 LORAs fails #167

Closed fiveseven808 closed 1 year ago

fiveseven808 commented 1 year ago

If you add more than 25 (number guessed, works at 19, fails at 51) LORAs to the SD install, and then try to do a extra_net parameter, discord throws a "Loading options failed" error.

I have 51 LORAs in a directory that are viewable by my webui, but this bot gets upset.

Kilvoctu commented 1 year ago

My AIYA isn't upset, but I treat her quite well 🙂. I can't replicate this issue, and I have 117 LoRAs (and 25 hypernets) loaded in Web UI. They all appear in the extra_net option.

I thought the hypernets might be at fault, so I deleted all my hypernets, but still no issues. I then deleted all but exactly 51 LoRAs from my Web UI and I'm still not having this issue; all 51 loaded properly.
I'm going to need some more information to help troubleshoot the cause of your issue.

If you run /info and click LoRA, does the list populate at all? It'll look something like this; this is mine, for example:

image ![image](https://user-images.githubusercontent.com/2993060/232599196-9cfe74b7-a53b-48e5-801c-c72ee4109366.png)

Have you tried following these steps in my wiki faq?

fiveseven808 commented 1 year ago

Hmmm okay I have no words... I was having the issue last night but after rebooting the bots and the server, I can't seem to replicate it. It appears to work just as you show it does. I'm closing the issue as I can no longer replicate the issue. Thank you for checking!

Kilvoctu commented 1 year ago

No prob, glad it's working for you. As mentioned in my linked faq, it's a very finicky thing sometimes because the Web UI has no official LoRA support.