[TVM Discuss] [Development] [RFC][DISCUSS] Non-Recursive AST Visiting

2020-04-07 Thread tqchen via TVM Discuss
se latest thread here https://discuss.tvm.ai/t/performing-relay-passes-non-recursively/5696 the initial version of non-recursive visitor is already upstreamed --- [Visit Topic](https://discuss.tvm.ai/t/rfc-discuss-non-recursive-ast-visiting/2481/5) to respond. You are receiving this bec

[TVM Discuss] [Development] [RFC][DISCUSS] Non-Recursive AST Visiting

2020-04-06 Thread Zhao Wu via TVM Discuss
Yes. @yunjing_lh find that our quantized mobilenet v2 has the same issue in GCC 5, QNN lowers too many ops and has deep recursion. One workaround is to increase stack size. However, non-recursive ast visiting should be one better way. --- [Visit Topic](https://discuss.tvm.ai/t/rfc-discus

[TVM Discuss] [Development] [RFC][DISCUSS] Non-Recursive AST Visiting

2019-05-10 Thread Yinghai Lu via TVM Discuss
Thanks for raising this. If TVM are used as a lib in a bigger service, sometimes it's difficult to bump up strace limit as individual threads can have its own stack set programmably when created. In this case, simulated stack on heap might actually help. I understand that recursion is easier f