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

Upgrade invoke to v3.3.0post3 #596

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dinandmentink
Copy link

@dinandmentink dinandmentink commented Oct 4, 2023

Closes issue #595

I'm unsure what the procedure is to update the different backends. But upgrading invoke to version v3.2.2. works perfectly for me (see screenshot below) and fixes my issue.

image

Update versions

@AbdBarho
Copy link
Owner

AbdBarho commented Oct 7, 2023

hey thank you, can you check that if you add any models from UI, would the configuration be saved when you restart the container?

@dinandmentink
Copy link
Author

Sure, I could try that. I have never worked with installing models. Could you please point me to the easiest model to download and install?

@AbdBarho
Copy link
Owner

Hey sorry for being so late on this, life got in the way, I will comeback to this shortly.

@AbdBarho
Copy link
Owner

I pushed one commit, it seems that the new folder structure of invoke will force everyone to redownload all the models on start up, which is not what we want.

This will take more time.

@dinandmentink
Copy link
Author

Hey sorry for being so late on this, life got in the way, I will comeback to this shortly.

No worries, take care.

I pushed one commit, it seems that the new folder structure of invoke will force everyone to redownload all the models on start up, which is not what we want.

This will take more time.

Ok. I'll wait. For now I got it working locally (with redownloading all the models on startup, you're right). So I'm fine. Good luck!

@geekyouth
Copy link

