Open ju-h4 opened 1 week ago
Hey, the cause of the error is this part here:
Failed to install ZLUDA: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)>
Using CPU-only torch
I dont know which Certificate has expired. but what you can try to fix is doing these steps:
pip cache purge
to remove broken packages and temp stuff.Let me know if it works then.
Ah. Thanks, I completely overlooked the "preparation" point, my mistake. I'll try it out tonight and let you know if I've got it right.
Hey @CS1o, Unfortunately, it didn't work. I have upgraded the Python version, emptied the pip cache, deleted the venv folder (I could not find a .zluda folder, maybe because zluda was not started properly?) and executed webui-user.bat again. Unfortunately with the same result:
Is there any debug option that I can see which certificate might be affected? Thanks & Regards
Hey @CS1o, I fixed the issue. urllib, that was used in zluda_installer.py can be erratic on Windows see: https://github.com/python/cpython/issues/101738 I replaced it by using the python requests library:
import requests
...
open('_zluda', 'wb').write(requests.get(f'https://github.com/lshqqytiger/ZLUDA/releases/download/{RELEASE}/ZLUDA-windows-amd64.zip', allow_redirects=True).content)
Sorry, I'm not a python developer, so maybe it's not a good idea if I would create a pull request for that change. And I don't know why others do not run in that error in Windows - so I don't know, if one should replace urllib lib by requests lib.
Update: Dude, that's so nice with ZLUDA, so fast, I like <3.
Checklist
What happened?
I installed web-ui with zluda via this manual: https://github.com/CS1o/Stable-Diffusion-Info/wiki/Installation-Guides#amd-automatic1111-with-zluda
When I start the web-ui I get these "errors":
Web-UI starts, but no model can be loaded. What did I wrong?
Steps to reproduce the problem
Just follow the steps from https://github.com/CS1o/Stable-Diffusion-Info/wiki/Installation-Guides#amd-automatic1111-with-zluda
What should have happened?
Web-UI should work with ZLUDA.
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
sysinfo-2024-06-20-06-52.json
Console logs
Additional information
I updated my GPU driver to the latest AMD Adrenaline Version 24.5.1