You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/06/14 06:59:37 UTC

[GitHub] [incubator-mxnet] chrisboo commented on issue #15176: MXNet TensorRT: Please ensure build was compiled with MXNET_USE_TENSORRT enabled.

chrisboo commented on issue #15176: MXNet TensorRT: Please ensure build was compiled with MXNET_USE_TENSORRT enabled.
URL: https://github.com/apache/incubator-mxnet/issues/15176#issuecomment-501993345
 
 
   I have set it. It is in the script.
   
   ```
   # Execute with TensorRT
   print('Building TensorRT engine')
   os.environ['MXNET_USE_TENSORRT'] = '1'
   arg_params.update(aux_params)
   all_params = dict([(k, v.as_in_context(mx.gpu(0))) for k, v in arg_params.items()])
   executor = mx.contrib.tensorrt.tensorrt_bind(sym, ctx=mx.gpu(0), all_params=all_params,
                                                data=batch_shape, grad_req='null', force_rebind=True)
   ```
   
   I think the problem is that MXNet, installed via mxnet-tensorrt-cu90, is not actually built with the `USE_TENSORRT` option.

----------------------------------------------------------------
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


With regards,
Apache Git Services