[VTA} Error when running autotune tutorial


#1

Hello,

I’m trying to run the autotune tutorial for autotuning CNNs to run on VTA.

I get the following error:

Traceback (most recent call last):
  File "autotune.py", line 252, in <module>
    tune_and_evaluate(tuning_option)
  File "autotune.py", line 180, in tune_and_evaluate
    vta.reconfig_runtime(remote)
  File "/home/youn/tvm/vta/python/vta/rpc_client.py", line 32, in reconfig_runtime
    freconfig = remote.get_function("tvm.contrib.vta.reconfig_runtime")
  File "/home/youn/.local/lib/python3.6/site-packages/tvm-0.6.dev0-py3.6-linux-x86_64.egg/tvm/rpc/client.py", line 57, in get_function
    return self._sess.get_function(name)
  File "/home/youn/.local/lib/python3.6/site-packages/tvm-0.6.dev0-py3.6-linux-x86_64.egg/tvm/_ffi/function.py", line 131, in get_function
    "Module has no function '%s'" %  name)
AttributeError: Module has no function 'tvm.contrib.vta.reconfig_runtime'

I’m not really sure what’s wrong. Any help would be appreciated. Thanks!


[AutoTVM] Cannot get remote devices from tracker
#2

have you solved the problem?


#3

In order to run the AutoTuning tutorial on VTA you need to run the device tracker on a host machine, and register the device to the tracker by running tvm/apps/vta_rpc/start_rpc_server_to_tracker.py (you’ll need to modify fleet:9190 with <tracker_host_name>:<tracker_port>


#4

Hi @youn123

Please refer to this two section Start RPC Tracker and Register devices to RPC Tracker

Hope helps,