[Apache TVM Discuss] [Questions] Difference between MixedModeMutator and ExprRewriter

2022-02-16 Thread Luke Hutton via Apache TVM Discuss
Thanks @mbrookhart, this is what I suspected :) --- [Visit Topic](https://discuss.tvm.apache.org/t/difference-between-mixedmodemutator-and-exprrewriter/12102/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https

[Apache TVM Discuss] [Questions] Difference between MixedModeMutator and ExprRewriter

2022-02-16 Thread Luke Hutton via Apache TVM Discuss
Hi, I've been looking at types of Relay pass recently and got a bit confused when it comes to `MixedModeMutator` and when it should be used over `ExprRewriter`. The RFC (https://discuss.tvm.apache.org/t/performing-relay-passes-non-recursively/5696) seems to me to suggest that `ExprRewriter`

[Apache TVM Discuss] [Questions] Relay failed to build models exported from pytorch

2021-11-03 Thread Luke Hutton via Apache TVM Discuss
Hi @Lyken17, I also ran into this issue recently. It turned out to be conflicting symbols between PyTorch and TVM, see https://github.com/apache/tvm/issues/9362#issuecomment-955263494 for the resolution. Alternatively, a quicker (but less elegant) solution is to import `torch` before `tvm`.