AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.27k stars 26.43k forks source link

[Bug]: Checkpoint not found #5582

Open TheRealShieri opened 1 year ago

TheRealShieri commented 1 year ago

Is there an existing issue for this?

What happened?

Hey, i'm trying to load the nai model's and I have the api setup on a discord bot to input and produce the images into chat. But whenever I try to use nai.ckpt or other similar files like waifu-diffusion I would get the error and it would load onto a fallback of a generic model.

Steps to reproduce the problem

Model's such as Waifu-diffusion, Novel AI and a handful of others on use or switching models would force loading fallback,

What should have happened?

Model of choice should load instead of not finding checkpoint and loading fallback instead.

Commit where the problem happens

44c46f0ed395967cd3830dd481a2db759fda5b3b

What platforms do you use to access UI ?

Windows, Linux

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--listen --api

Additional information, context and logs

Python 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0] Commit hash: 44c46f0ed395967cd3830dd481a2db759fda5b3b Installing requirements for Web UI Launching Web UI with arguments: --listen --api No module 'xformers'. Proceeding without it. Checkpoint nai.ckpt not found; loading fallback nai.ckpt [925997e9] Loading config from: /home/shieri/stable-diffusion-webui/models/Stable-diffusion/nai.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Loading weights [925997e9] from /home/shieri/stable-diffusion-webui/models/Stable-diffusion/nai.ckpt Using VAE found similar to selected model: /home/shieri/stable-diffusion-webui/models/Stable-diffusion/nai.vae.pt Loading VAE weights from: /home/shieri/stable-diffusion-webui/models/Stable-diffusion/nai.vae.pt Applying cross attention optimization (Doggettx). Model loaded. Checkpoint nai.ckpt not found; loading fallback nai.ckpt [925997e9] Loaded a total of 0 textual inversion embeddings.

jn-jairo commented 1 year ago

When starting it looks for the checkpoint saved by the title, if something in the title is different it fallbacks to the first checkpoint found.

After starting select the checkpoint in the UI to save the correct checkpoint.

pwatx commented 1 year ago

Hello, guys, I have met the same question. Switching the models in webui was useless, and it will report "Checkpoint c6092188 not found" and then loading fallback the last models. Very annoying and I have no idea about this. Did anyone have the solutions?

Taikakim commented 1 year ago

I'm having this too with some checkpoints, but not all. So I suspect it's got something to do with the files themselves maybe?