[TVM Discuss] [Development/RFC] [RFC][VTA] Support for Cloud Devices (OpenCL-compatible)

2020-05-28 Thread tqchen via TVM Discuss
also cc @vegaluis @liangfu --- [Visit Topic](https://discuss.tvm.ai/t/rfc-vta-support-for-cloud-devices-opencl-compatible/6676/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubsc

[TVM Discuss] [Development/RFC] How to find the document of nnvm IR format

2020-05-28 Thread lee64456546 via TVM Discuss
``` { "op": "conv2d", "name": "conv1", "attrs": { "channels": "20", "dilation": "[1, 1]", "groups": "1", "kernel_layout": "OIHW", "kernel_size": "[5, 5]", "layout": "NCHW", "out_layout": "NCHW", "padding":

Re: [apache/incubator-tvm] [COMMUNITY] @masahi -> PPMC (#5691)

2020-05-28 Thread Neo Chien
Congratulations! @masahi :) -- 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/5691#issuecomment-635713551

Re: [apache/incubator-tvm] [COMMUNITY] @zhiics -> PPMC (#5692)

2020-05-28 Thread Neo Chien
Congratulations! @zhiics :) -- 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/5692#issuecomment-635713660

[apache/incubator-tvm] [COMMUNITY] @masahi -> PPMC (#5691)

2020-05-28 Thread Tianqi Chen
Please join us to welcome @masahi as a new PPMC member of the TVM community. Masa is an early TVM contributor. He has been contributing various modules such as pytorch control flow import, AMD Rocm backend and quantization. - [Commits](https://github.com/apache/incubator-tvm/commits?author=masa

[TVM Discuss] [Development/RFC] [PatternLang] Match Constant Nodes

2020-05-28 Thread Cody H. Yu via TVM Discuss
PR filed https://github.com/apache/incubator-tvm/pull/5689 --- [Visit Topic](https://discuss.tvm.ai/t/patternlang-match-constant-nodes/6835/6) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/

[TVM Discuss] [Development/RFC] [PatternLang] Match Constant Nodes

2020-05-28 Thread Cody H. Yu via TVM Discuss
Thanks for the pointer! So I'll open a PR this afternoon including the following: - Add ConstantPattern - Add descriptions to the doc about how to match constant with or without a specific value. - Add description to the doc about welcome to raise an issue or open PRs to add more pattern node

[TVM Discuss] [Development/RFC] [PatternLang] Match Constant Nodes

2020-05-28 Thread Matthew Brookhart via TVM Discuss
:) Want to open that POC as a PR? --- [Visit Topic](https://discuss.tvm.ai/t/patternlang-match-constant-nodes/6835/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/2c7ad226

[TVM Discuss] [Development/RFC] [PatternLang] Match Constant Nodes

2020-05-28 Thread Matthew Brookhart via TVM Discuss
Hi Cody, There are some examples in the unit tests of matching const nodes with specific values: https://github.com/apache/incubator-tvm/blob/a072da0588c542757d2815832b7f010f530b2428/tests/python/relay/test_dataflow_pattern.py#L685-L759 Adding ConstantPattern with an optional value is probabl

[TVM Discuss] [Development/RFC] [PatternLang] Match Constant Nodes

2020-05-28 Thread Cody H. Yu via TVM Discuss
Update: For **A.2**, I've made a POC here: https://github.com/comaniac/tvm/tree/add_const_to_pattern With the POC, we can match the following pattern: ```python conv2d = is_op('nn.conv2d')(wildcard(), ConstantPattern()) pattern = is_op('nn.bias_add')(conv2d, wildcard()) ``` --- [Visit Top

[TVM Discuss] [Development/RFC] [RFC] Naming scheme for TVM versions and packages

2020-05-28 Thread tqchen via TVM Discuss
I am thinking along the lines of `python version.py --scm-version` that performs the calculation of the tag(as in the logic of `setuptools_scm`) and update the relevant files. --- [Visit Topic](https://discuss.tvm.ai/t/rfc-naming-scheme-for-tvm-versions-and-packages/6833/4) to respond.

[TVM Discuss] [Development/RFC] [RFC] Naming scheme for TVM versions and packages

2020-05-28 Thread Leandro Nunes (Arm) via TVM Discuss
My understanding is that `version.py` role is, for a given version, generate local changes to physical files, to be merged into the source tree. With the proposed approach, we would be relying on `setuptools_scm` to calculate the proper PEP-440 compliant version at any given time, reducing as

[TVM Discuss] [Development/RFC] [PatternLang] Match Constant Nodes

2020-05-28 Thread Cody H. Yu via TVM Discuss
Based on the offline discussion with @matt-arm, users may have a requirment to match a pattern with constant nodes. For example, we may have a conv2d op with two arguments. ``` %0 = nn.conv2d(%x, %w) ``` After we bind the second argument with constants, it becomes: ``` %0 = nn.conv2d(%x, me

[TVM Discuss] [Development/RFC] [RFC] Naming scheme for TVM versions and packages

2020-05-28 Thread tqchen via TVM Discuss
I agree that adopting the version convention `0.7.0.dev912` makes sense. It would be useful to see if we can simply update to the `version.py` script to do so, my take is that it is not too hard as we can invoke a few git command to do that, and still use the same script to update versions whe

[TVM Discuss] [Development/RFC] [RFC] Naming scheme for TVM versions and packages

2020-05-28 Thread Leandro Nunes (Arm) via TVM Discuss
## Motivation One barrier that prevents users to quickly experiment with TVM, is that lack of a readily available pip packages. In order to generate standard Python packages, it is vital to have a consistent naming pattern (https://semver.org/), following PEP-440 (naming scheme for Python p

[TVM Discuss] [Development] How to add assertion checks in Tensor compute definition?

2020-05-28 Thread Mahesh Ambule via TVM Discuss
@junrushao1994, Thanks. I am not using hybrid script but this will help while using hybrid scripts. I will look into it. Also, does this mean TVM does not support assert natively and you have to use hybrid script for that? --- [Visit Topic](https://discuss.tvm.ai/t/how-to-add-assertion-ch