YuchenJin commented on code in PR #89: URL: https://github.com/apache/tvm-rfcs/pull/89#discussion_r949758210
########## rfcs/0089-relax-upstreaming.md: ########## @@ -0,0 +1,701 @@ +- Feature Name: Relax Upstreaming +- Start Date: 2022-08-17 +- RFC PR: [apache/tvm-rfcs#0089](https://github.com/apache/tvm-rfcs/pull/0089) +- GitHub Issue: [apache/tvm#0000](https://github.com/apache/tvm/issues/0000) +- Co-Authors: [@denise-k](https://github.com/denise-k), [@jwfromm](https://github.com/jwfromm) + +# 1. **Summary** + +This RFC proposes to upstream the core foundation of Relax (Relay Next). Relax is a new graph-level IR that enables new capabilities to address the [critical needs](https://discuss.tvm.apache.org/t/establish-tvm-unity-connection-a-technical-strategy/13344) identified by the TVM community over the years of using and developing deep learning compilers. + +# 2. **Motivation and goals** + +Relax is an effort within [TVM Unity](https://tvm.apache.org/2021/12/15/tvm-unity) that aims to evolve the graph-level IR to maximize **expressibility, performance, and portability** across today and tomorrow’s workloads. Relax has three key goals motivated by the TVM community’s needs, and lessons the community has learned in ML acceleration through years of using and developing TVM: Review Comment: Of course, I'll list some relevant discussion posts that I know of: **Needs for unified abstractions:** - Please see the comments left by community members on this thread: [https://discuss.tvm.apache.org/t/establish-tvm-unity-connection-a-technical-strategy/13344](https://discuss.tvm.apache.org/t/establish-tvm-unity-connection-a-technical-strategy/13344) - [https://discuss.tvm.apache.org/t/new-relay-operator-based-on-tensorir/11999](https://discuss.tvm.apache.org/t/new-relay-operator-based-on-tensorir/11999) **Needs for dynamic shapes support:** - [https://discuss.tvm.apache.org/t/dynamic-input-output-shapes-batch-size/12689](https://discuss.tvm.apache.org/t/dynamic-input-output-shapes-batch-size/12689) - [https://discuss.tvm.apache.org/t/does-tvm-support-dynamic-input-shape/11069](https://discuss.tvm.apache.org/t/does-tvm-support-dynamic-input-shape/11069) - [https://discuss.tvm.apache.org/t/cannot-allocate-memory-symbolic-tensor-shape/12514](https://discuss.tvm.apache.org/t/cannot-allocate-memory-symbolic-tensor-shape/12514) **Needs for supporting dataflow block and handling side effect:** - https://discuss.tvm.apache.org/t/basic-block-normal-form/5908 - https://discuss.tvm.apache.org/t/rfc-handling-effect-in-tvm-and-relay/5946 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
