Skip to content
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]: Non checkpoints found. Can't run without a checkpoint. #16487

Closed
3 of 6 tasks
johngavingraham opened this issue Sep 14, 2024 · 3 comments
Closed
3 of 6 tasks

[Bug]: Non checkpoints found. Can't run without a checkpoint. #16487

johngavingraham opened this issue Sep 14, 2024 · 3 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@johngavingraham
Copy link

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

I get the same error as this old bug report, but the proposed solution does not work - it references the installation instructions, specifically downloading the model, but I think that's out of date as I don't see that now. Where exactly do I get the model from, and where do I place it?

I'm new to all this, sorry if I'm doing something stupid but I've tried to get this working for a while on a couple of different machines. I'm on Fedora 40 if it makes any difference.

Steps to reproduce the problem

Install on a new install of Fedora 40:

pyenv install 3.11
pyenv global 3.11
wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh
export COMMANDLINE_ARGS="--skip-torch-cuda-test" # I found I needed these as my GPU wouldn't get recognised
python_cmd=python3 bash -x webui.sh

What should have happened?

Run and work correctly on a first-time install

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

Sorry, I don't see the prompted option in the web UI and if I run webui.sh with --dump-sysinfo I get an AttributeError from python

Console logs

loading stable diffusion model: FileNotFoundError
Traceback (most recent call last):
  File "/home/john/.pyenv/versions/3.11.10/lib/python3.11/threading.py", line 1002, in _bootstrap
    self._bootstrap_inner()
  File "/home/john/.pyenv/versions/3.11.10/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/home/john/src/stable-diffusion/download/stable-diffusion-webui/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "/home/john/src/stable-diffusion/download/stable-diffusion-webui/venv/lib/python3.11/site-packages/gradio/utils.py", line 707, in wrapper
    response = f(*args, **kwargs)
  File "/home/john/src/stable-diffusion/download/stable-diffusion-webui/modules/ui.py", line 1165, in <lambda>
    update_image_cfg_scale_visibility = lambda: gr.update(visible=shared.sd_model and shared.sd_model.cond_stage_key == "edit")
  File "/home/john/src/stable-diffusion/download/stable-diffusion-webui/modules/shared_items.py", line 175, in sd_model
    return modules.sd_models.model_data.get_sd_model()
  File "/home/john/src/stable-diffusion/download/stable-diffusion-webui/modules/sd_models.py", line 693, in get_sd_model
    load_model()
  File "/home/john/src/stable-diffusion/download/stable-diffusion-webui/modules/sd_models.py", line 788, in load_model
    checkpoint_info = checkpoint_info or select_checkpoint()
                                         ^^^^^^^^^^^^^^^^^^^
  File "/home/john/src/stable-diffusion/download/stable-diffusion-webui/modules/sd_models.py", line 234, in select_checkpoint
    raise FileNotFoundError(error_message)
FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
 - file /home/john/src/stable-diffusion/download/stable-diffusion-webui/model.ckpt
 - directory /home/john/src/stable-diffusion/download/stable-diffusion-webui/models/Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.


### Additional information

_No response_
@johngavingraham johngavingraham added the bug-report Report of a bug, yet to be confirmed label Sep 14, 2024
@w-e-w
Copy link
Collaborator

w-e-w commented Sep 14, 2024

normally we download a checkpoint for you automatically but this happended
but the place we used to download the model deleted the model

it is recommended that you go download a model that you like from sites like https://civitai.com/models

most mode should work at least the ones I checked
image

download the checkpoint you like but you need at least one
place it in your stable-diffusion-webui/models/Stable-diffusion
and launch webui

@itsmehemant123
Copy link

I've encountered this issue on a fresh install today, thanks for making an issue for this.

@johngavingraham
Copy link
Author

That's got me up and running, thanks very much @w-e-w !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

3 participants