Is there an up-to-date uTVM code that I can refer to?

great, let me know if you run into trouble. µTVM doesn’t assume an OS–you just need to implement TVMPlatform functions. Note that a couple will be added as we merge the AutoTVM functionality (next PR after this one).

we don’t have anything checked-in that runs models standalone right now, so you’ll need to either

  1. use the µTVM RPC server to drive model execution at the graph level (this is what test_zephyr does). this means you’ll need to implement functionality to send and receive data using the UART, as is done in the main used with Zephyr.
  2. port apps/bundle_deploy to run on µC. see this discuss thread for more.

we hope to have a better story on standalone execution soon.

Andrew

1 Like