thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI
MIT License
1.72k stars 159 forks source link

RuntimeError #93

Open zark119 opened 1 year ago

zark119 commented 1 year ago

When using remove Background, this error happens:

RuntimeError: D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1069 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"

graemeniedermayer commented 1 year ago

Hm this might be a little complicated. The most relevant similar problem I could find was https://github.com/microsoft/onnxruntime/issues/11826#issue-1268407022

That post suggest it's an issue with dependencies https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements and https://onnxruntime.ai/docs/execution-providers/TensorRT-ExecutionProvider.html

Do you have a very new or older gpu?

F1rstDan commented 1 year ago

I have the same problem and don't know how to solve it.

Torch 2.0.0+cu118 autocast half RTX 4090 cuda: 11.8 cudnn: 8800