You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Gftd via TVM Discuss <no...@discuss.tvm.ai> on 2020/05/13 03:45:03 UTC
[TVM Discuss] [Questions] Cannot request android after 5 retry
when i run : python3 -m tvm.exec.query_rpc_tracker --host=0.0.0.0 --port=9191
Server List
----------------------------
server-address key
----------------------------
10.1.198.2:37594 server:android
----------------------------
Queue Status
-------------------------------
key total free pending
-------------------------------
android 1 1 0
-------------------------------
Then i set :export TVM_TRACKER_HOST=0.0.0.0
export TVM_TRACKER_PORT=9191
When i run apps/android_rpc/tests/android_rpc_test.py , i got this:
Traceback (most recent call last):
File "tests/android_rpc_test.py", line 130, in <module>
test_rpc_module()
File "tests/android_rpc_test.py", line 58, in test_rpc_module
session_timeout=10)
File "/workspace/python/tvm/rpc/client.py", line 361, in request
key, max_retry, str(last_err)))
RuntimeError: Cannot request android after 5 retry, last_error:Traceback (most recent call last):
[bt] (6) /workspace/build/libtvm.so(TVMFuncCall+0x61) [0x7efd4c5afd41]
[bt] (5) /workspace/build/libtvm.so(+0xde585a) [0x7efd4c5e085a]
[bt] (4) /workspace/build/libtvm.so(tvm::runtime::RPCClientConnect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, tvm::runtime::TVMArgs)+0xdd) [0x7efd4c5e033d]
[bt] (3) /workspace/build/libtvm.so(tvm::runtime::RPCConnect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, tvm::runtime::TVMArgs)+0x2873) [0x7efd4c5df213]
[bt] (2) /workspace/build/libtvm.so(tvm::runtime::RPCEndpoint::InitRemoteSession(tvm::runtime::TVMArgs)+0x31f) [0x7efd4c5e4b7f]
[bt] (1) /workspace/build/libtvm.so(tvm::runtime::RPCEndpoint::HandleUntilReturnEvent(bool, std::function<void (tvm::runtime::TVMArgs)>)+0x1a6) [0x7efd4c5e3f76]
[bt] (0) /workspace/build/libtvm.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x64) [0x7efd4bc09354]
File "/workspace/src/runtime/rpc/rpc_endpoint.cc", line 650
TVMError: Channel closes before we get neded bytes
---
[Visit Topic](https://discuss.tvm.ai/t/cannot-request-android-after-5-retry/6657/1) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/597045f3d0a78c72e6109c3a887fbe67fe89bf24cfe749336641362ae7855ee4).