How to solve "Connection errored out" / "Press anykey to continue ..." / etc #1474
lllyasviel
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(This post is copied from here)
RuntimeError: CPUAllocator
See also the section: System Swap
Model loaded, then paused, then nothing happens
See also the section: System Swap
Segmentation Fault
See also the section: System Swap
Aborted
See also the section: System Swap
core dumped
See also the section: System Swap
Killed
See also the section: System Swap
^C, then quit
See also the section: System Swap
T5 dtype detected, then crash
See also the section: System Swap
Patching lora XXX/XXX, then crash
See also the section: System Swap
Connection errored out
See also the section: System Swap
Error 1006
See also the section: System Swap
WinError 10060
See also the section: System Swap
Read timed out
See also the section: System Swap
No error, but the console close in a flash. Cannot find any error.
See also the section: System Swap
Model loading is extremely slow (more than 1 minute)
See also the section: System Swap
System Swap
All above problems are caused by the fact that you do not have enough System Swap.
Please make sure that you have at least 40GB System Swap. In fact, it does not need so much Swap, but 40Gb should be safe for you to run in 100% success.
(If you have more than 64GB RAM, then perhaps you do not need any System Swap, but we are not exactly sure about this.)
Also, if your system swap is on HDD, the speed of model loading will be very slow. Please try best to put system swap on SSD.
If you are using Linux/Mac, please follow your provider's instructions to set Swap Space. Herein, the "provider" refers to Ubuntu official, CentOS official, Mac official, etc.
If you are using Windows, you can set Swap here:
If you use both HDD and SSD, you may test some settings on the above step 7 to try best to put swap area on SSD, so that the speed of model loading will be faster.
Important: Microsoft Windows 10/11 by default automate system swap for you so that you do not need to touch this dangerous setting. If you do not have enough system swap, just make sure that you have at least 40GB free space on each disk. The Microsoft Windows 10/11 will automatically make swap areas for you.
Also, if you obtain Microsoft Windows 10/11 from some unofficial Chinese or Russian provider, they may have modified the default setting of system swap to advertise some "Enhanced Windows 10/11" (but actually they are just making things worse rather than improve things). In those cases, you may need to manually check if your system swap setting is consistent to the above screenshot.
Finally, note that you need to restart computer to activate any changes in system swap.
MetadataIncompleteBuffer
See also the section: Model corrupted
PytorchStreamReader failed
See also the section: Model corrupted
origin/safetensors.py XXX
See also the section: Model corrupted
Model corrupted
If you see Model Corrupted, then your model is corrupted or your
safetensors
cannot read the model file. Consider redownload model and reinstall safetensors like 'pip uninstall safetensors' and then 'pip install safetensors'.UserWarning: The operator 'aten::std_mean.correction' is not currently supported on the DML
This is a warning that you can ignore.
Torch not compiled with CUDA enabled
You are not following the official installation guide.
subprocess-exited-with-error
Please use python 3.10
Also, you are not following the official installation guide.
SSL: CERTIFICATE_VERIFY_FAILED
Are you living in China? If yes, please consider turn off VPN, and/or try to download models manually.
If you get this error elsewhere in the world, then you may need to look at this search. We cannot give very specific guide to fix this since the cause can vary a lot.
Beta Was this translation helpful? Give feedback.
All reactions