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 Daniel Mu via Apache TVM Discuss <no...@discuss.tvm.ai> on 2020/09/10 09:05:48 UTC

[Apache TVM Discuss] [Questions] IR level or Hierarchical relationship


Hi all,

I'm pretty confused about the relationship between the Halide IR, TIR, Relay IR and NNVM. What's the difference between them? 
At present, which kind of IR is used in the computation Graph of the tvm? And which kind of IR is used when lowering? Maybe both of them are using Relay IR?

Thanks!





---
[Visit Topic](https://discuss.tvm.apache.org/t/ir-level-or-hierarchical-relationship/7869/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/f4bda313a5193b1ed1c23c74f8342bb151adbe230fe073114c095106f353b3be).

[Apache TVM Discuss] [Questions] IR level or Hierarchical relationship

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

Well-received with many thanks!





---
[Visit Topic](https://discuss.tvm.apache.org/t/ir-level-or-hierarchical-relationship/7869/7) 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/ec934047123fc03746446372785209087158df41830091e93068ffd036a62453).

[Apache TVM Discuss] [Questions] IR level or Hierarchical relationship

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

Relay is used to do "graph" (or full program level optimization) and TIR is used to do imperative loop optimization for (mostly) dense linear algebra kernels.





---
[Visit Topic](https://discuss.tvm.apache.org/t/ir-level-or-hierarchical-relationship/7869/6) 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/92a4865656464a54a4031cb2529907c4c983d59054f39570db41a23e79e2bf7c).

[Apache TVM Discuss] [Questions] IR level or Hierarchical relationship

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

Thanks! It seems the TVM has two level IR, Relay IR(higher pass, replacing nnvm) and TIR(lower pass, replacing Hailde IR). Is that right?
Thanks again!





---
[Visit Topic](https://discuss.tvm.apache.org/t/ir-level-or-hierarchical-relationship/7869/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/98bd7a86286084d4d582ff38833eaf66a13c22e5ce8bf2452ede8f4392599095).

[Apache TVM Discuss] [Questions] IR level or Hierarchical relationship

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

please see http://tvm.apache.org/docs/dev/index.html





---
[Visit Topic](https://discuss.tvm.apache.org/t/ir-level-or-hierarchical-relationship/7869/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/575e75a2a93e58e38d4d48994ff12e4f504adfacaf027be99130f0ae594b759f).

[Apache TVM Discuss] [Questions] IR level or Hierarchical relationship

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

Thanks for your reply!





---
[Visit Topic](https://discuss.tvm.apache.org/t/ir-level-or-hierarchical-relationship/7869/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/fa8f36174bcc13ead1701ce8b4223d705e83606d21dc64b5e2d5934497bef5e2).

[Apache TVM Discuss] [Questions] IR level or Hierarchical relationship

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

Basically Relay => TE => TIR. NNVM is deprecated, and HalideIR is no longer used.





---
[Visit Topic](https://discuss.tvm.apache.org/t/ir-level-or-hierarchical-relationship/7869/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/251b777c7b8018ab30d6c528375f278195c496d86ad5f6ccc49e84c9c0b80f5d).