Skip to content
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

Unable to use GPU #49

Open
256387110 opened this issue Jan 3, 2025 · 1 comment
Open

Unable to use GPU #49

256387110 opened this issue Jan 3, 2025 · 1 comment

Comments

@256387110
Copy link

Microsoft.ML.OnnxRuntime.OnnxRuntimeException:“[ErrorCode:RuntimeException] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1539 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "D:\C#\YOLO\bin\Debug\net8.0-windows\runtimes\win-x64\native\onnxruntime_providers_cuda.dll"Microsoft.ML.OnnxRuntime.OnnxRuntimeException:“[ErrorCode:RuntimeException] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1539 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "D:\C#\YOLO\bin\Debug\net8.0-windows\runtimes\win-x64\native\onnxruntime_providers_cuda.dll"

@256387110
Copy link
Author

I seem to have found the problem, it may be a problem with the version of onnxruntime, I reduced your program to 2.0.0, can run the gpu, no error. But I think it's spurious because there's no improvement in detection speed with GPU acceleration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant