During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 798, in urlopen
retries = retries.increment(
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/spaces/gradio/soft (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:997)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/stable-diffusion/02-sd-webui/modules/shared.py", line 774, in reload_gradio_theme
gradio_theme = gr.themes.ThemeClass.from_hub(theme_name)
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/gradio/themes/base.py", line 165, in from_hub
space_info = api.space_info(name)
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1801, in space_info
r = get_session().get(path, headers=headers, timeout=timeout, params=params)
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/requests/adapters.py", line 517, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/spaces/gradio/soft (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:997)')))
*** Error verifying pickled file from /opt/stable-diffusion/02-sd-webui/models/VAE-approx/model.pt
*** The file may be malicious, so the program is not going to read it.
*** You can skip this check with --disable-safe-unpickle commandline argument.
***
Traceback (most recent call last):
File "/opt/stable-diffusion/02-sd-webui/modules/safe.py", line 137, in load_with_extra
check_pt(filename, extra_handler)
File "/opt/stable-diffusion/02-sd-webui/modules/safe.py", line 83, in check_pt
with zipfile.ZipFile(filename) as z:
File "/usr/lib/python3.10/zipfile.py", line 1249, in __init__
self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/stable-diffusion/02-sd-webui/models/VAE-approx/model.pt'
---
*** Error completing request
*** Arguments: ('task(gqg7linmlmb4ii6)', 'tifa', '', [], 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, '', '', [], 0, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0) {}
Traceback (most recent call last):
File "/opt/stable-diffusion/02-sd-webui/modules/call_queue.py", line 55, in f
res = list(func(*args, **kwargs))
File "/opt/stable-diffusion/02-sd-webui/modules/call_queue.py", line 35, in f
res = func(*args, **kwargs)
File "/opt/stable-diffusion/02-sd-webui/modules/txt2img.py", line 57, in txt2img
processed = processing.process_images(p)
File "/opt/stable-diffusion/02-sd-webui/modules/processing.py", line 620, in process_images
res = process_images_inner(p)
File "/opt/stable-diffusion/02-sd-webui/modules/processing.py", line 684, in process_images_inner
sd_vae_approx.model()
File "/opt/stable-diffusion/02-sd-webui/modules/sd_vae_approx.py", line 42, in model
sd_vae_approx_model.load_state_dict(torch.load(model_path, map_location='cpu' if devices.device.type != 'cuda' else None))
File "/opt/stable-diffusion/02-sd-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1994, in load_state_dict
raise TypeError("Expected state_dict to be dict-like, got {}.".format(type(state_dict)))
TypeError: Expected state_dict to be dict-like, got <class 'NoneType'>.
---
Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
Version: v1.4.0
Commit hash: 394ffa7b0a7fff3ec484bcd084e673a8b301ccc8
Installing requirements
Launching Web UI with arguments: --listen --port 9000 --enable-insecure-extension-access --medvram --xformers --no-half-vae --disable-nan-check
dirname: /opt/stable-diffusion/02-sd-webui/localizations
localizations: {'zh_CN': '/opt/stable-diffusion/02-sd-webui/localizations/zh_CN.json'}
Loading weights [fc2617094d] from /opt/stable-diffusion/02-sd-webui/models/Stable-diffusion/真人/chilled_re-generic.safetensors
preload_extensions_git_metadata for 9 extensions took 0.20s
Running on local URL: http://0.0.0.0:9000 |