[Relax][Relay] Question of the roadmap of Relax IR

Hi community,

We are curious about the status of Relax and Relay. Like how will Relax be integrated and perhaps any schedule for it?

To be more specific, we are wondering:

  1. How would the Relax be integrated to mainline?
  2. Once integrated. Would Relay be deprecated someday?(After all Relax means Relay next).
  3. Or, Relay will still exist in TVM, yet users will be encouraged to use Relax as their first choice, because Relax will be the primary IR of TVM in the future.
  4. Finally, if is possible, may we know the timeline of the Relax migration?

Although we did some search for it, we would like to get a confirmation from you. Like in this ZhiHu article, written in Chinese. It mentioned Relay and Relax will exist in the same time. Yet we are not clear on the details that we mentioned above.

Thank you for reading! :smiley:

Best Regard, Joey

These issues have been discussed in related RFCs and discussion threads for a lot of times, please check the following threads:

  1. https://github.com/apache/tvm-rfcs/pull/89, https://github.com/apache/tvm-rfcs/pull/91, https://github.com/apache/tvm-rfcs/pull/95
  2. Establish TVM Unity Connection — A Technical Strategy, Establish TVM Unity Branch, [Process RFC] Empowering New Scoped Module to the Project

The current status is Relax is actively maintained in the unity branch.

1 Like

Hi yzh119,

Sorry for the late reply. Thank a lot you for these information! :grinning:

We are still digesting these theads, and let some of our members deep dive into corresponding files and documents to have better understanding. We will get back to you if anything unclear to us. looking forward to see unity branch merge into mainline soon.

Thank you!