-
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
[TensorRT EP] Update TRT10.0 deprecated api #20989
Conversation
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc
Outdated
Show resolved
Hide resolved
Please remove lines with
|
Thanks for the context. These 4996 usage have been reverted |
there are build errors? D:\a_work_temp\TensorRT-10.0.1.6.Windows10.x86_64.cuda-11.8\include\NvInferRuntimeBase.h#L593 |
This reverts commit facd228.
Including nvinfer.h would cause C4996 errors during Windows ORT build, when |
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_custom_ops.cc
Outdated
Show resolved
Hide resolved
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc
Outdated
Show resolved
Hide resolved
was the rellocateOutput->reallocateOutputAsync change tested on Faster-RCNN with oss parser? |
That has been tested with no issue |
Description
Note:
Here are deprecated apis to be updated in this PR:
Check ExecutionContextAllocationStrategy::kUSER_MANAGED for more detail
Motivation and Context
TRT deprecated api list: https://docs.nvidia.com/deeplearning/tensorrt/api/c_api/deprecated.html