@smallcoscat, Thanks. I also followed this tutorial and was able to create ONNX 
codegen for external runtime. Relevant code in this PR: 
https://github.com/maheshambule/tvm/pull/9

However, as suggested by @tqchen when I tried to implement 'ONNX' as target 
(and not as external codegen), I am facing a problem. The Relay IR gets 
converted to lowered TIR, and target codegen module receives a lowered TIR. 
Since ONNX is high-level IR, converting a lowered TIR to ONNX is difficult. 

@tqchen, Please let us know if there is a way to pass high-level Relay IR to 
target codegen? If currently, it is not possible to do so should we go ahead 
with the external codegen approach?





---
[Visit Topic](https://discuss.tvm.ai/t/rfc-relay-to-onnx/6101/22) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/19eb741e70cc4d58bd4f7c6ab59bac93df84ceb8021d667afc8bd6ae79b79af1).

Reply via email to