I am trying to run autotuning for mobile GPU on Qualcomm, Adreno 540, OpenGL ES 3.2 V@354.0 (https://docs.tvm.ai/tutorials/autotvm/tune_relay_mobile_gpu.html#)
RPC tracker is able to track the mobile:
python3 -m tvm.exec.query_rpc_tracker --host 127.0.0.1 --port 8000
Tracker address 127.0.0.1:8000
Server List
----------------------------
server-address key
----------------------------
127.0.0.1:61238 server:android
----------------------------
Queue Status
-------------------------------
key total free pending
-------------------------------
android 1 1 0
-------------------------------
However, when running tune_and_evaluate(tuning_option), Iām getting the following error:
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/aditgupt/tvm/python/tvm/autotvm/measure/measure_methods.py", line 572, in _check
while not ctx.exist: # wait until we get an available device
File "/home/aditgupt/tvm/python/tvm/_ffi/runtime_ctypes.py", line 176, in exist
self.device_type, self.device_id, 0) != 0
File "tvm/_ffi/_cython/./function.pxi", line 310, in tvm._ffi._cy3.core.FunctionBase.__call__
File "tvm/_ffi/_cython/./function.pxi", line 245, in tvm._ffi._cy3.core.FuncCall
File "tvm/_ffi/_cython/./function.pxi", line 234, in tvm._ffi._cy3.core.FuncCall3
File "tvm/_ffi/_cython/./base.pxi", line 170, in tvm._ffi._cy3.core.CALL
tvm._ffi.base.TVMError: Traceback (most recent call last):
[bt] (4) /home/aditgupt/tvm/build/libtvm.so(TVMFuncCall+0x65) [0x7fade555f8e5]
[bt] (3) /home/aditgupt/tvm/build/libtvm.so(+0x939828) [0x7fade555d828]
[bt] (2) /home/aditgupt/tvm/build/libtvm.so(+0x97dda4) [0x7fade55a1da4]
[bt] (1) /home/aditgupt/tvm/build/libtvm.so(+0x990002) [0x7fade55b4002]
[bt] (0) /home/aditgupt/tvm/build/libtvm.so(+0x14d723) [0x7fade4d71723]
File "/home/aditgupt/tvm/src/runtime/rpc/rpc_session.cc", line 875
TVMError: Check failed: code == RPCCode: :kReturn: code=4
Also this,
RuntimeError: Cannot get remote devices from the tracker. Please check the status of tracker by 'python -m tvm.exec.query_rpc_tracker --port [THE PORT YOU USE]' and make sure you have free devices on the queue status.
I have set host=ā127.0.0.1ā, port=8000 in device config.
Thanks!