Repository navigation
[TF:TRT] INT8 calibration in dynamic shape mode - #55166
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). For more information, open the CLA check for this pull request. |
dc67e08 to
1bea265
Compare
1bea265 to
0af5b8e
Compare
0af5b8e to
b55e628
Compare
tfeher
left a comment
There was a problem hiding this comment.
Thanks @bixia1 for the additional comments, I have addressed those.
We have discussed offline about the possibility of adding the calibration_input_fn arg to the build() method. I propose to start a separate PR for that, and continue the discussion there.
bixia1
left a comment
There was a problem hiding this comment.
Thanks for working on this! Just one minor comment and then it should be ready for landing.
b55e628 to
934cc10
Compare
|
@bixia1 I have fixed the issues. |
934cc10 to
3f2216d
Compare
|
@tfeher Can you please resolve conflicts? Thank you! |
e7d82de to
49cb98c
Compare
49cb98c to
f9467f4
Compare
|
@bixia1 The CI failure was caused by an issue in the algorithm selector in TRT 7.x. We had a workaround in place, but it was only active for TRT 7.1. I have adjusted it make it work with TRT 7.2 as well |
This PR enables INT8 conversion with calibration in dynamic shape mode.
Tracker: #45481