Hi
I follow the step of “Deploy the Pretrained Model on ARM Mali GPU” Tutorial and find it always failed at step
“upload the library to remote device and load it”
rlib = remote.load_module(‘net.tar’)
I used the docker image by running
" sudo ./bash.sh tvmai/demo-gpu " on the host ubuntu 14.04
and the remote on the RK3399 only do git clone the TVM and “make runtime”
The main error is
TVMError: [11:09:33] /home/firefly/tvm/src/runtime/module_util.cc:34: Check failed: f != nullptr Loader of opencl(module.loadbinary_opencl) is not presented.
The error message list below:
TVMError: Except caught from RPC call: TVMCall CFunc Error:
Traceback (most recent call last):
File “/home/firefly/tvm/python/tvm/_ffi/_ctypes/function.py”, line 54, in cfun
rv = local_pyfunc(*pyargs)
File “/home/firefly/tvm/python/tvm/rpc/server.py”, line 48, in load_module
m = _load_module(path)
File “/home/firefly/tvm/python/tvm/module.py”, line 222, in load
return _LoadFromFile(path, fmt)
File “/home/firefly/tvm/python/tvm/_ffi/function.py”, line 280, in my_api_func
return flocal(*args)
File “/home/firefly/tvm/python/tvm/_ffi/_ctypes/function.py”, line 184, in call
ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
File “/home/firefly/tvm/python/tvm/_ffi/base.py”, line 66, in check_call
raise TVMError(py_str(_LIB.TVMGetLastError()))
TVMError: [11:09:33] /home/firefly/tvm/src/runtime/module_util.cc:34: Check failed: f != nullptr Loader of opencl(module.loadbinary_opencl) is not presented.
Stack trace returned 9 entries:
[bt] (0) /home/firefly/tvm/build/libtvm_runtime.so(dmlc::StackTraceabi:cxx11+0x118) [0x7fa3499198]
[bt] (1) /home/firefly/tvm/build/libtvm_runtime.so(tvm::runtime::ImportModuleBlob(char const*, std::vector<tvm::runtime::Module, std::allocatortvm::runtime::Module >*)+0x182c) [0x7fa34c0484]
[bt] (2) /home/firefly/tvm/build/libtvm_runtime.so(+0x2c5d4) [0x7fa34a75d4]
[bt] (3) /home/firefly/tvm/build/libtvm_runtime.so(tvm::runtime::Module::LoadFromFile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)+0x3d0) [0x7fa34b7958]
[bt] (4) /home/firefly/tvm/build/libtvm_runtime.so(+0x3fba4) [0x7fa34baba4]
[bt] (5) /home/firefly/tvm/build/libtvm_runtime.so(TVMFuncCall+0x74) [0x7fa349eeac]
[bt] (6) /usr/lib/aarch64-linux-gnu/libffi.so.6(ffi_call_SYSV+0x64) [0x7fa4392e60]
[bt] (7) /usr/lib/aarch64-linux-gnu/libffi.so.6(ffi_call+0xc0) [0x7fa43937b8]
[bt] (8) /usr/lib/python2.7/lib-dynload/_ctypes.aarch64-linux-gnu.so(_ctypes_callproc+0x670) [0x7fa43b2b30]
Can someone help me to solve this problem?