-
-
Notifications
You must be signed in to change notification settings - Fork 499
Closed as not planned
Labels
staleStale issue or inactive for long period of timeStale issue or inactive for long period of time
Description
Had a strange error message 3 times at each startup of Stable Diffusion WebUI containing:
E r r o r ... o n n x r u n t i m e _ p r o v i d e r s _ c u d a . d l l
According to https://towardsdatascience.com/how-to-run-stable-diffusion-with-onnx-dafd2d29cd14 I found, that the wrong ONNX version was installed by the Stability Matrix installer.
Solution on my side:
G:\SD\Packages\Stable Diffusion WebUI>venv\scripts\activate
(venv) G:\SD\Packages\Stable Diffusion WebUI>pip uninstall onnxruntime-gpu
Found existing installation: onnxruntime-gpu 1.19.0
Uninstalling onnxruntime-gpu-1.19.0:
Would remove:
g:\sd\packages\stable diffusion webui\venv\lib\site-packages\onnxruntime\*
g:\sd\packages\stable diffusion webui\venv\lib\site-packages\onnxruntime_gpu-1.19.0.dist-info\*
g:\sd\packages\stable diffusion webui\venv\scripts\onnxruntime_test.exe
�[SM;{"type": "input", "data": "Proceed (Y/n)? "}�Proceed (Y/n)? y
Successfully uninstalled onnxruntime-gpu-1.19.0
...
(venv) G:\SD\Packages\Stable Diffusion WebUI>pip install onnxruntime-gpu==1.17.1 --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/
...
(venv) G:\SD\Packages\Stable Diffusion WebUI>deactivate
Metadata
Metadata
Assignees
Labels
staleStale issue or inactive for long period of timeStale issue or inactive for long period of time