Thanks for your reply! What I did is exactly what you said, but I did’nt work.
Now, I change some 3rdparty version and fixed std::bad_cast!but when I use rpc to run remote module, I meet new error message.
Now I use
new errer message:
File "/root/.local/lib/python3.8/site-packages/tvm-0.8.dev0-py3.8-linux-x86_64.egg/tvm/contrib/graph_runtime.py", line 206, in run
self._run()
File "tvm/_ffi/_cython/./packed_func.pxi", line 322, in tvm._ffi._cy3.core.PackedFuncBase.__call__
File "tvm/_ffi/_cython/./packed_func.pxi", line 257, in tvm._ffi._cy3.core.FuncCall
File "tvm/_ffi/_cython/./packed_func.pxi", line 246, in tvm._ffi._cy3.core.FuncCall3
File "tvm/_ffi/_cython/./base.pxi", line 160, in tvm._ffi._cy3.core.CALL
tvm._ffi.base.TVMError: Traceback (most recent call last):
[bt] (5) /root/.local/lib/python3.8/site-packages/tvm-0.8.dev0-py3.8-linux-x86_64.egg/tvm/libtvm.so(TVMFuncCall+0x63) [0x7fa600f12213]
[bt] (4) /root/.local/lib/python3.8/site-packages/tvm-0.8.dev0-py3.8-linux-x86_64.egg/tvm/libtvm.so(+0x2bb5517) [0x7fa600f81517]
[bt] (3) /root/.local/lib/python3.8/site-packages/tvm-0.8.dev0-py3.8-linux-x86_64.egg/tvm/libtvm.so(tvm::runtime::RPCWrappedFunc::operator()(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) const+0x365) [0x7fa600f87e15]
[bt] (2) /root/.local/lib/python3.8/site-packages/tvm-0.8.dev0-py3.8-linux-x86_64.egg/tvm/libtvm.so(tvm::runtime::RPCClientSession::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)> const&)+0x57) [0x7fa600f79e27]
[bt] (1) /root/.local/lib/python3.8/site-packages/tvm-0.8.dev0-py3.8-linux-x86_64.egg/tvm/libtvm.so(tvm::runtime::RPCEndpoint::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)>)+0x5d1) [0x7fa600f6e181]
[bt] (0) /root/.local/lib/python3.8/site-packages/tvm-0.8.dev0-py3.8-linux-x86_64.egg/tvm/libtvm.so(+0x2b9efa8) [0x7fa600f6afa8]
File "/data/clean/tvm/src/runtime/rpc/rpc_endpoint.cc", line 798
TVMError:
---------------------------------------------------------------
An internal invariant was violated during the execution of TVM.
Please read TVM's error reporting guidelines.
More details can be found here: https://discuss.tvm.ai/t/error-reporting/7793.
---------------------------------------------------------------
Check failed: code == RPCCode::kReturn == false: code=1
Thanks for help!