dje-dev / Ceres

Ceres - an MCTS chess engine for research and recreation
GNU General Public License v3.0
153 stars 23 forks source link

ONNXRuntimeError:1:FAIL:LoadLibrary failed with error 126 when trying to load onnxruntime_providers_cuda.dll #88

Open JohnDijkstra opened 6 days ago

JohnDijkstra commented 6 days ago

After installing Ceres, according to the installation instructions described here, I get the above error message. The onnxruntime_providers_cuda.dll are of course sitting in the referenced directory.

What could the problem? I am running on Windows 10.

Thx, John

dje-dev commented 6 days ago

It's confusing that Windows will claim onnxruntime_providers_cuda.dll is the problem, but what it actually means is that this DLL or any of its dependencies cannot be found. Almost certainly that DLL is found but the CuDNN library is not found. Please carefully follow the instructions to install (and verify installation) of these libraries from here: https://github.com/dje-dev/Ceres/blob/main/markup/instructions_3.md

JohnDijkstra commented 3 days ago

Thanks for the hint. After removing and reinstalling various NVidia software, I got ceres to run.