HOT FIX: ORT 1.16.0 Issue

Temporary fix due to the MS Issue of 1.16.0 ORT library https://github.com/microsoft/onnxruntime/issues/17631
Default 'AzureExecutionProvider' instead of CPU
Awaiting for the 1.16.1 patch
This commit is contained in:
Gourieff 2023-09-23 11:20:50 +07:00
parent 9e33a555bd
commit 41d5b1e3ad
3 changed files with 5 additions and 5 deletions

View File

@ -204,7 +204,7 @@ Please, check the path where "inswapper_128.onnx" model is stored. It must be in
7. Then one-by-one:
- `pip install insightface==0.7.3`
- `pip install onnx`
- `pip install onnxruntime`
- `pip install onnxruntime==1.15.1`
- `pip install opencv-python`
- `pip install tqdm`
8. Type `deactivate`, you can close your Terminal or Console and start your SD WebUI, ReActor should start OK - if not, welcome to the Issues section.
@ -241,7 +241,7 @@ and put it to the `stable-diffusion-webui\models\insightface` replacing existing
- `pip uninstall -y onnx onnxruntime onnxruntime-gpu onnxruntime-silicon onnxruntime-extensions`
- `pip install onnx==1.14.1 onnxruntime==1.15.1`
If it didn't help - it seems that you have another extension reinstalling `onnxruntime` when SD WebUI checks requirements. Please see your extensions list. If you find there "WD14 tagger" - try to disable it and then follow the steps above once again. This extension causes reinstalling of `onnxruntime` to `onnxruntime-gpu` or `onnxruntime-extensions` every time SD WebUI runs.
If it didn't help - it seems that you have another extension reinstalling `onnxruntime` when SD WebUI checks requirements. Please see your extensions list. If you find there "WD14 tagger" - try to disable it and then follow the steps above once again. This extension causes reinstalling of `onnxruntime` to `onnxruntime-gpu` or `onnxruntime==1.16.0` every time SD WebUI runs.<br>ORT 1.16.0 has a bug https://github.com/microsoft/onnxruntime/issues/17631 - don't install it!
### **VII. "ImportError: cannot import name 'builder' from 'google.protobuf.internal'"**

View File

@ -208,7 +208,7 @@ Inpainting также работает, но замена лица происх
7. Далее:
- `pip install insightface==0.7.3`
- `pip install onnx`
- `pip install onnxruntime`
- `pip install onnxruntime==1.15.1`
- `pip install opencv-python`
- `pip install tqdm`
8. Выполните `deactivate`, закройте Терминал или Консоль и запустите SD WebUI, ReActor должен запуститься без к-л проблем - если же нет, добро пожаловать в раздел "Issues".
@ -245,7 +245,7 @@ Inpainting также работает, но замена лица происх
- `pip uninstall -y onnx onnxruntime onnxruntime-gpu onnxruntime-silicon onnxruntime-extensions`
- `pip install onnx==1.14.1 onnxruntime==1.15.1`
Если это не помогло - значит какое-то другое расширение переустанавливает `onnxruntime` всякий раз, когда SD WebUI проверяет требования пакетов. Внимательно посмотрите список активных расширений. Если видите там "WD14 tagger" - попробуйте отключить его и ещё раз выполнить шаги выше. Это расширение вызывает переустановку `onnxruntime` на `onnxruntime-gpu` при каждом запуске SD WebUI.
Если это не помогло - значит какое-то другое расширение переустанавливает `onnxruntime` всякий раз, когда SD WebUI проверяет требования пакетов. Внимательно посмотрите список активных расширений. Если видите там "WD14 tagger" - попробуйте отключить его и ещё раз выполнить шаги выше. Это расширение вызывает переустановку `onnxruntime` на `onnxruntime-gpu` или `onnxruntime==1.16.0` при каждом запуске SD WebUI.<br>ORT 1.16.0 выкатили с ошибкой https://github.com/microsoft/onnxruntime/issues/17631 - не устанавливайте её!
### **VII. "ImportError: cannot import name 'builder' from 'google.protobuf.internal'"**

View File

@ -1,4 +1,4 @@
insightface==0.7.3
onnx>=1.14.0
onnxruntime>=1.15.0
onnxruntime==1.15.1
opencv-python>=4.7.0.72