Open TobiasReich opened 1 week ago
There is currently an issue between ONNX and ONNX runtime on the latest version of InvokeAI. For some reason when I use the InvokeAI installer, after updating it my InvokeAI installation I realized that it doesn't create all the folder it used to. I also tried it on a random new folder installation to trigger a full new install, and it did the same thing once again. It just created a .venv folder but none of the models, config, database and so on little folders that it used to make... It just generate or update the .venv folder and it downloads incompatible versions of ONNX and ONNX Runtime. You're the lucky though as I pieced a solution together after looking into forums and running some test.
pip uninstall onnx onnxruntime
Press (Y) to both time that it ask you if you want to uninstall the respective packages Then enter this next
pip install onnx==1.16.1 onnxruntime==1.16.3
Let it do its thing and write "exit"
TLDR - Uninstall the version of ONNX and ONNX Runtime that you have currently install in your venv and reinstall ONNX 1.16.1 & ONNX Runtime 1.16.3
Note:
- These are the earliest version of ONNX and ONNX Runtime I could run together with my InvokeAI installation. If you try >1.16.2 for ONNX and >1.16.3ONNX Runtime you will constantly run into this error.
- This behavior has been happening to me since the previous update of 5.2.0rc1 and is currently still happening with 5.2.0rc1. I don't know what cause this but ONNX and ONXX runtime gets updated to their latest respective version when updating InvokeAI and both of these versions seem to not be working for InvokeAI.
DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed.
Is there an existing issue for this problem?
Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
RTX 4080
GPU VRAM
16
Version number
5.2.0rc1
Browser
Firefox
Python dependencies
No response
What happened
I had some dependency issues (newer ones were installed during installation and thus I could not proceed with the installation). The latest version 5.2.0rc1 solved this. I installed invokeAI the usual way but when I started it I got this error.
I did the usual fixes like
Any idea what I might try next?
What you expected to happen
The application should start as usual.
How to reproduce the problem
No response
Additional context
No response
Discord username
No response