Run time roor

#37
by buenoclau - opened

Since yesterday I get this Runtime error and a bunch of code lines that I don't understand. Can someone help me? Is anybody getting this as well? Here the code:
runtime error
Exit code: 1. Reason: del_info(pretrained_model_name, token=token, revision=revision)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2467, in model_info
hf_raise_for_status(r)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 454, in hf_raise_for_status
raise _format(RepositoryNotFoundError, message, response) from e
huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-67febe05-377600ff41f6465d41f35620;dd200d4e-e68c-4cff-8bad-fc93510f8f2d)

Repository Not Found for url: https://huggingface.co/api/models/stabilityai/stable-cascade-prior.
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.
Invalid credentials in Authorization header

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

Traceback (most recent call last):
File "/home/user/app/app.py", line 32, in
prior_pipeline = StableCascadePriorPipeline.from_pretrained("stabilityai/stable-cascade-prior", torch_dtype=dtype)#.to(device)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 699, in from_pretrained
cached_folder = cls.download(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1536, in download
raise EnvironmentError(
OSError: Cannot load model stabilityai/stable-cascade-prior: model is not cached locally and an error occurred while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above.
Container logs:

===== Application Startup at 2025-04-15 20:13:45 =====

The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling transformers.utils.move_cache().

0it [00:00, ?it/s]
0it [00:00, ?it/s]
Couldn't connect to the Hub: 401 Client Error. (Request ID: Root=1-67febe0c-467db976028a8faa46f9a8fe;4026f084-4cf0-4b03-b9fc-43e8ed1f0e23)

Repository Not Found for url: https://huggingface.co/api/models/stabilityai/stable-cascade-prior.
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.
Invalid credentials in Authorization header.
Will try to load from local cache.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 406, in hf_raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.10/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/api/models/stabilityai/stable-cascade-prior

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

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1291, in download
info = model_info(pretrained_model_name, token=token, revision=revision)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2467, in model_info
hf_raise_for_status(r)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 454, in hf_raise_for_status
raise _format(RepositoryNotFoundError, message, response) from e
huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-67febe0c-467db976028a8faa46f9a8fe;4026f084-4cf0-4b03-b9fc-43e8ed1f0e23)

Repository Not Found for url: https://huggingface.co/api/models/stabilityai/stable-cascade-prior.
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.
Invalid credentials in Authorization header

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

Traceback (most recent call last):
File "/home/user/app/app.py", line 32, in
prior_pipeline = StableCascadePriorPipeline.from_pretrained("stabilityai/stable-cascade-prior", torch_dtype=dtype)#.to(device)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 699, in from_pretrained
cached_folder = cls.download(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1536, in download
raise EnvironmentError(
OSError: Cannot load model stabilityai/stable-cascade-prior: model is not cached locally and an error occurred while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above.

Please, just bring back stable cascade!!! I think a lot of people are missing it! Or maybe someone could answer if this is temporary or not!

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment