Skip to content

Too many LORAs on host machine breaks connection in A1111 #433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
As4shi opened this issue Mar 3, 2025 · 0 comments
Open

Too many LORAs on host machine breaks connection in A1111 #433

As4shi opened this issue Mar 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@As4shi
Copy link

As4shi commented Mar 3, 2025

Describe the bug
When having a large amount of LORAs on the host machine (the one hosting the A1111 instance), it might be impossible to connect through the app.
This seems to happen because it takes the API (sdapi/v1/loras) a long time to gather all the data and respond.

I have roughly 2500 LORAs atm, and I confirmed that starting A1111 without any LORAs made it possible to connect through the APP. (yes, I know, that is a lot and all that, but better have what you need when you need it, right?)

I'd like to also clarify that, perhaps surprisingly, the regular WebUI functions normally and I don't see any relevant performance issues on it.

To Reproduce
Steps to reproduce the behavior:

  1. Download a large amount of LORAs
  2. Start/Restart the A1111 instance
  3. Try to connect through the APP
  4. It won't connect due to the API not responding in time

Expected behavior
The app should have waited more and connected normally, or simply given up on acquiring the LORAs information, and then given a warning to the user about it.
Or maybe run this specific request async and then update the LORA list later, not sure how viable that is tho.

Alternatively, as a hotfix that is less intrusive than needing to rename a folder every time I want to use the APP, perhaps an option to disable the LORA feature on the app would be enough.

Screenshots
I don't see the need for screenshots, but let me know if you need something in specific.

Desktop:

  • OS: Win10
@ShiftHackZ ShiftHackZ added the bug Something isn't working label Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants