Cross-compiling and Remote Execution report Check failed: (lib_handle_ != nullptr) is false: Failed to load dynamic shared library /tmp/tmpxfcocs3j/mod.so /tmp/tmpxfcocs3j/mod.so: cannot open shared object file: No such file or directory

executing command: tvmc run --input imagenet_cat.npz --output cross_compiled.npz --rpc-tracker 192.168.2.8:9191 cross_compiled.tar

Here is the error in detail:

Traceback (most recent call last): File “/home/zw/anaconda3/envs/tfenv/bin/tvmc”, line 33, in sys.exit(load_entry_point(‘tvm==0.8.dev821+g91311b348’, ‘console_scripts’, ‘tvmc’)()) File “/home/zw/tvm/python/tvm/driver/tvmc/main.py”, line 94, in main sys.exit(_main(sys.argv[1:])) File “/home/zw/tvm/python/tvm/driver/tvmc/main.py”, line 87, in _main return args.func(args) File “/home/zw/tvm/python/tvm/driver/tvmc/runner.py”, line 115, in drive_run outputs, times = run_module( File “/home/zw/tvm/python/tvm/driver/tvmc/runner.py”, line 362, in run_module lib = session.load_module(“mod.so”) File “/home/zw/tvm/python/tvm/rpc/client.py”, line 161, in load_module return _ffi_api.LoadRemoteModule(self._sess, path) File “/home/zw/tvm/python/tvm/_ffi/_ctypes/packed_func.py”, line 237, in call raise get_last_ffi_error() tvm.error.RPCError: Traceback (most recent call last): 6: TVMFuncCall 5: std::_Function_handler<void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), tvm::runtime::TypedPackedFunc<tvm::runtime::Module (tvm::runtime::Module, std::__cxx11::basic_string<char, std::char_traits, std::allocator >)>::AssignTypedLambda<tvm::runtime::{lambda(tvm::runtime::Module, std::__cxx11::basic_string<char, std::char_traits, std::allocator >)#5}>(tvm::runtime::{lambda(tvm::runtime::Module, std::__cxx11::basic_string<char, std::char_traits, std::allocator >)#5}, std::__cxx11::basic_string<char, std::char_traits, std::allocator >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}>::_M_invoke(std::_Any_data const&, tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) 4: _ZNSt17_Function_handlerIFvN3tvm7runtime7TVMArgsEPNS1_11TVMR 3: tvm::runtime::RPCWrappedFunc::operator()(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) const 2: tvm::runtime::RPCClientSession::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)> const&) 1: tvm::runtime::RPCEndpoint::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)>) 0: tvm::runtime::RPCEndpoint::HandleUntilReturnEvent(bool, std::function<void (tvm::runtime::TVMArgs)>) 7: TVMFuncCall 6: std::_Function_handler<void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), tvm::runtime::{lambda(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)#2}>::_M_invoke(std::_Any_data const&, tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) 5: tvm::runtime::RPCServerLoop(int) 4: tvm::runtime::RPCEndpoint::ServerLoop() 3: tvm::runtime::RPCEndpoint::HandleUntilReturnEvent(bool, std::function<void (tvm::runtime::TVMArgs)>) 2: tvm::runtime::RPCSession::AsyncCallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::RPCCode, tvm::runtime::TVMArgs)>) 1: tvm::runtime::LocalSession::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)> const&) 0: std::_Function_handler<void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), TVMFuncCreateFromCFunc::{lambda(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)#2}>::_M_invoke(std::_Any_data const&, tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) [clone .cold] File “/home/zw/tvm/python/tvm/_ffi/_ctypes/packed_func.py”, line 81, in cfun rv = local_pyfunc(pyargs) File “/home/zw/tvm/python/tvm/rpc/server.py”, line 69, in load_module m = _load_module(path) File “/home/zw/tvm/python/tvm/runtime/module.py”, line 472, in load_module return _ffi_api.ModuleLoadFromFile(path, fmt) File “/home/zw/tvm/python/tvm/_ffi/_ctypes/packed_func.py”, line 237, in call raise get_last_ffi_error() 3: TVMFuncCall 2: std::_Function_handler<void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue), tvm::runtime::TypedPackedFunc<tvm::runtime::Module (std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)>::AssignTypedLambda<tvm::runtime::Module ()(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)>(tvm::runtime::Module ()(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&), std::__cxx11::basic_string<char, std::char_traits, std::allocator >)::{lambda(tvm::runtime::TVMArgs const&, tvm::runtime::TVMRetValue*)#1}>::_M_invoke(std::_Any_data const&, tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) 1: tvm::runtime::Module::LoadFromFile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) 0: std::_Function_handler<void (tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*), tvm::runtime::{lambda(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*)#1}>::_M_invoke(std::Any_data const&, tvm::runtime::TVMArgs&&, tvm::runtime::TVMRetValue*&&) File “/home/zw/tvm/src/runtime/dso_library.cc”, line 79 File “/home/zw/tvm/src/runtime/rpc/rpc_endpoint.cc”, line 377 RPCError: Error caught from RPC call: 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: (lib_handle != nullptr) is false: Failed to load dynamic shared library /tmp/tmpxfcocs3j/mod.so /tmp/tmpxfcocs3j/mod.so: cannot open shared object file: No such file or directory

May I know how to fix this problems? Thanks a lot.