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

How should I configure GPU inference using the exe installation package? #86

Open
ZJDATY opened this issue May 25, 2023 · 5 comments
Open

Comments

@ZJDATY
Copy link

ZJDATY commented May 25, 2023

After selecting the model, it will report this error.
image

My local environment is cuda11.7+cudnn8.6+onnxruntime-gpu1.14.0. All of the above have added environment variables. CUDA_ PATH is also configured correctly. I have also placed the DLL file for onnxruntime-gpu1.14.0 in the running directory.
image
The model using YOLOV8N did not report any errors, but the task manager did not use GPU inference.
@vietanhdev May I ask what I should do?

@vietanhdev
Copy link
Owner

Please check the version of CUDA and CUDNN:

@ZJDATY
Copy link
Author

ZJDATY commented May 31, 2023

Please check the version of CUDA and CUDNN:

@vietanhdev
I have set the path of the environment variable as required. Using cuda11.6.2 and cudnn 8.5.0.96. And copied all the folders of cudnn to/ Under the path of CUDA/v11.6/. But the software still reported the same error.
image
image
image
image
image

@ZJDATY
Copy link
Author

ZJDATY commented May 31, 2023

I placed all the correct version of the DLL files in the exe path, but the same error was still reported.

image

@CryMasK
Copy link

CryMasK commented Jul 23, 2023

I face the same problem.

I used CUDA 11.8 and cudnn 8.9.3 at the first time. It detected a segment successfully, then the program crashed immediately.
When I reopened the program and tried to load the model, it showed the error.

I found this issue ticket, and installed the correct version of CUDA and cudnn, but still no luck.

@Loongle
Copy link

Loongle commented Feb 3, 2024

@ZJDATY I have same problem, Did you solve it?

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

4 participants