Closed Ayaya70 closed 1 year ago
Can you provide the link for the VAE and model you used?
I used Hassaku model. The link is https://huggingface.co/nolanaatama/hssk/resolve/main/hssk.safetensors
I used the VAE present in the google colab, https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt but normally I just upload the VAE I want to in batchlinks downloader, and never had this problem before
Stable diffusion model failed to load Loading weights [None] from /content/models/hssk.safetensors Creating model from config: /content/stable-diffusion-webui/configs/v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. loading stable diffusion model: AssertionError Traceback (most recent call last): File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/content/stable-diffusion-webui/modules/ui.py", line 1515, in
update_image_cfg_scale_visibility = lambda: gr.update(visible=shared.sd_model and shared.sd_model.cond_stage_key == "edit") File "/content/stable-diffusion-webui/modules/shared.py", line 754, in sd_model return modules.sd_models.model_data.get_sd_model() File "/content/stable-diffusion-webui/modules/sd_models.py", line 439, in get_sd_model load_model() File "/content/stable-diffusion-webui/modules/sd_models.py", line 510, in load_model load_model_weights(sd_model, checkpoint_info, state_dict, timer) File "/content/stable-diffusion-webui/modules/sd_models.py", line 350, in load_model_weights sd_vae.load_vae(model, vae_file, vae_source) File "/content/stable-diffusion-webui/modules/sd_vae.py", line 138, in load_vae assert os.path.isfile(vae_file), f"VAE {vae_source} doesn't exist: {vae_file}" AssertionError: VAE from commandline argument doesn't exist: /content/VAE/https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt Stable diffusion model failed to load Loading weights [None] from /content/models/hssk.safetensors Creating model from config: /content/stable-diffusion-webui/configs/v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params
AssertionError: VAE from commandline argument doesn't exist: /content/VAE/https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt
You don't need to place the entire link, you only need the file name, hence that error
You only need to place the link in the first cell :)
I tested both of the model links you provided, and they seem to work just fine.
These are my cell inputs for reference:
⏬ Download models
🚀 Launch web UI
Closing this issue for now, feel free to open it again if something is really broken. And if so, please provide all of your inputs in the cells so we can debug this easier, thanks! :)
Thanks so much, I can't believe it was something so simple this entire time... The bizarre is that I always did that and no problems happened before, oh my. One last question, did you test the batchlink downloader? I don't want to risk because I already spent hours on this but just wanna confirm if VAEs uploaded there still works
Yep, Batchlinks works as expected!
I tried for almost 4 hours trying to solve VAE problem here, but it's useless. Always when I upload a VAE with PYOM* WebUI Colab it's said error couldn't load or it's said it has two PCs connected or something. And no, I'm not using twice. It works normal, but always when I'm putting a VAE it happens.