feat: optional TensorRT provider for ONNX runtime issue #353#371
Open
saivarunkonda wants to merge 1 commit intoNeptuneHub:mainfrom
Open
feat: optional TensorRT provider for ONNX runtime issue #353#371saivarunkonda wants to merge 1 commit intoNeptuneHub:mainfrom
saivarunkonda wants to merge 1 commit intoNeptuneHub:mainfrom
Conversation
Author
|
@NeptuneHub/maintainers Could you please approve workflows for this fork PR and review it? This PR addresses #353 (optional TensorRT EP, default behavior unchanged with USE_TENSORRT=false), with local NVIDIA validation completed. |
Owner
|
Hi and thanks for raising this or, but before proceding with the merge I want to be extra sure that there is a real advantages and is all properly tested.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #353
Summary
Adds optional TensorRT execution provider support for ONNX Runtime while keeping default behavior unchanged (
USE_TENSORRT=false).What changed
TensorRT -> CUDA -> CPU) intasks/onnx_providers.py.USE_TENSORRTconfig flag and wired it into NVIDIA compose templates +.env.example.Validation
USE_TENSORRT=trueselectsTensorrtExecutionProviderfirst.USE_TENSORRT=falsekeepsCUDAExecutionProviderfirst (existing behavior preserved).libnvinfer.so.10,libnvinfer_plugin.so.10).Notes