Skip to content

A1111 not loading models any more - all other S.M. packages work #1208

@fbauer-kunbus

Description

@fbauer-kunbus

What happened?

It has been some time since I used A1111 in S.M. - but always updated it. Now when launching the 'Stable Diffusion WebUI' package, before the

Running on local URL: http://192.168 ... Message I get a lot of errors in the console, indicating that something is not right with model loading (see log below). I don't think this has something to do with not being logged in into huggingface. It also doesn't occur with any of the other packages in S.M. (especially not with 'Fooocus' and 'Forge'), so I guess this is not a basic problem of model management but specific to S.M./A1111

The list of available models gets populated - but I cannot select any model - it always falls back to already set model and the console shows new error messages.

Steps to reproduce

  • Launch S.M.
  • Launch 'Stable Diffusion WebUI' package
  • You can start the Web-UI, but model loading creates a lot of errors

Relevant logs

Forge: False, reForge: False
Loading weights [b1689257e6] from C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\models\Stable-diffusion\sd\juggernautXL_versionXInpaint.safetensors
Creating model from config: C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\configs\sd_xl_inpaint.yaml
creating model quickly: OSError
Traceback (most recent call last):
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\utils\_http.py", line 409, in hf_raise_for_status
    response.raise_for_status()
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\requests\models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/None/resolve/main/config.json

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\transformers\utils\hub.py", line 424, in cached_files
    hf_hub_download(
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py", line 961, in hf_hub_download
    return _hf_hub_download_to_cache_dir(
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py", line 1068, in _hf_hub_download_to_cache_dir
    _raise_on_head_call_error(head_call_error, force_download, local_files_only)
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py", line 1596, in _raise_on_head_call_error
    raise head_call_error
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py", line 1484, in _get_metadata_or_catch_error
    metadata = get_hf_file_metadata(
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py", line 1401, in get_hf_file_metadata
    r = _request_wrapper(
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py", line 285, in _request_wrapper
    response = _request_wrapper(
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\file_download.py", line 309, in _request_wrapper
    hf_raise_for_status(response)
  File "C:\MyProg\StabilityMatrix\Data\Packages\stable-diffusion-webui\venv\lib\site-packages\huggingface_hub\utils\_http.py", line 459, in hf_raise_for_status
    raise _format(RepositoryNotFoundError, message, response) from e
huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-67f41fc8-5ad515ae1327f79c622339ae;6d34ec6e-6d3b-49e6-bffc-039b2b68fd51)

Repository Not Found for url: https://huggingface.co/None/resolve/main/config.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication
Invalid username or password.

Version

v 2.13.4

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleStale issue or inactive for long period of time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions