[TVM Discuss] [Questions] How to leverage tvm.tir.transform in TVM 0.7

2020-09-03 Thread Jared Roesch via TVM Discuss
If you want to just simplify a single expression/stmt you can use the internal API to do so. Here is how simplify pass is defined: ``` Pass Simplify() { auto pass_func = [](PrimFunc f, IRModule m, PassContext ctx) { auto* n = f.CopyOnWrite(); arith::Analyzer analyzer; n->body = a

[TVM Discuss] [Questions] How to leverage tvm.tir.transform in TVM 0.7

2020-09-03 Thread Jared Roesch via TVM Discuss
We have moved to having all passes use the pass infrastructure now, you should be able to just invoke Simplify on your entire IRModule before running your pass. i.e `Simplify()(mod)`. --- [Visit Topic](https://discuss.tvm.ai/t/how-to-leverage-tvm-tir-transform-in-tvm-0-7/7780/2) to respo

[TVM Discuss] [Questions] Incorrect Boundary Infer when scheduling contain tvm_if_then_else

2020-09-03 Thread Jun Yang via TVM Discuss
@wezuo Hi, have you already submit the PR? Thanks --- [Visit Topic](https://discuss.tvm.ai/t/incorrect-boundary-infer-when-scheduling-contain-tvm-if-then-else/2390/9) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here

[TVM Discuss] [Questions] How do you test the percentage of time spent on several CUDA kernels

2020-09-03 Thread Wheest via TVM Discuss
[The debugger](https://tvm.apache.org/docs/dev/debugger.html?highlight=debug) can provide some time breakdowns for different operations. However, I'm not sure if it will give you the granularity that you need. For example I have looked into the Conv2D op, and I wanted to get time breakdowns

[TVM Discuss] [Questions] [Auto-TVM] How to Auto tune the model on iOS device

2020-09-03 Thread jacobpostman via TVM Discuss
Hi @Dileep - There were a couple of problems I was running into: 1. The xcode build process initiated by the popen_test_rpc() was being terminated prematurely when run in the fcompile build_func. 2. The temp dylib filename with full path was not accessible from the ios rpc runner. As a hack

[TVM Discuss] [Questions] [Auto-TVM] How to Auto tune the model on iOS device

2020-09-03 Thread Dileep via TVM Discuss
Hi @kazum, I enabled the debugging logs of Autotune TVM, it is failing to tune the model on iOS device. can you please have a look into the below debugging logs Extract tasks... Tuning... Get devices for measurement successfully! [15:27:22] /Users/Dileep/LatestTVM/31_08/tvm/sr