I tried to use the debugger to see the bottleneck of the module. I followed the instructions in tutorial.
set the
USE_GRAPH_RUNTIME_DEBUG
flag toON
make In frontend script file instead offrom tvm.contrib import graph_runtime
import thedebug_runtime
from tvm.contrib.debugger import debug_runtime as graph_runtime
But I encountered an error
Illegal instruction (core dumped)
I use the example code in the tutorials. I tried https://docs.tvm.ai/_downloads/83dedc6352b4016772e17480ef01345d/deploy_model_on_rasp.py and https://docs.tvm.ai/_downloads/f83f0c3da8a2ab10657c61e034b7218d/from_pytorch.py, and my own code. All have the same error as above. But all of them work if from tvm.contrib import graph_runtime
rather than debugger runtime.
I have no idea how to solve it. Thanks