AutoTuning won't start even though phone is connected

I’m trying to follow the tutorial here. I made sure my phone is connected.

$ python -m tvm.exec.query_rpc_tracker --host=192.168.1.8 --port=9190
Tracker address 192.168.1.8:9190

Server List
----------------------------
server-address	key
----------------------------
192.168.1.7:48757	server:android
----------------------------

Queue Status
-------------------------------
key       total  free  pending
-------------------------------
android   1      1     0
-------------------------------

But the tuning code still won’t run; see log below. I’ve done the following:

  1. device_key = ‘android’

  2. use_android = True

  3. target = tvm.target.create(‘llvm -device=arm_cpu -mtriple=arm-linux-android’)

  4. replaced host IP address

    $ python tune_relay_arm.py Extract tasks… Tuning… Traceback (most recent call last): File “tune_relay_arm.py”, line 355, in tune_and_evaluate(tuning_option) File “tune_relay_arm.py”, line 312, in tune_and_evaluate tune_tasks(tasks, **tuning_opt) File “tune_relay_arm.py”, line 291, in tune_tasks autotvm.callback.log_to_file(tmp_log_file) File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/autotvm/tuner/xgboost_tuner.py”, line 90, in tune super(XGBTuner, self).tune(*args, **kwargs) File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/autotvm/tuner/tuner.py”, line 111, in tune measure_batch = create_measure_batch(self.task, measure_option) File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/autotvm/measure/measure.py”, line 253, in create_measure_batch attach_objects = runner.set_task(task) File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/autotvm/measure/measure_methods.py”, line 221, in set_task raise RuntimeError("Cannot get remote devices from the tracker. " 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. Exception in thread Thread-5: Traceback (most recent call last): File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/threading.py”, line 926, in _bootstrap_inner self.run() File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/threading.py”, line 870, in run self._target(*self._args, **self._kwargs) File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/autotvm/measure/measure_methods.py”, line 610, in _check remote = request_remote(device_key, host, port, priority) File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/autotvm/measure/measure_methods.py”, line 577, in request_remote tracker = _rpc.connect_tracker(host, port) File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/rpc/client.py”, line 490, in connect_tracker return TrackerSession((url, port)) File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/rpc/client.py”, line 253, in init self._connect() File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/rpc/client.py”, line 259, in _connect self._sock = base.connect_with_retry(self._addr) File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/rpc/base.py”, line 168, in connect_with_retry raise sock_err File “/Users/windmaple/miniconda2/envs/py3.7-copy/lib/python3.7/site-packages/tvm-0.7.dev1-py3.7-macosx-10.9-x86_64.egg/tvm/rpc/base.py”, line 164, in connect_with_retry sock.connect(addr) TimeoutError: [Errno 60] Operation timed out

What am I missing here?