You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by nscotto via Apache TVM Discuss <no...@discuss.tvm.ai> on 2022/02/23 23:12:58 UTC

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


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](https://tvm.apache.org/docs/reference/api/python/relay/nn.html), etc.





---
[Visit Topic](https://discuss.tvm.apache.org/t/byoc-doc-list-of-operators-to-implement/12155/1) 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/31339c48c249a09f764ea217faf1d079ead6ed94a232f394795735c7cf1bfab1).

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

Posted by "Cody H. Yu via Apache TVM Discuss" <no...@discuss.tvm.ai>.

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 codegen without implementing all ops.





---
[Visit Topic](https://discuss.tvm.apache.org/t/byoc-doc-list-of-operators-to-implement/12155/2) 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/ec5ecfbd25e5ac2a57944571e0050d41fcfbd9fae8ec4ee27c5cd4330bb287b2).

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

Posted by "Cody H. Yu via Apache TVM Discuss" <no...@discuss.tvm.ai>.

Not everything under `tvm.relay` is an op. The page you referred is just the APIs under this namespace. I would suggest looking at the model IR directly to get the sense about which ops should be supported, or referring to other BYOC integrations for their supported ops (e.g., https://tvm.apache.org/docs/how_to/deploy/tensorrt.html#operator-support)





---
[Visit Topic](https://discuss.tvm.apache.org/t/byoc-doc-list-of-operators-to-implement/12155/4) 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/a19d016325087b36fb12a4e2484e3adffb90503fe3f9a74d39193c9a091870b1).

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

Posted by nscotto via Apache TVM Discuss <no...@discuss.tvm.ai>.

That is really great, thank you for clarifying.
I was still interested in having a list of actual operators however: 
The list of relay functions in https://tvm.apache.org/docs/reference/api/python/relay/index.html contains things like `setrecursionlimit` or `build` which I don't think are meaningful for BYOC (correct me if I am wrong).





---
[Visit Topic](https://discuss.tvm.apache.org/t/byoc-doc-list-of-operators-to-implement/12155/3) 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/f1f29a1c8bfe2c4ce4a2b4cf362566bac7973ae1e66a054181ad80ab5cf7ab13).

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

Posted by nscotto via Apache TVM Discuss <no...@discuss.tvm.ai>.

Great I will look into that.
In the future it could be helpful to have an extensive list of the relay operators that are generated for BYOC.

Thank you!





---
[Visit Topic](https://discuss.tvm.apache.org/t/byoc-doc-list-of-operators-to-implement/12155/5) 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/db145a11662db87c7e2d3edaf08d1cc2271e5e5adda555a5f189f67d06ff32f6).