[Apache TVM Discuss] [Development/RFC] RFC: Introduce automatic formatting of Python code

2020-09-08 Thread Jared Roesch via Apache TVM Discuss
Relatively recently in TVM's development we introduced the use of clang-format to all of our C++ code. Overall I think this has been a huge win and makes it much simpler to maintain consistent style across the code base and reduces the amount of time spent fighting the linter in CI. I propose

[Apache TVM Discuss] [Development/RFC] RFC: Introduce automatic formatting of Python code

2020-09-09 Thread Jared Roesch via Apache TVM Discuss
@tqchen Is your worry performance here? The reason we use Black on other code at Octo for example is that its push button on the entire code base like gofmt and rustfmt. --- [Visit Topic](https://discuss.tvm.apache.org/t/rfc-introduce-automatic-formatting-of-python-code/7843/10) to respo

[Apache TVM Discuss] [Development/RFC] RFC: Introduce automatic formatting of Python code

2020-09-09 Thread Jared Roesch via Apache TVM Discuss
I was able to recreate a version of the script using black's functionality see PR: https://github.com/apache/incubator-tvm/pull/6437. --- [Visit Topic](https://discuss.tvm.apache.org/t/rfc-introduce-automatic-formatting-of-python-code/7843/12) to respond. You are receiving this because y

[Apache TVM Discuss] [Development] Make binary distributation

2020-09-10 Thread Jared Roesch via Apache TVM Discuss
There is an underway effort by the community members to do a binary release of TVM with linked dependencies under the name `tlcpack`. The goal of these packages are to include TVM linked with components that do not have open source friendly licenses. My understand is that its official release

[Apache TVM Discuss] [Development/RFC] [RFC] Rename Hybrid Script

2020-09-17 Thread Jared Roesch via Apache TVM Discuss
I don't think having a single decorator makes sense given that the two scripts will require disambiguation with separate decorators. My recent syntactic rewriting work on Relay shares very little concrete syntax with TIR. Either way we will probably need `tvm.script.tir` and `tvm.script.relay`

[Apache TVM Discuss] [Development/RFC] [RFC] Rename TVMContext to TVMDevice

2021-02-09 Thread Jared Roesch via Apache TVM Discuss
I agree with the change, internally it would be nice to drop the TVM prefix as well and just refer to it as a `tvm::Device` like we do with almost every other data structure in the code base. Thanks for doing this Haichen! --- [Visit Topic](https://discuss.tvm.apache.org/t/rfc-rename-tv

[Apache TVM Discuss] [Development/RFC] [RFC] Setting up Mypy type checking for TVM codebase

2021-03-02 Thread Jared Roesch via Apache TVM Discuss
At the time we still had to support 2.7 which in retrospect we should of pushed harder for everyone to move to newer version of Python. The Python community is glacially slow at upgrading. @kazimuth I don't think we should have to make the stub generation non-deterministic. In the previous w

[Apache TVM Discuss] [Announcement] [Community] @Mousius-> Committer

2021-11-18 Thread Jared Roesch via Apache TVM Discuss
Please join us to welcome @Mousius as a new committer to TVM. Christopher has made great contributions to ARM's work on CMSIS and Ethos-U support and the infrastructure around it. He has contributed to many reviews and RFCs around uTVM and the related features. He is also one of the most acti