[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread Cody H. Yu via Apache TVM Discuss
Thanks for clarification. Make sense to me. --- [Visit Topic](https://discuss.tvm.apache.org/t/rfc-tensorir-a-schedulable-ir-for-tvm/7872/19) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apac

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread tqchen via Apache TVM Discuss
Because there is a 1-1 mapping between te.Stage and Block. It should actually not be hard to use tir schedule to schedule a te compute generated PrimFunc (either by getting block via name, or pragmatically traverse the blocks like we do pragmatically on stages). But i agree that we can keep te

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread Cody H. Yu via Apache TVM Discuss
So the scenario is like you can choose to use TE or TIR to write a compute, but if you choose TE, you have to first lower it to TIR and then add schedule primitives? IIUC, it seems to me that this is nontrivial, because TIR was not written by human and you may need to first print it out to fi

[Apache TVM Discuss] [Development] Can `slice` from relay support empty result?

2020-09-11 Thread wwwwcu via Apache TVM Discuss
Hi, I got the exactly error when I running TF SSD-ResNet34 model download from https://github.com/mlperf/inference/tree/master/vision/classification_and_detection I use ./incubator-tvm/tests/python/frontend/tensorflow/test_forward.py test_forward_ssd() to do the test. I just modify model_p

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread Yao Wang via Apache TVM Discuss
Would love to see dynamic shape supported otherwise a large set of models can't be backed by new TensorIR. :D --- [Visit Topic](https://discuss.tvm.apache.org/t/rfc-tensorir-a-schedulable-ir-for-tvm/7872/16) to respond. You are receiving this because you enabled mailing list mode. To un

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread Siyuan Feng via Apache TVM Discuss
Good questions! 1. As for as we know, we would like to let users use TensorIR schedule rather than TE schedule one we fully upstream the TensorIR. For three reasons: 1. Just as you have mentioned, TE is a fronted wrapper, and it directly generates TIR with blocks. Somehow, TE is more like

[apache/incubator-tvm] [COMMUNITY] comaniac -> Committer (#6463)

2020-09-11 Thread ziheng
Please join us to welcome Hao Yu (@comaniac) as a new Committer. Hao has been actively contributing to Relay, BYOC and Ansor. Hao is also quite active in reviewing and providing suggestions to a lot of pull requests, RFCs as well as answering questions in the forum. - [Commits History](https:/

[apache/incubator-tvm] [COMMUNITY] lhutton1 -> Reviewer (#6461)

2020-09-11 Thread Zhi
Please join us to welcome @lhutton1 as a new reviewer. He has been actively contributing to bring-your-own-codegen (BYOC), ConvertLayout, and integrating the Arm Compute Library into TVM. He also helped review BYOC and Relay pass PRs. - [Commits History](https://github.com/apache/incubator-tvm/

Re: [apache/incubator-tvm] [RFC][Formatting] Add scripts for applying Black to the Python code. (#6437)

2020-09-11 Thread Jared Roesch
I think I addressed all the comments, and bumped the CI. -- 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/incubator-tvm/pull/6437#issuecomment-691357110

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread Yao Wang via Apache TVM Discuss
Thanks for clarification. It would be nice if we can use various methods to create tensor programs and use new tir to schedule them. --- [Visit Topic](https://discuss.tvm.apache.org/t/rfc-tensorir-a-schedulable-ir-for-tvm/7872/14) to respond. You are receiving this because you enabled ma

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread Yao Wang via Apache TVM Discuss
Thanks for explanation. The relation between te and new tir is now more clear to me. --- [Visit Topic](https://discuss.tvm.apache.org/t/rfc-tensorir-a-schedulable-ir-for-tvm/7872/13) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emai

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread Cody H. Yu via Apache TVM Discuss
Thanks for the proposal! This definitely opens more opportunities for performance optimization. Two questions for clarification: 1. IIUC, based on the proposal and discussion, we will have both TE and TIR, but TE is more like a frontend wrapper of TIR to serve some users that prefer to write

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread tqchen via Apache TVM Discuss
TIR and TE does not conflict with each other. TE is still a useful DSL to stitch fragments of TIR together to form a PrimFunc. We could still define TE based DSL(backed by TIR) that enables primitives like compute and hybrid calls to stitch together a dataflow graph to form a PrimFunc And the

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread Bohan Hou via Apache TVM Discuss
Thanks for your reply! @kevinthesun [quote="kevinthesun, post:9, topic:7872"] Thank you for this proposal! This work does make scheduling much easier. I have a concern about using this way to write a tensor expression. It looks like more complicated than tvm.compute when defining matmul. We

[Apache TVM Discuss] [Development] Can `slice` from relay support empty result?

2020-09-11 Thread ccj159 via Apache TVM Discuss
Test model is MobileNetV3, use TF to load saved model to test, it works right. For tf.strided_slice(input_, begin, end, strides=None, ) , if begin > end, it will return empty list [] instead of raising an error. --- [Visit Topic](https://discuss.tvm.apache.org/t/can-slice-from-rela

Re: [apache/incubator-tvm] [RFC][Formatting] Add scripts for applying Black to the Python code. (#6437)

2020-09-11 Thread Jared Roesch
This is blocked on #6448 and #6451, once we land those two it should be possible to add the checking to the CI, format once more and land this. -- 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/incub

[Apache TVM Discuss] [Development] Can `slice` from relay support empty result?

2020-09-11 Thread Yao Wang via Apache TVM Discuss
What is the sematics of begin=3 and end=0 in the original framework? This relay node is illegal since it generates negative slice. --- [Visit Topic](https://discuss.tvm.apache.org/t/can-slice-from-relay-support-empty-result/5889/9) to respond. You are receiving this because you enabled m

[Apache TVM Discuss] [Development/RFC] [RFC] TensorIR: A schedulable IR for TVM

2020-09-11 Thread Yao Wang via Apache TVM Discuss
Thank you for this proposal! This work does make scheduling much easier. I have a concern about using this way to write a tensor expression. It looks like more complicated than tvm.compute when defining matmul. We need to define some buffers and creating block with corresponding shape dimensio