runtime error
Exit code: 1. Reason: odel_name, token=token, revision=revision) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2638, in model_info hf_raise_for_status(r) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 482, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/CompVis/stable-diffusion-v1-4/revision/fp16 (Request ID: Root=1-68b00991-58393a805f12eb9d2ea72447;1a57ecf7-c267-4a9f-b5ab-8d7dda7b5e60) 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 19, in <module> pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=True, revision="fp16", torch_dtype=torch.float16).to("cuda") File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 833, in from_pretrained cached_folder = cls.download( File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1677, in download raise EnvironmentError( OSError: Cannot load model CompVis/stable-diffusion-v1-4: 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:
Fetching error logs...