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/01/30 02:43:19 UTC

[GitHub] wkcn commented on issue #9880: TVM bridge support to JIT NDArray Function by TVM

wkcn commented on issue #9880: TVM bridge support to JIT NDArray Function by TVM
URL: https://github.com/apache/incubator-mxnet/pull/9880#issuecomment-458790311
 
 
   @tqchen Hi!
   I would like to use `MXTVMBridge` to accelerate my project, but there is a flaky problem.
   
   I wrote a [minimum reproducible example](https://github.com/wkcn/test_tvm_bridge).
   In this example, `tvm_packed_func.h` is simplyfied from TVM.
   ### Steps to reproduce
   1. clone the example
   2. change the path of libmxnet.so in the line 55 of the code.
   3. make
   4. ./test
   
   In the function `SetMXTVMBridge` of the example,
   `args.num_args` is wrong and `args.values[0].v_str` is sometimes wrong when MXNet is installed by pip, namely `pip install mxnet --pre`.
   However, the result is right when MXNet is built by myself, `make -j 5 USE_OPENCV=1 USE_BLAS=openblas 
   ` in the latest MXNet source.
   The problem may be similar to the bug @merrymercy met.
   
   Thanks.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services