lsy643 commented on a change in pull request #7162:
URL: https://github.com/apache/tvm/pull/7162#discussion_r567517620
##########
File path: src/runtime/contrib/tensorrt/tensorrt_runtime.cc
##########
@@ -83,8 +83,8 @@ class TensorRTRuntime : public JSONRuntimeBase {
ICHECK_EQ(consts.size(), const_idx_.size())
<< "The number of input constants must match the number of required.";
LoadGlobalAttributes();
- if (GetCachedEnginesFromDisk()) return;
SetupConstants(consts);
+ if (GetCachedEnginesFromDisk()) return;
Review comment:
If and return removed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]