You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and checked the recent builds/commits
What happened?
I started getting this error after upgrading a few extensions (control net, animate diff, dynamic prompts/wildcards, auto tls). I have been using the dev branch to get this fix and am on commit 5e80d9ee; I also tried on the the more recent commit 8aa51f68 and have done a full re-install by backing up my venv directory and letting the webui setup make a new one.
I checked in repositories\stable-diffusion-stability-ai\ldm\models\autoencoder.py, and did not see anything named VQModelInterface. Did something go wrong with my installation/setup?
Here is the relevant stack trace:
Loading VAE weights specified in settings: C:\stable-diffusion-webui\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying attention optimization: xformers... done.
loading stable diffusion model: ImportError
Traceback (most recent call last):
File "C:\Users\Me\AppData\Local\Programs\Python\Python310\lib\threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "C:\Users\Me\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\Me\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\stable-diffusion-webui\modules\initialize.py", line 147, in load_model
shared.sd_model # noqa: B018
File "C:\stable-diffusion-webui\modules\shared_items.py", line 112, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "C:\stable-diffusion-webui\modules\sd_models.py", line 522, in get_sd_model
load_model()
File "C:\stable-diffusion-webui\modules\sd_models.py", line 655, in load_model
sd_hijack.model_hijack.hijack(sd_model)
File "C:\stable-diffusion-webui\modules\sd_hijack.py", line 259, in hijack
import modules.models.diffusion.ddpm_edit
File "C:\stable-diffusion-webui\modules\models\diffusion\ddpm_edit.py", line 27, in <module>
from ldm.models.autoencoder import VQModelInterface, IdentityFirstStage, AutoencoderKL
ImportError: cannot import name 'VQModelInterface' from 'ldm.models.autoencoder' (C:\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\models\autoencoder.py)
Stable diffusion model failed to load
Steps to reproduce the problem
git checkout 5e80d9ee (dev branch)
Run webui-user.bat (using args --medvram --xformers)
See error preventing SD model load, hopefully
What should have happened?
The SD model should load & the UI setup should finish
Solved my own problem, it was because the LDSR extension had somehow become disabled, I assume through some mechanism of the upgrade process though I don't understand why as I didn't target it for an upgrade and didn't turn it off manually. Found this out via this discussion
Is there an existing issue for this?
What happened?
I started getting this error after upgrading a few extensions (control net, animate diff, dynamic prompts/wildcards, auto tls). I have been using the dev branch to get this fix and am on commit
5e80d9ee
; I also tried on the the more recent commit8aa51f68
and have done a full re-install by backing up myvenv
directory and letting the webui setup make a new one.I checked in
repositories\stable-diffusion-stability-ai\ldm\models\autoencoder.py
, and did not see anything namedVQModelInterface
. Did something go wrong with my installation/setup?Here is the relevant stack trace:
Steps to reproduce the problem
git checkout 5e80d9ee
(dev branch)webui-user.bat
(using args--medvram --xformers
)What should have happened?
The SD model should load & the UI setup should finish
Sysinfo
sysinfo-2023-11-24-17-19.txt
What browsers do you use to access the UI ?
Brave
Console logs
Additional information
Currently enabled extensions:
The text was updated successfully, but these errors were encountered: