-
Notifications
You must be signed in to change notification settings - Fork 3k
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
using TensorRT EP by nuget #21428
Comments
For 1.18.1, since you use cuda 11.8, you need cuDNN 8.9 and TRT 10. If you want to use cuDNN 9, you will need install package for cuda 12: https://onnxruntime.ai/docs/install/#install-onnx-runtime-gpu-cuda-12x-1 |
thanks, i will test and send the result. |
now i added "TensorRT-10.2.0.19.Windows.win10.cuda-11.8", "cudnn-windows-x86_64-8.9.0.131_cuda11", "Microsoft.ML.OnnxRuntime 1.18.1", "Microsoft.ML.OnnxRuntime.Gpu 1.18.1" and cuda 11.8. @tianleiwu is there any error at my sample code or is it from the libraries? |
Could you follow the example code here: |
with little changes, it worked. i removed the " Ort::ThrowOnError" parts and the final results are achieved |
issue seems to be resolved. closing. |
Describe the issue
Hi
i want to use TensorRT EP but don't know how.
first is i used custom build with windows 10 and vs2019 but i get some errors at building mu project.
now I'm using nuget but i get same errors.
827 unresolved externals errors!
the onnxRuntime config is this:
and the enviroment variable is this:
To reproduce
Please Help.
Urgency
No response
Platform
Windows
OS Version
10
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.18.1
ONNX Runtime API
C++
Architecture
X64
Execution Provider
TensorRT
Execution Provider Library Version
CUDA 11.8
The text was updated successfully, but these errors were encountered: