[Apache TVM Discuss] [Development] [Dynamic Shape] Better simplify support for dynamic boundary check

2021-08-16 Thread Siyuan Feng via Apache TVM Discuss
Thanks for the proposal. I agree that it is a valuable problem for dynamic shape. Here are two questions from me: 1. Is it necessary to rewrite `(d1*d2)*d0` into `d0*d1*d2`. Can we prove them equal by `Analyzer` directly? 2. Can we embed the new rule into `tir.Simplify` rather than create a n

[Apache TVM Discuss] [Development] [Dynamic Shape] Better simplify support for dynamic boundary check

2021-08-16 Thread Lu Yifan via Apache TVM Discuss
We are working on Dyn-shape model compilation with Relay VM, and currently running into this issue, although this redundant Expr may be eliminated through compilation with clang/gcc O2 option (@lygztq has located the LLVM::EarlyCSE pass may help), but we hope to fix it within TIR scope, avoid

Re: [apache/tvm-rfcs] [RFC] [Relay] Automatic Mixed Precision Pass (#6)

2021-08-16 Thread Cody Yu
Took a quick pass to the updated RFC. I think it's almost ready to merge as long as the last 3 comments are resolved. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/tvm-rfcs/pull/6#issuecomment-899

Re: [apache/tvm] Fix builtin_fp16.h path according to: https://discuss.tvm.apache.org/… (#8705)

2021-08-16 Thread Junru Shao
okay TQ has an explanation here: https://github.com/apache/tvm/pull/8719 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/pull/8705#issuecomment-899656015

[Apache TVM Discuss] [Development] Sparse OpenCL error: scheduling sparse computations that use tir.ir_builder

2021-08-16 Thread Tristan Konolige via Apache TVM Discuss
Meta scheduler (autotir) has not been full merged yet. I believe it will work on sparse workloads, but I don't know how well it compares to the hand written kernels. --- [Visit Topic](https://discuss.tvm.apache.org/t/sparse-opencl-error-scheduling-sparse-computations-that-use-tir-ir-build

[Apache TVM Discuss] [Development] [Dynamic Shape] Better simplify support for dynamic boundary check

2021-08-16 Thread 张天启
## Background and Motivation Currently, TVM uses the `tir.Simplify` pass to remove some redundant expression like nested equivalent if-condition. For example, given a simple softmax operation like ``` primfn(placeholder_1: handle, T_softmax_norm_1: handle) -> () attr = {"from_legacy_te_sche

Re: [apache/tvm] Fix builtin_fp16.h path according to: https://discuss.tvm.apache.org/… (#8705)

2021-08-16 Thread Tianqi Chen
Merged #8705 into main. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/pull/8705#event-5162861599