Check failed: (code == RPCCode::kReturn) is false: code=kShutdown

I am trying to test Microtvm on a raspberry pi3. I am using Ubuntu running on virtual box to connect to target machine using RPC. When I run remote.upload(lib_fname). I get this error: Traceback (most recent call last): File “rasp_local.py”, line 87, in remote.upload(lib_fname) File “/home/zhuohuanli/.local/lib/python3.8/site-packages/tvm-0.8.dev1370+g344553223-py3.8-linux-x86_64.egg/tvm/rpc/client.py”, line 117, in upload self._remote_funcs[“upload”](target, blob) File “/home/zhuohuanli/.local/lib/python3.8/site-packages/tvm-0.8.dev1370+g344553223-py3.8-linux-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py”, line 237, in call raise get_last_ffi_error() tvm._ffi.base.TVMError: Traceback (most recent call last): 4: TVMFuncCall 3: _ZNSt17_Function_handlerIFvN3tvm7runtime7TVMArgsEPNS1_11TVMR 2: tvm::runtime::RPCWrappedFunc::operator()(tvm::runtime::TVMArgs, tvm::runtime::TVMRetValue*) const 1: tvm::runtime::RPCClientSession::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)> const&) 0: tvm::runtime::RPCEndpoint::CallFunc(void*, TVMValue const*, int const*, int, std::function<void (tvm::runtime::TVMArgs)>) File “/home/zhuohuanli/tvm/src/runtime/rpc/rpc_endpoint.cc”, line 797 TVMError:

An error occurred during the execution of TVM. For more information, please see: What do to when encountering TVM Errors — tvm 0.8.dev0 documentation

Check failed: (code == RPCCode::kReturn) is false: code=kShutdown

Can anyone help?

1 Like

Hi, I just met the same problem as you did. Did you solve this problem?

I saw a similar error when I put in a wrong size input…

Hello,

I had similar problem, for me, when I read following error, that means that some instruction should return some values, but unexpectedly it was killed/shuted down. In my case it was timeout lower than expected runing time. You should monitor what is going on on another side of RPC, i.e. rpc server

Hi, I just met the same problem as you did. How to solve this problem?

Same problem. Any update?

Same problem. +1. How can i change the timeout of rpc?