Hi, what is the correct way to use time evaluator with VM runtime? Or is it supported at all? I quickly tried the following
vm_exec = relay.vm.compile(mod, target=target, params=params)
vm = VirtualMachine(vm_exec, ctx)
ftimer = vm.module.time_evaluator("run", ctx, number=1, repeat=50)
but got the error
tvm._ffi.base.TVMError: Traceback (most recent call last):
[bt] (4) /mnt/2e797a66-fd2b-44fc-a3ba-24d7d65f2780/projects/dev/tvm/build/libtvm.so(TVMFuncCall+0x69) [0x7f1b88d013f9]
[bt] (3) /mnt/2e797a66-fd2b-44fc-a3ba-24d7d65f2780/projects/dev/tvm/build/libtvm.so(+0x11e0302) [0x7f1b88d6b302]
[bt] (2) /mnt/2e797a66-fd2b-44fc-a3ba-24d7d65f2780/projects/dev/tvm/build/libtvm.so(tvm::runtime::ModuleNode::GetFunction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)+0x4d) [0x7f1b88d1efcd]
[bt] (1) /mnt/2e797a66-fd2b-44fc-a3ba-24d7d65f2780/projects/dev/tvm/build/libtvm.so(tvm::runtime::vm::VirtualMachine::GetFunction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, tvm::runtime::ObjectPtr<tvm::runtime::Object> const&)+0x279) [0x7f1b88d4d169]
[bt] (0) /mnt/2e797a66-fd2b-44fc-a3ba-24d7d65f2780/projects/dev/tvm/build/libtvm.so(+0x11bd5bb) [0x7f1b88d485bb]
File "/home/masa/projects/dev/tvm/src/runtime/vm/vm.cc", line 173
TVMError: Unknown packed function: run