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
- use the µTVM RPC server to drive model execution at the graph level (this is what
test_zephyrdoes). 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. - port
apps/bundle_deployto run on µC. see this discuss thread for more.
we hope to have a better story on standalone execution soon.
Andrew