Hi all!

I have currently been trying to understand the relationship between this 
components, in order to integrate a custom accelerator + board into TVM.

As a reference, this is what I would like to try:

* AutoTVM running on the host computer
* Multiple boards connected to the same host computer running the AutoTVM 
schedules.

Now, each of this boards only runs baremetal applications, so I understand that 
I should have a simple application running in each of them, using the 
MicroTVMRPCServer (similar to the [host driven Zephyr 
example](https://github.com/apache/tvm/tree/main/apps/microtvm/zephyr/template_project/src/host_driven)).

Now in my host computer, I have the ProjectAPI of my specific configuration, 
already coded to communicate through UART with the board (also similar to the 
[Zephyr 
example](https://github.com/apache/tvm/blob/main/apps/microtvm/zephyr/template_project/microtvm_api_server.py)).

What I am failing to understand is how the tvm.autotvm.RPCRunner and the 
rpc_tracker integrate with this. All examples I have seen use the RPCRunner to 
point to an already started rpc_tracker, which should have boards (or hardware) 
already registered in it.

So the questions are:

1. Are there any examples running AutoTVM on baremetal devices using microTVM? 
(there is 
[one](https://tvm.apache.org/docs/how_to/work_with_microtvm/micro_autotune.html#sphx-glr-how-to-work-with-microtvm-micro-autotune-py)
 for microTVM but it uses the host as target).
2. Should I write my own runner in order to communicate with my board through 
the UART? Or should the RPCRunner be able to manage this?

Thanks all!





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/understanding-relationship-between-microtvm-autotvm-rpcrunner-rpc-tracker-and-microtvmrpcserverloop/12091/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/6b1fced8b85810fe779b7743df199b6aa9058901dfe62825d542c2e724610cc1).

Reply via email to