Is cross compilation is possible in TVM?

Hi, @tqchen @srkreddy1238 is it possible to do cross-compilation in tvm, like I will compile tvm model in ubuntu or windows by enabling Metal support and can i deploy it in iOS?

TVM support cross compilation but will depend on a final cross compiler. For example, tvm does support cross compile code and deploy to raspberry pi or a phone because you can use cross compiler on ubuntu. Unfortunately, iOS compiler toolchain(XCode) is only available in Mac, so we cannot compile metal binaries. With some tweaks to the stack, we can however, compile metal source code and then you use to XCode to do the last step

Thank you @tqchen i understood, is there any samples to deploy tvm model to iOS?