Repository navigation
[TF:TRT] Always set binding dimension - #52181
Merged
Merged
Conversation
tfeher
force-pushed
the
trt_fix_shape_io
branch
from
September 29, 2021 13:07
d46f0a1 to
ccd6d32
Compare
bixia1
self-requested a review
September 29, 2021 15:03
bixia1
reviewed
Sep 29, 2021
tfeher
force-pushed
the
trt_fix_shape_io
branch
from
September 30, 2021 15:29
ccd6d32 to
db20761
Compare
tfeher
commented
Sep 30, 2021
tfeher
force-pushed
the
trt_fix_shape_io
branch
2 times, most recently
from
September 30, 2021 17:58
cabffc3 to
629b402
Compare
tfeher
force-pushed
the
trt_fix_shape_io
branch
from
September 30, 2021 21:05
629b402 to
3788642
Compare
bixia1
approved these changes
Sep 30, 2021
sanjoy
removed their request for review
October 1, 2021 03:35
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.
This PR fixes a bug related to shape value tensor handling and input shape specification: we need to set binding dimensions even if tensor is not an execution tensor
Background. According to nvinfer1::ITensor::isExecutionTensor API description:
This PR fixes optimization profile definition for that case, by always calling execution_context->setBindingDimension().
A unit test is added to for such a case.
Tracker #45481
Tagging @bixia1 for review.