merrymercy commented on issue #9880: TVM bridge support to JIT NDArray Function by TVM URL: https://github.com/apache/incubator-mxnet/pull/9880#issuecomment-421779923 @tqchen I can use this feature by building mxnet from source. But I met errors when using packages from pip (v1.2, v1.3) sometimes the error is ```bash terminate called after throwing an instance of 'dmlc::Error' what(): TVMCall CFunc Error: Traceback (most recent call last): File "tvm/_ffi/_cython/./function.pxi", line 38, in tvm._ffi._cy3.core.tvm_callback TypeError: _list() missing 2 required positional arguments: 'name' and 'func' ``` It seems we cannot call https://github.com/apache/incubator-mxnet/blob/ff39cf11fdbc2036b59a88f0173e4a6ff481aa08/src/nnvm/tvm_bridge.cc#L178 correctly. sometimes the error is ``` Segmentation fault: 11 Stack trace returned 10 entries: [bt] (0) /usr/local/lib/python3.5/dist-packages/mxnet/libmxnet.so(+0x1d86a2) [0x7f8c64e396a2] [bt] (1) /usr/local/lib/python3.5/dist-packages/mxnet/libmxnet.so(+0x32eb91e) [0x7f8c67f4c91e] [bt] (2) /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7f8c88d584b0] [bt] (3) /sampa/home/mercy/tvm/python/tvm/_ffi/_cy3/core.cpython-35m-x86_64-linux-gnu.so(+0x15b2c) [0x7f8bf07b8b2c] [bt] (4) /sampa/home/mercy/tvm/build/libtvm.so(+0x60ea72) [0x7f8c1f639a72] [bt] (5) /usr/local/lib/python3.5/dist-packages/mxnet/libmxnet.so(MXTVMBridge+0xd8) [0x7f8c67a46638] [bt] (6) /usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so(ffi_call_unix64+0x4c) [0x7f8c87bace20] [bt] (7) /usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so(ffi_call+0x2eb) [0x7f8c87bac88b] [bt] (8) /usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so(_ctypes_callproc+0x49a) [0x7f8c87ba701a] [bt] (9) /usr/lib/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so(+0x9fcb) [0x7f8c87b9afcb] ```
---------------------------------------------------------------- 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
