[Bug]: I randomly get this message "The future belongs to a different loop than the one specified as the loop argument" at start. Local instalation. Sometimes restarting a couple of times fixes the issue but then it gets back #14231
Replies: 2 comments 2 replies
-
I think I've got an idea why this error happens and how to fix it here is the combination of factors that makes this error appear. I have a card that has 6Gb of vram. Automatic and SD 1.5 works ok with default settings but SDXL doesn't. If you try to switch from an SD checkpoint to SDXL it will not work, it will not let you do it because there is not enough ram. To get SDXL to work I need to add the flag --lowvram in the startwebui bat file which will give more vram to automatic but will slowdown the generation of images. I've created two webui bat files one with --lowvram flag and one without this flag for easier use, when I want SDXL I use the second bat file to start automatic. The issue appears when, after using SDXL I forget to switch back in the drop down menu the checkpoint to a SD 1.5 model. This throws various errors, sometimes about this or that variable or function missing in some py file. other times the loop message from the title of this thread, other times, repeating a number, 1, or 1006. The webui will appear to work but you can't generate images, it appears it lets you change the checkpoint in the drop down menu, but sometimes will work and other times will not change the checkpoint even if the name selected in the dropdown menu changes. SDXL will still be the one set for automatic. To fix it I need to restart webui using SDXL batfile (the one with --lowvram flag) change to an SD 1.5 model, close the bat file and then open the default one. Maybe some code could be added at startup to check if the loading of the checkpoint have failed and switch to another one in the list till it finds one that works. |
Beta Was this translation helpful? Give feedback.
-
it is on an SSD. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've seen this error for a google colab netbook but I get this on my local installation, on my computer. This appears when starting automatic
The future belongs to a different loop than the one specified as the loop argument
sometimes this message is preceded by a number 1001 I think I don't recall, it doesn't always shows up.
When this message appears automatic will become unresponsive and I need to close the command prompt and restart it. Sometimes it takes one restart, other times multiple restarts till it works correctly and I don't get that message.
I don't know for certain if this message appears after automatic started correctly and I've generated a couple of images or only at startup.
Beta Was this translation helpful? Give feedback.
All reactions