webui-docker-invoke-1  | [2023-11-30 01:29:55,456]::[InvokeAI]::INFO --> Installing https://huggingface.co/embed/EasyNegative/resolve/main/EasyNegative.safetensors [3/11]
webui-docker-invoke-1  | [2023-11-30 01:29:57,022]::[InvokeAI]::INFO --> /InvokeAI/models/tmpxihpxo6l/EasyNegative.safetensors: Downloading...
/InvokeAI/models/tmpxihpxo6l/EasyNegative.safetensors: 100% 24.7k/24.7k [00:00<00:00, 308kiB/s]
webui-docker-invoke-1  | [2023-11-30 01:29:57,105]::[InvokeAI]::INFO --> Installing lllyasviel/control_v11f1p_sd15_depth [4/11]
webui-docker-invoke-1  | [2023-11-30 01:29:58,196]::[InvokeAI]::INFO --> config.json: Downloading...
config.json: 100% 945/945 [00:00<00:00, 1.18MiB/s]
webui-docker-invoke-1  | Traceback (most recent call last):
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
webui-docker-invoke-1  |     httplib_response = self._make_request(
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
webui-docker-invoke-1  |     self._validate_conn(conn)
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
webui-docker-invoke-1  |     conn.connect()
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/urllib3/connection.py", line 419, in connect
webui-docker-invoke-1  |     self.sock = ssl_wrap_socket(
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
webui-docker-invoke-1  |     ssl_sock = _ssl_wrap_socket_impl(
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
webui-docker-invoke-1  |     return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/ssl.py", line 513, in wrap_socket
webui-docker-invoke-1  |     return self.sslsocket_class._create(
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/ssl.py", line 1071, in _create
webui-docker-invoke-1  |     self.do_handshake()
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/ssl.py", line 1342, in do_handshake
webui-docker-invoke-1  |     self._sslobj.do_handshake()
webui-docker-invoke-1  | ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1007)
webui-docker-invoke-1  | 
webui-docker-invoke-1  | During handling of the above exception, another exception occurred:
webui-docker-invoke-1  | 
webui-docker-invoke-1  | Traceback (most recent call last):
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
webui-docker-invoke-1  |     resp = conn.urlopen(
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
webui-docker-invoke-1  |     retries = retries.increment(
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
webui-docker-invoke-1  |     raise MaxRetryError(_pool, url, error or ResponseError(cause))
webui-docker-invoke-1  | urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Max retries exceeded with url: /repos/87/db/87dbc35498cbc07f55b975cd38ac1e2482d8440ccae676328faabc0cf5c51c5d/999aca923ca5e19e70e6afc8d11073cc3c03553ca935b636bd5925df4a1c77d1?r
esponse-content-disposition=attachment%3B+filename*%3DUTF-8%27%27diffusion_pytorch_model.safetensors%3B+filename%3D%22diffusion_pytorch_model.safetensors%22%3B&Expires=1701566999&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwMTU2Njk5OX19LCJSZXNvdXJjZS
I6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy84Ny9kYi84N2RiYzM1NDk4Y2JjMDdmNTViOTc1Y2QzOGFjMWUyNDgyZDg0NDBjY2FlNjc2MzI4ZmFhYmMwY2Y1YzUxYzVkLzk5OWFjYTkyM2NhNWUxOWU3MGU2YWZjOGQxMTA3M2NjM2MwMzU1M2NhOTM1YjYzNmJkNTkyNWRmNGExYzc3ZDE~cmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=kCz
F1ayJKBqujkb1WFUl6EOEuRNXk~VQJAC6zNYqt0w8IsXvxPaABUMkk0U3AJU0qap2KcPetykLfrV0poh1QmAre1DqSmbPVHGXkwdyBPaLxpJ4-OWakfAqBa1-aJZNAKbFyNNUhQ9Ii6kCxcQsnUpIbZKHP9hTCp-FNpiG-Yhlys2r0-R4CQcHIaMPPdE6HDu6nRj4XUgUOsx3hJNt-MWCQReimCCt7a43Ziy0fwR3tDQOSGiUIMtDniv-MkQXr44w-Ru9Gyr09x8mBi-tg2hpF3~vxbtOqxZupAzln~z
n5EfaPXpXij3y0ErALsPsGC4gw6Y14z0Cn5uBQfLPgw__&Key-Pair-Id=KVTP0A1DKRTAX (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1007)')))
webui-docker-invoke-1  | 
webui-docker-invoke-1  | During handling of the above exception, another exception occurred:
webui-docker-invoke-1  | 
webui-docker-invoke-1  | Traceback (most recent call last):
webui-docker-invoke-1  |   File "/opt/conda/bin/invokeai-configure", line 8, in <module>
webui-docker-invoke-1  |     sys.exit(invokeai_configure())
webui-docker-invoke-1  |   File "/InvokeAI/invokeai/backend/install/invokeai_configure.py", line 943, in main
webui-docker-invoke-1  |     process_and_execute(opt, models_to_download)
webui-docker-invoke-1  |   File "/InvokeAI/invokeai/frontend/install/model_install.py", line 689, in process_and_execute
webui-docker-invoke-1  |     installer.install(selections)
webui-docker-invoke-1  |   File "/InvokeAI/invokeai/backend/install/model_install_backend.py", line 217, in install
webui-docker-invoke-1  |     self.heuristic_import(path)
webui-docker-invoke-1  |   File "/InvokeAI/invokeai/backend/install/model_install_backend.py", line 262, in heuristic_import
webui-docker-invoke-1  |     models_installed.update({str(model_path_id_or_url): self._install_repo(str(model_path_id_or_url))})
webui-docker-invoke-1  |   File "/InvokeAI/invokeai/backend/install/model_install_backend.py", line 364, in _install_repo
webui-docker-invoke-1  |     location = self._download_hf_model(repo_id, files, staging, subfolder=subfolder)
webui-docker-invoke-1  |   File "/InvokeAI/invokeai/backend/install/model_install_backend.py", line 506, in _download_hf_model
webui-docker-invoke-1  |     p = hf_download_with_resume(
webui-docker-invoke-1  |   File "/InvokeAI/invokeai/backend/install/model_install_backend.py", line 575, in hf_download_with_resume
webui-docker-invoke-1  |     resp = requests.get(url, headers=header, stream=True)
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/requests/api.py", line 73, in get
webui-docker-invoke-1  |     return request("get", url, params=params, **kwargs)
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/requests/api.py", line 59, in request
webui-docker-invoke-1  |     return session.request(method=method, url=url, **kwargs)
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
webui-docker-invoke-1  |     resp = self.send(prep, **send_kwargs)
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/requests/sessions.py", line 723, in send
webui-docker-invoke-1  |     history = [resp for resp in gen]
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/requests/sessions.py", line 723, in <listcomp>
webui-docker-invoke-1  |     history = [resp for resp in gen]
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/requests/sessions.py", line 266, in resolve_redirects
webui-docker-invoke-1  |     resp = self.send(
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
webui-docker-invoke-1  |     r = adapter.send(request, **kwargs)
webui-docker-invoke-1  |   File "/opt/conda/lib/python3.10/site-packages/requests/adapters.py", line 563, in send
webui-docker-invoke-1  |     raise SSLError(e, request=request)
webui-docker-invoke-1  | requests.exceptions.SSLError: HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Max retries exceeded with url: /repos/87/db/87dbc35498cbc07f55b975cd38ac1e2482d8440ccae676328faabc0cf5c51c5d/999aca923ca5e19e70e6afc8d11073cc3c03553ca935b636bd5925df4a1c77d1?respo
nse-content-disposition=attachment%3B+filename*%3DUTF-8%27%27diffusion_pytorch_model.safetensors%3B+filename%3D%22diffusion_pytorch_model.safetensors%22%3B&Expires=1701566999&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcwMTU2Njk5OX19LCJSZXNvdXJjZSI6Im
h0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy84Ny9kYi84N2RiYzM1NDk4Y2JjMDdmNTViOTc1Y2QzOGFjMWUyNDgyZDg0NDBjY2FlNjc2MzI4ZmFhYmMwY2Y1YzUxYzVkLzk5OWFjYTkyM2NhNWUxOWU3MGU2YWZjOGQxMTA3M2NjM2MwMzU1M2NhOTM1YjYzNmJkNTkyNWRmNGExYzc3ZDE~cmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qIn1dfQ__&Signature=kCzF1ay
JKBqujkb1WFUl6EOEuRNXk~VQJAC6zNYqt0w8IsXvxPaABUMkk0U3AJU0qap2KcPetykLfrV0poh1QmAre1DqSmbPVHGXkwdyBPaLxpJ4-OWakfAqBa1-aJZNAKbFyNNUhQ9Ii6kCxcQsnUpIbZKHP9hTCp-FNpiG-Yhlys2r0-R4CQcHIaMPPdE6HDu6nRj4XUgUOsx3hJNt-MWCQReimCCt7a43Ziy0fwR3tDQOSGiUIMtDniv-MkQXr44w-Ru9Gyr09x8mBi-tg2hpF3~vxbtOqxZupAzln~zn5Ef
aPXpXij3y0ErALsPsGC4gw6Y14z0Cn5uBQfLPgw__&Key-Pair-Id=KVTP0A1DKRTAX (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1007)')))
webui-docker-invoke-1  | /opt/conda/lib/python3.10/tempfile.py:860: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/tmp96tqve9v'>
webui-docker-invoke-1  |   _warnings.warn(warn_message, ResourceWarning)
webui-docker-invoke-1 exited with code 1
root@KELL-PC:/mnt/d/.algolaser/.code/.docker/stable-diffusion-webui-docker# 

@dakyskye
Copy link

dakyskye commented Apr 1, 2024

Still waiting for #595 to close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment