[Android_rpc demo error] code == RPCCode::kReturn code=4
See original GitHub issueHi all,
I’ve tried to run the Android_rpc demo on Huawei Mate10 which have libOpenCL.so under /vendor/lib64.
To run the android_rpc_test.py on v0.2, I tweaked the .py file a bit.
from:
from tvm.contrib import rpc, util, ndk, rpc_proxy
to:
from tvm.contrib import rpc, util, ndk#, rpc_proxy
The script runs well, but the App will crash after calling remote.cpu(0) or remote.gpu(0).
The key error is:
File “/home/adt/tensorflow/local/lib/python2.7/site-packages/tvm-0.2.0-py2.7-linux-x86_64.egg/tvm/_ffi/base.py”, line 66, in check_call raise TVMError(py_str(_LIB.TVMGetLastError())) tvm._ffi.base.TVMError: [11:21:50] src/runtime/rpc/rpc_session.cc:741: Check failed: code == RPCCode::kReturn code=4
Does this demo work only with v0.1?
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
GRPC Core: Status codes and their use in gRPC
Code Number Description
OK 0 Not an error; returned on success.
FAILED_PRECONDITION 9
OUT_OF_RANGE 11
Read more >Build client-server applications with gRPC - Android Developers
Build a Channel that serves as the medium for RPC calls between client and server.
Read more >Basics tutorial | Android Java - gRPC
Generate client code using the protocol buffer compiler. Use the Java gRPC API to write a simple mobile client for your service. It...
Read more >Errors | Cloud APIs - Google Cloud
Below is a table containing all of the gRPC error codes defined in google.rpc.Code and a short description of their cause. To handle...
Read more >grpc-android · GitHub Topics
A Full Stack demo app with gRPC and Modern Android Development/Svelte to keep up ... Android client implementation of Rapunzel blog using Kotlin...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI, I fixed this issue after changing the ndk version to v16
changing to v16 didnt work for me. did anyone solved it? thanks