-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
[Bug]: impossible to change models #13245
Comments
I had that same problem in windows today as well, after cloning the git. I was testing to see if I could get it to work with python 3.11 and cuda121, pytorch 2.2... and that was the result. Make sure you install the venv with python 3.10. If you have a newer version, or multiple versions of python installed, you can get around that problem by installing python 3.10.6, and running this at command prompt; you may have to delete your venv first
Otherwise, try deleting your venv, and creating a new one., or deleting the packages listed with the errors |
I have Python 3.10.6. I have also already tried deleting /venv/ in the WebUI folder. |
Do you have a way to reproduce the issue? You can try to move the models completely outside stable-diffusion-webui folder, this error could be webui's "falling back to previously used model" failing to load |
I solved the problem this way: |
I have the same issue. Updated my extensions today and it stopped working. Can't load any checkpoints and always tries to downoad model.safetensors despite there being one there already. The command line arg to stop it from downloading a model doesn't work. I can get the UI up in debug mode. So I figured it out.. I had to let it download the new clip model. It ate my config.json but it's back. |
and now XL also downloads a 10gb ip_pytorch_model.bin to an unknown folder. If I let it finish it will probably load but that's a lot to download through unstable PT downloader with no resume. |
I have no idea what to do :( |
UPD: Just discovered that the problem only occurs when the Clip Interrogator extension is installed. After removing it from the extensions folder, the problem went away. I have no idea how the Clip Interrogator extension can cause errors and an attempt to download a 10Gb file when trying to change the model to SDXL in the WebUI. This even as formulated looks extremely strange :) But the fact is: removing the extension fixed the problem. |
The 10gb model is a CLIP model. The errors that cause it come from repositories/stable-diffusion. I will try to disable the clip extension and see if the error goes away. |
I found the bug!
It is supposed to disable loading the clip model but it loads anyway so no point. fix by:
|
Thanks for your hard working. It is very useful. |
This worked you're a genius @Ph0rk0z |
Hi, are you still there? Could you expand on how to remove the extension? I haven't installed any extensions, and there is nothing in the stable-diffusion-webui-master\stable-diffusion-webui-master\extensions folder. |
fantastic work. i wiped my venv today and upon rebuild got the same error messages. substituting "pretrained_model_name_or_path" in place of None worked perfectly! |
See my cross-post here: TheLastBen/fast-stable-diffusion#2937 (comment) I think it will solve the issue as it did for me. Enjoy |
Is there an existing issue for this?
What happened?
Steps to reproduce the problem
What should have happened?
On startup I get a long list of errors. The log is below.
Then the interface starts. But if I try to change the model to any SDXL, I get a long list of errors again and see in the console that it is trying to download strange file ip_pytorch_model.bin weighing 10GB
Sysinfo
sysinfo-2023-09-14-04-05.txt
What browsers do you use to access the UI ?
Google Chrome
Console logs
The text was updated successfully, but these errors were encountered: