[Apache TVM Discuss] [Questions] Dev[0]._rpc_sess.get_function("tvm.graph_executor_debug.create")

2021-08-06 Thread Hao Cheng via Apache TVM Discuss
In my code, want to `use debug_executor` to extrace the cost time for each ops. my code is kind of the following ``` from tvm.contrib.debugger import debug_executor as graph_executor with tvm.transform.PassContext(opt_level=3, config={"relay.backend.use_auto_scheduler": True}): lib = rel

[Apache TVM Discuss] [Questions] `GraphModuleDebug.profile()` support RPC call?

2021-08-22 Thread Hao Cheng via Apache TVM Discuss
while using `GraphModuleDebug.profile()` to get the profile report, but get the following result. ``` Traceback (most recent call last): File "verfy.py", line 48, in run_debug() File "verfy.py", line 38, in run_debug mod.profile() File "/srv/workspace/chenghao/framework/tvm/pyth

[Apache TVM Discuss] [Questions] Strange behavior profile arm-cpu with rpc

2021-08-23 Thread Hao Cheng via Apache TVM Discuss
I use tvm-rpc apk for rpc connection, and compile the tvm and runtime with ``` set(USE_RPC ON) set(USE_RELAY_DEBUG ON) set(USE_GRAPH_EXECUTOR_DEBUG ON) ``` while complie the apk with default setting, coundnt runt with debug, which showed no `tvm.graph_executor_debug.create` found. later i adde

[Apache TVM Discuss] [Questions] Export so file with safety complie options

2022-02-24 Thread Hao Cheng via Apache TVM Discuss
Following the tutorial, I built the so file with tvm stack. But the so file seems to be a debug version, as following ``` file updated.so updated.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, with debug_info, not stripped ``` is there any solution to a