You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/02/04 15:09:41 UTC
[GitHub] [incubator-mxnet] leezu edited a comment on issue #19731: USE_TENSORRT=1 not userfriendly
leezu edited a comment on issue #19731:
URL: https://github.com/apache/incubator-mxnet/issues/19731#issuecomment-773379037
If you use the latest `v1.x` branch, the instruction have been simplified thanks to @Kh4L
You just need to specify -DUSE_TENSORRT=1 and -DONNX_NAMESPACE=onnx , for example
```
cmake -DUSE_CUDA=1 \
-DUSE_CUDNN=1 \
-DUSE_OPENCV=1 \
-DONNX_NAMESPACE=onnx \
-DUSE_TENSORRT=1 \
-DUSE_OPENMP=0 \
-DUSE_MKLDNN=0 \
-DUSE_MKL_IF_AVAILABLE=OFF \
-DMXNET_CUDA_ARCH="$CI_CMAKE_CUDA_ARCH" \
-G Ninja \
/work/mxnet
ninja
```
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org