Hello,
I am carrying out the deploy_model_on_android tutorial.
It worked well up to Register Android device to RPC Tracker.
However when I run tests/android_rpc_test.py, it does not return anything.
Apparently there is a problem with the following code execution, so I tried following code with max_retry=1.
remote = tracker.request(key, priority=0,
session_timeout=60)
It returned following error.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/workspace/python/tvm/rpc/client.py", line 329, in request
key, max_retry, str(last_err)))
RuntimeError: Cannot request android after 1 retry, last_error:Traceback (most recent call last):
[bt] (4) /workspace/build/libtvm.so(TVMFuncCall+0x61) [0x7fe1e9392e51]
[bt] (3) /workspace/build/libtvm.so(+0x9bb854) [0x7fe1e939c854]
[bt] (2) /workspace/build/libtvm.so(+0x9ba2b4) [0x7fe1e939b2b4]
[bt] (1) /workspace/build/libtvm.so(+0x9b6184) [0x7fe1e9397184]
[bt] (0) /workspace/build/libtvm.so(+0x1b79e2) [0x7fe1e8b989e2]
File "/workspace/src/runtime/rpc/rpc_socket_impl.cc", line 77
TVMError: Check failed: sock.RecvAll(&code, sizeof(code)) == sizeof(code) (0 vs. 4) :
Do you have any idea what can be the cause of the problem?
Thanks