@haruhi both the approach suggested by @comaniac and the one by @Mousius might be appropriate for you depending on the situation.
if you want to offload the _entire_ model and you want to use your own C compiler, the `c` backend will indeed do what you want. We built a specialized export function for microTVM which provides more verbose compiler output (`tvm.micro.export_model_library_format`), but right now it only works for the case where you're running the model on a single CPU. As @comaniac said, this often doesn't produce the best performance. if instead you just want to offload a section of the model to an accelerator (or the whole model to some accelerator, but use `libtvm_runtime.so` to control it from a CPU), then the approach suggested by @comaniac is probably the way to go. --- [Visit Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/15) 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/c0ad4e01ab72584fc186228bbe76302e9dd347966ebbcb8edcf43b80453f1b31).