[Apache TVM Discuss] [Questions] [BYOC, doc] List of operators to implement

2022-02-23 Thread Cody H. Yu via Apache TVM Discuss
There's no specific list of Relay ops for BYOC. You could decide what ops you want to implement for each BYOC backend, and the rest unimplemented ops will remain on the host (e.g., CPU and GPU). This is one of the most important features BYOC brings that allows you to run any model with your c

[Apache TVM Discuss] [Questions] [BYOC, doc] List of operators to implement

2022-02-23 Thread nscotto via Apache TVM Discuss
Hi, is there a simple list of all relay operators for BYOC? I can find relay operators in the Python API section of the doc but they are spread amongst different sections and mixed with other functions. Like [here](https://tvm.apache.org/docs/reference/api/python/relay/index.html), [there](ht

[Apache TVM Discuss] [Questions] Whether the repo of https://github.com/tlc-pack/relax can emit the relay_ir level text

2022-02-23 Thread Yuchen Jin via Apache TVM Discuss
Hi @xiaolong18, Thanks for playing with Relax! `print(R.parser.astext(relax_mod))` actually prints out the whole IRModule, which contains both the Relax functions and TIR PrimFuncs. Please search for "@relax.function" in the printed text, you will find the Relax IR as below: ![Screen Shot 2

[Apache TVM Discuss] [Questions] Whether the repo of https://github.com/tlc-pack/relax can emit the relay_ir level text

2022-02-23 Thread Xiaolong18 via Apache TVM Discuss
[1] In the repo of "https://github.com/tlc-pack/relax";, i tested the "apps\relax_examples\resnet.py", found that the "print(R.parser.astext(relax_mod))" will ouput the tir level text,i wonder whether this repo can output the relay_ir level text, if can ,how i get the output. [2] If can not