-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reactor wont work cause of cuda / onxruntime #388
Comments
https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements |
Thank you for the advice
Le sam. 9 mars 2024 à 05:33, Eugene Gourieff ***@***.***> a
écrit :
…
https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements
Please rollback to CUDA 12.2 or 12.1
There's no info about 12.3 support for ORT-GPU
—
Reply to this email directly, view it on GitHub
<#388 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5V7DT37TNEYWR5D5AUM6JTYXKGITAVCNFSM6AAAAABEM7FN6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWG4ZDKOBSGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
same problem with new update to 1.8 |
I've had tons of trouble with A1111 ever since the update from 1.6 (I'm running inside Stability Matrix) even though Reactor was working fine w 1.6. Then I installed stablediffusion Forge and it solved a lot of problems, so now Reactor works as well as ever, possibly even better. |
First, confirm
What happened?
Won't work, here is the code :
16:06:31 - ReActor - STATUS - Working: source face index [0], target face index [0]████| 29/29 [00:17<00:00, 1.52it/s]
16:06:31 - ReActor - STATUS - Analyzing Source Image...
2024-03-08 16:06:31.5076937 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\stable-diffusion-webui-1.8.0\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"
*************** EP Error ***************
EP Error D:\a_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:857 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA andcuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported.
when using ['CUDAExecutionProvider']
Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
2024-03-08 16:06:31.6020997 [E:onnxruntime:Default, provider_bridge_ort.cc:1548 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\stable-diffusion-webui-1.8.0\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"
*** Error running postprocess_image: C:\stable-diffusion-webui-1.8.0\extensions\sd-webui-reactor\scripts\reactor_faceswap.py
Traceback (most recent call last):
File "C:\stable-diffusion-webui-1.8.0\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 419, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "C:\stable-diffusion-webui-1.8.0\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 483, in _create_inference_session
sess.initialize_session(providers, provider_options, disabled_optimizers)
RuntimeError: D:\a_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:857 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA andcuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported.
I've put PATH to the right directories for cuda, and set cuda_home.
I've updated onxruntime for cuda 12.3
This bug happened after I updated to SD 1.8
Any help is welcome.
Steps to reproduce the problem
Sysinfo
Windows 10 - Nvidia Rtx 2070 - intel i5 6th g - Stabble diffusion - Reactor
Relevant console log
Additional information
No response
The text was updated successfully, but these errors were encountered: