Closed Agubigubagada closed 4 months ago
Same error today.
also getting the same error
I found that this issue was related to the latest onnxruntime-directml==1.18.1, reported here:
https://github.com/microsoft/onnxruntime/issues/21270
Try reverting to the previous version with
pip install onnxruntime-directml==1.18.0
I found that this issue was related to the latest onnxruntime-directml==1.18.1, reported here:
Try reverting to the previous version with
pip install onnxruntime-directml==1.18.0
I just tried it and it didn't work, I also tried this command with a clean install BEFORE launching webui-user.bat, it didn't work either
I found that this issue was related to the latest onnxruntime-directml==1.18.1, reported here: microsoft/onnxruntime#21270 Try reverting to the previous version with
pip install onnxruntime-directml==1.18.0
I just tried it and it didn't work, I also tried this command with a clean install BEFORE launching webui-user.bat, it didn't work either
Just to make sure everything is working right, do the following:
webui.bat --use-directml
or set --use-directml to cmd line args with webui-user.bat like you did.\venv\scripts\activate
pip install onnxruntime-directml==1.18.0
- this should replace 1.18.1pip install onnxruntime==1.18.0
- just in case? I haven't had issues yetwebui.bat --use-directml
or use cmd line argsI found that this issue was related to the latest onnxruntime-directml==1.18.1, reported here: microsoft/onnxruntime#21270 Try reverting to the previous version with
pip install onnxruntime-directml==1.18.0
I just tried it and it didn't work, I also tried this command with a clean install BEFORE launching webui-user.bat, it didn't work either
Just to make sure everything is working right, do the following:
- Delete the venv folder
- cd to the stable diff folder
- in conda or terminal:
webui.bat --use-directml
or set --use-directml to cmd line args with webui-user.bat like you did- you should get the .dll error
- enter the venv with:
.\venv\scripts\activate
- enter:
pip install onnxruntime-directml==1.18.0
- this should replace 1.18.1- optionally also do
pip install onnxruntime==1.18.0
- just in case? I haven't had issues yet- launch with:
webui.bat --use-directml
or use cmd line args- It should launch
This method helped me and is the solution to this problem. Thank you.
This worked for me as well, thank you!
Checklist
What happened?
After the first launch (with installation) and the following launches, I get this error: ImportError: DLL load failed while importing onnxruntime_pybind11_state: Произошел сбой в программе инициализации библиотеки динамической компоновки (DLL). (translation: There was a failure in the Dynamic Link Library initialization program (DLL)).
Steps to reproduce the problem
What should have happened?
WebUI launch
What browsers do you use to access the UI ?
No response
Sysinfo
Sysinfo.txt
Console logs
Additional information
No response