marcoabreu closed pull request #12274: [MXNET-703] Update onnx-tensorrt to most 
recent version
URL: https://github.com/apache/incubator-mxnet/pull/12274
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/3rdparty/onnx-tensorrt b/3rdparty/onnx-tensorrt
index e7be19cff37..3d8ee049970 160000
--- a/3rdparty/onnx-tensorrt
+++ b/3rdparty/onnx-tensorrt
@@ -1 +1 @@
-Subproject commit e7be19cff377a95817503e8525e20de34cdc574a
+Subproject commit 3d8ee049970e81ff4935cc7f36b653c0b27bcbbc
diff --git a/src/executor/onnx_to_tensorrt.cc b/src/executor/onnx_to_tensorrt.cc
index 0b4d91be700..e3a4ae868ce 100644
--- a/src/executor/onnx_to_tensorrt.cc
+++ b/src/executor/onnx_to_tensorrt.cc
@@ -91,8 +91,7 @@ nvinfer1::ICudaEngine* onnxToTrtCtx(
   TRT_Logger trt_logger(verbosity);
   auto trt_builder = InferObject(nvinfer1::createInferBuilder(trt_logger));
   auto trt_network = InferObject(trt_builder->createNetwork());
-  auto trt_parser  = InferObject(nvonnxparser::createParser(
-      *trt_network, trt_logger));
+  auto trt_parser  = InferObject(nvonnxparser::createParser(trt_network.get(), 
trt_logger));
   ::ONNX_NAMESPACE::ModelProto parsed_model;
   // We check for a valid parse, but the main effect is the side effect
   // of populating parsed_model


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to