Re: [apache/tvm-rfcs] [Process RFC] Empowering New Scoped Module to the Project (PR #95)

2022-10-21 Thread Jared Roesch
While discussion continues I am asking that we hold off on voting so that all active contributors have a chance weigh in and comment. I know of at least two PMC members with perspectives to share that cannot comment until mid November. Holding off a few weeks seems like the right tradeoff for ma

Re: [apache/tvm] [VOTE] Release Apache TVM v0.9.0.rc0 (Issue #12103)

2022-07-14 Thread Jared Roesch
+1 -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/12103#issuecomment-1185206169 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/tvm] [VOTE] Quarterly Releases RFC (Issue #11415)

2022-05-26 Thread Jared Roesch
+1 -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/11415#issuecomment-1138938468 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/tvm] [WIP/RFC] Add TVM dependencies to pyproject.toml (#6620)

2022-01-19 Thread Jared Roesch
Closed #6620. -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/pull/6620#event-5919865107 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/tvm] [WIP/RFC] Add TVM dependencies to pyproject.toml (#6620)

2022-01-19 Thread Jared Roesch
This PR appears to be out of date, please feel free to reopen it if this is not the case. As part of the new year we are attempting to triage the project's open pull requests to ensure that code which is ready for review and/or merging receives adequete attention. Thanks again for your contr

Re: [apache/tvm] [pre-RFC][BYOC] Marvell ML/AI Accelerator Integration (PR #9730)

2021-12-13 Thread Jared Roesch
Thanks for your contribution. When you have a chance could you update the description of the PR with more details, and potentially link to the pre-RFC discussion? Thanks! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: http

Re: [apache/tvm] [RFC] Tracking Issue for TECompiler (#7526)

2021-11-29 Thread Jared Roesch
Closed #7526. -- 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/issues/7526#event-5688955755

Re: [apache/tvm] [RFC] Tracking Issue for TECompiler (#7526)

2021-11-29 Thread Jared Roesch
Ok Mark will split out into follow up issues that go on the roadmap and we will close this one. cc @Mousius -- 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/issues/7526#issuecomment-982229451

Re: [apache/tvm] [RFC] Tracking Issue for TECompiler (#7526)

2021-11-29 Thread Jared Roesch
cc @mbs-octoml @denise-k is it possible for you guys to take over this one as you now have the most context? -- 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/issues/7526#issuecomment-982090940

[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

Re: [apache/tvm] BUG #8013: Remove register_alter_op_layout example from dev/use_pass_infra.py (#9076)

2021-09-23 Thread Jared Roesch
@mbs-octoml can we just put a backlog item on fixing the tutorial? going to merge for 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/tvm/pull/9076#issuecomment-925975088

Re: [apache/tvm-rfcs] [RFC][TIR] TIR Non-scalar Constants (#22)

2021-09-21 Thread Jared Roesch
I read everything and will respond in depth in the morning after I have thought about it for a bit. I see both of the concerns here. -- 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/22

Re: [apache/tvm] [VOTE] Adopt round-robin assignment of reviewers for GitHub pull request reviewer assignment. (#9057)

2021-09-20 Thread Jared Roesch
See: https://issues.apache.org/jira/browse/INFRA-22324 for more context. -- 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/issues/9057#issuecomment-923462200

[apache/tvm] [VOTE] Adopt round-robin assignment of reviewers for GitHub pull request reviewer assignment. (#9057)

2021-09-20 Thread Jared Roesch
Dear Community: We recently started using GitHub's CODEOWNERS to assign reviewers automatically but many committers have complained that they are struggling with the default settings assigning far too many pull requests to far too many people and not providing fair scheduling across all reviewe

Re: [apache/tvm] [VOTE] Adopt New Code Review Guideline (#8928)

2021-09-10 Thread Jared Roesch
+1 -- 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/issues/8928#issuecomment-917238307

Re: [apache/tvm] [RFC] Make tflite frontend more data driven / improve errors. (#5519)

2021-08-27 Thread Jared Roesch
Closed #5519. -- 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/5519#event-5220060096

Re: [apache/tvm] [RFC] Make tflite frontend more data driven / improve errors. (#5519)

2021-08-27 Thread Jared Roesch
@u99127 I am doing triage on old PRs, going to close this, please feel free to follow up if you would like to still merge these changes. Thanks for your contributions!. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https

Re: [apache/tvm-rfcs] Additional Target Hooks RFC (#10)

2021-08-02 Thread Jared Roesch
Thanks for the work on this, after thinking about it for a while I believe the proposed hooks runs counter to goals of the TECompiler and "unified lowering" refactor that we've been working on in pieces. Our design goal is to not allow arbitrary customization of "lowering" but instead seal it b

Re: [apache/tvm-rfcs] Update the guideline of RFC tracking issues (#13)

2021-07-27 Thread Jared Roesch
LGTM thanks @comaniac -- 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/13#issuecomment-887696449

Re: [apache/tvm] [RFC]TECompiler: Staged refactor and removal of compile engine (#7518)

2021-07-07 Thread Jared Roesch
Merged #7518 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/7518#event-4992785237

Re: [apache/tvm-rfcs] [RFC] RFC Process Update (#2)

2021-04-22 Thread Jared Roesch
I think we just need to resolve @tqchen's comment since I think the request was brought up by @areusch and we can merge. -- 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/2#issuecomment

Re: [apache/tvm] [RFC]TECompiler: Staged refactor and removal of compile engine (#7518)

2021-03-24 Thread Jared Roesch
cc @mbaret -- 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/7518#issuecomment-805600377

Re: [apache/tvm] [RFC]TECompiler: Staged refactor and removal of compile engine (#7518)

2021-03-24 Thread Jared Roesch
Modulo some left over polish work and documentation I think this is ready for review @icemelon9 @comaniac @csullivan @tkonolige @rkimball @junrushao1994 @areusch @mehrdadh -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: ht

Re: [apache/tvm] [RFC]TECompiler: Staged refactor and removal of compile engine (#7518)

2021-03-24 Thread Jared Roesch
Need to port fix from #7703 but otherwise ready for review. -- 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/7518#issuecomment-805594042

[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] [RFC] Tracking Issue for TECompiler (#7526)

2021-02-24 Thread Jared Roesch
Tracking issue for [te_compiler](https://discuss.tvm.apache.org/t/rfc-relay-tecompiler-rewrite-existing-compile-engine-to-match-updated-compiler-flow/9233). ### About tracking issues Tracking issues are used to record the overall progress of implementation and relevant issues. A tracking issue i

[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

Re: [apache/tvm] Update uTVM code to work with the nRF5340DK dev board. (#7331)

2021-01-27 Thread Jared Roesch
Merged #7331 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/7331#event-4259183187

Re: [apache/incubator-tvm] [CI] Install libc6-dev-i386 to compile wasm32 (#6886)

2020-11-17 Thread Jared Roesch
@tqchen these tests are only ran on CPU so I should only have to update that image right? -- 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/6886#issuecomment-729304036

Re: [apache/incubator-tvm] [CI] Install libc6-dev-i386 to compile wasm32 (#6886)

2020-11-17 Thread Jared Roesch
Looks good to me, was on vacation for a few days, thanks for the fix! -- 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/6886#issuecomment-729257691

Re: [apache/incubator-tvm] [COMMUNITY] junrushao1994 -> committer (#6719)

2020-10-21 Thread Jared Roesch
@zhiics you will probably have to rebase due to auto scheduling CI corruption -- 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/6719#issuecomment-713883002

Re: [apache/incubator-tvm] [VOTE] Release Apache TVM (incubating) v0.7.0.rc0 (#6622)

2020-10-05 Thread Jared Roesch
+1 (binding) * Checked the code compiles * Checked License and Notice * Version -- 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/issues/6622#issuecomment-703882812

Re: [apache/incubator-tvm] [RFC] NNVMv2 IR - Relay (#1673)

2020-09-24 Thread Jared Roesch
@calvin886 ONNX was very different then it is today back in 2017 when we began work on Relay. Furthermore ONNX is designed as an interchange format and has very little of the utilities that come with compiler IRs, these days Relay has many more extensions then ONNX including closures, data struc

[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`

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

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

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

2020-09-10 Thread Jared Roesch
@tqchen recommended that we first format the entire code base using these settings then try to land the CI parts, going to open a second PR with the fully formatted repo. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: htt

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

2020-09-10 Thread Jared Roesch
@junrushao1994 @comaniac @areusch I just added the scripts and cleaned some things up, take another pass if you can -- 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#issuecomm

Re: [apache/incubator-tvm] [RFC][Formatting] Apply black to entire Python code base. (#6437)

2020-09-10 Thread Jared Roesch
@areusch @tqchen @comaniac I can rollback the formatting, the first 3 or 4 commits were focused on formatting then I went through the process to see if it would actually work. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

[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: 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

Re: [apache/incubator-tvm] [RFC][Formatting] Apply black to entire Python code base. (#6437)

2020-09-09 Thread Jared Roesch
cc @tqchen @areusch @comaniac @u99127 @jwfromm @mbrookhart @junrushao1994 -- 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-689997944

[apache/incubator-tvm] [RFC][Formatting] Apply black to entire Python code base. (#6437)

2020-09-09 Thread Jared Roesch
As per the recent RFC https://discuss.tvm.apache.org/t/rfc-introduce-automatic-formatting-of-python-code/7843/10. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-tvm/pull/6437 -- Commit Summary -- * Add CI boilerplate for black * Work on

[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-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

Re: [apache/incubator-tvm] [RFC] v0.7 Release Planning (#6421)

2020-09-08 Thread Jared Roesch
@comaniac if we land the final error reporting PR it removes the existing error reporting from type checker completely, I think we should either choose to ship it this release or delay until next release. One worry is that there will probably be a period of stability where we iterate/polish on n

[TVM Discuss] [Development/RFC] [RFC] SaveToFile(file_name, format) expected behavior

2020-09-03 Thread Jared Roesch via TVM Discuss
I think it makes sense to be stricter. :+1: --- [Visit Topic](https://discuss.tvm.ai/t/rfc-savetofile-file-name-format-expected-behavior/7741/8) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.a

Re: Test to see if podling is listening

2020-08-27 Thread Jared Roesch
Ack On Thu, Aug 27 2020 at 8:31 PM, Zhi Chen < csw...@gmail.com > wrote: > > > > ACK > > > > On Thu, Aug 27, 2020 at 5:53 PM Henry Saputra > wrote: > > >> >> >> Hear ya >> >> > > > > > > > >> >> >> On Thu, Aug 27, 2020 at 10:37 AM Dave Fisher wrote: >> >> > > > > > > >

Re: [apache/incubator-tvm] [VOTE] Apache TVM Graduation (#6332)

2020-08-24 Thread Jared Roesch
+1 (binding) -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-tvm/issues/6332#issuecomment-679409069

Re: [apache/incubator-tvm] [DISCUSS][RFC] Apache TVM Graduation (#6299)

2020-08-19 Thread Jared Roesch
+1 exciting times, agree with what everyone else has already said! -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-tvm/issues/6299#issuecomment-676731772

Re: [apache/incubator-tvm] [VOTE] Release Apache TVM (incubating) v0.6.1.rc1 (#5947)

2020-06-29 Thread Jared Roesch
+1 -- 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/issues/5947#issuecomment-651300572

Re: [apache/incubator-tvm] [VOTE] Release Apache TVM (incubating) v0.6.1.rc0 (#5939)

2020-06-26 Thread Jared Roesch
+1 -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-tvm/issues/5939#issuecomment-650484640

[TVM Discuss] [Development] [DISCUSS] The meaning of "float" in Relay

2020-06-11 Thread Jared Roesch via TVM Discuss
I think fp32 makes sense, the problem is that NumPy defaults are arch. specific and on 32-bit platforms the default sizing for both integers ("int") and floating point ("float") are different. A problem that has plagued us repeatedly. The behavior of `const` iirc is trying to normalize away th

[TVM Discuss] [Development/RFC] [RFC][Relay] Program Matching for Relay Pt 1: A pattern language

2020-04-02 Thread Jared Roesch via TVM Discuss
Sorry for the lack of updates been super oversubscribed lately (in the process of finishing my thesis) plus lots of stuff at OctoML. @mbrookhart is a hero and has a production quality version he has been working on in C++. I think he is getting really close to shipping a first version of the

Re: [apache/incubator-tvm] [VOTE] VTA HW/SW refactor (#5102)

2020-03-19 Thread Jared Roesch
+1 -- 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/issues/5102#issuecomment-601368458

[apache/incubator-tvm] [COMMUNITY] Add @abergeron -> reviewer (#5064)

2020-03-13 Thread Jared Roesch
Please welcome Arnaud Bergeron (@abergeron) as a TVM reviewer. He has been an active user of Relay and has contributed quite a few bug fixes and helped discuss and shape some of the Relay APIs as a user, as well as contributing Conda support and numerous ops. - [Commits History](https://github

Re: [apache/incubator-tvm] [DEV] TVM v0.7 Roadmap (#4845)

2020-02-25 Thread Jared Roesch
> I am currently working on some end-to-end model stuff, and Relay's > optimization pass are too slow. Any plans on improving the compilation speed? Can you identify why they are slow? For example switching some passes to the new iterative graph visitor might improve speed quite a bit. In previo

[apache/incubator-tvm] [NNVM][RFC] Begin the removal of NNVM. (#4496)

2019-12-10 Thread Jared Roesch
After one cycle of deprecation it is now time to start the removal of legacy NNVM code. NNVM's existence in the repo is preventing some refactoring to occur for @icemelon9's new dynamically sized kernel generation work. I know we still have some external consumers of NNVM and we should be mindf

Re: [apache/incubator-tvm] [VOTE] Release Apache TVM (incubating) v0.6.0.rc2 (#4443)

2019-11-29 Thread Jared Roesch
+1 -- 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/issues/4443#issuecomment-559900647

Re: [apache/incubator-tvm] [COMMUNITY] Add DISCLAIMER, KEYS for ASF release (#4345)

2019-11-15 Thread Jared Roesch
Merged #4345 into master. -- 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/4345#event-2804131179

Re: [dmlc/tvm] [RFC][VM] Heterogeneous execution in Relay VM (#4178)

2019-10-23 Thread Jared Roesch
I think if we look at my recent PR we need to probably track the device context when we allocate storage. The storage's context will prevent merging different pieces of storage. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitH

Re: [dmlc/tvm] [VOTE] Add "Organizations contributing using and contributing to TVM" Section to Community Webpage (#4162)

2019-10-21 Thread Jared Roesch
+1 -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/issues/4162#issuecomment-544754307

[TVM Discuss] [Development] [Discussion] Adding a function to Relay module automatically triggers InferType

2019-08-08 Thread Jared Roesch via TVM Discuss
Besides mutually recursive globals deferring type checking provides no benefits, code that doesn't type check is not a valid Relay program and can not be used to do anything, analysis, optimization, or code generation. We can defer type checking to the first pass, but I don't see it providing

[dmlc/tvm] [RFC][Relay][HalideIR] Automatically generate the AST (#3501)

2019-07-05 Thread Jared Roesch
I have begun to experiment with writing a new library called `astgen` to replace the large quantity of boilerplate required by the AST today, and enable us to more flexibly evolve the node system, and its APIs. The first version of this tool will take a Python file like this: ```python import as

Re: [dmlc/tvm] [RFC][ARITH] Introduce FloorDiv/Mod for Context-Independent Simplifications (#3478)

2019-07-02 Thread Jared Roesch
Can you clarify the example above? the simplifications seem invalid to me, how can you drop the addition by 3? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/issues/3478#issuecomment-507935931

Re: [dmlc/tvm] [Relay][RFC] Garbage Collection (#3423)

2019-07-01 Thread Jared Roesch
I talked with Zach DeVito from PyTorch team for a while about RefCounting, there are quite a few benefits to using reference counting. We should probably just use weak refs, solutions from Counting Immutable Beans (a recent paper by my MSR collaborator where they do much better than GC languages

Re: [dmlc/tvm] [RFC][Relay] Dynamic Dimensions (#3042)

2019-05-21 Thread Jared Roesch
@ajtulloch @icemelon9 and I have been quietly hacking on a prototype the last few months but have been busy with other things (such as VM 😄 ). We are going to start pushing now, I opened a draft PR which will contain type checking changes, and we will follow-up with code generation next. One th

[dmlc/tvm] [Relay][RFC] Implement type checking for Any (#3221)

2019-05-21 Thread Jared Roesch
Currently a draft PR, see related RFC #3042. This PR will only contain the type checking changes to Relay to support Any. @icemelon9 and I will follow up with the related code generation PRs. You can view, comment on, or merge this pull request online at: https://github.com/dmlc/tvm/pull/3221

Re: [dmlc/tvm] [Relay][RFC] VM Object and Intepreter value (#3209)

2019-05-20 Thread Jared Roesch
The problem with unification of the values is that closures fundamentally have a different representation and can't use the runtime's because they must store a NodeRef (i.e the code). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it o

[dmlc/tvm] [RFC][Relay] Dynamic Dimensions (#3042)

2019-04-17 Thread Jared Roesch
# Supporting Dynamic Dimensions I recently opened an RFC proposing a new dynamic runtime (see #2810). A missing piece of the puzzle for supporting fully dynamic models is typing, and code generation for tensors with statically unknown shapes. There are three critical steps to supporting dynami

Re: [dmlc/tvm] [RFC] [VTA] [TSIM] Enabling Cycle-Accurate Hardware Simulation for VTA #3009 (#3010)

2019-04-12 Thread Jared Roesch
Do we need to commit the Verilog code? isn't generated -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/pull/3010#issuecomment-482743446

[TVM Discuss] [Development] [DISCUSS] Contributing new docs for InferBound

2019-04-09 Thread Jared Roesch via TVM Discuss
Haven't had the chance to read the full post yet, but wanted to just say this looks great, and the kind of things we need more of! We've been chatting about outlining a new structure for the docs and I think this kind of technical documentation would be good to put into a dev's guide to workin

Re: [dmlc/tvm] [VOTE] Apache Transition Plan (#2973)

2019-04-09 Thread Jared Roesch
+1 -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/issues/2973#issuecomment-481488643

Re: [dmlc/tvm] [Vote] Deprecate Python2 Support (#2994)

2019-04-09 Thread Jared Roesch
👍 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/issues/2994#issuecomment-481482279

[dmlc/tvm] [Relay][RFC][Fix] Rename RelayPrint to AsText (#2984)

2019-04-08 Thread Jared Roesch
Change the name of RelayPrint to AsText to mirror the higher level API (see #2955). You can view, comment on, or merge this pull request online at: https://github.com/dmlc/tvm/pull/2984 -- Commit Summary -- * Rename RelayPrint to AsText -- File Changes -- M include/tvm/relay/expr.h (1

[TVM Discuss] [Development] Zero copy DLManagedTensor for "set_input"

2019-04-05 Thread Jared Roesch via TVM Discuss
This is one of the errors from the code produced by compiling TVM's LLVM output. It looks like you are most likely corrupting the DLTensor pointer in some way. `int32(arg0.shape[0]) == 33554432`, this part is complaining that the first dimension of the first argument's shape is wrong. What a

Re: [dmlc/tvm] [RFC][AUTOTVM] Auto-Schedule from Compute Declaration (#2954)

2019-04-03 Thread Jared Roesch
@merrymercy I'm less interested in LOC and more how much conceptual burden there is. What are the key pieces that make up a backend description is more my question. I looked over the code but was at SysML and have two deadlines this week so I haven't had a chance to really look it over. Look f

Re: [dmlc/tvm] [RFC][AUTOTVM] Auto-Schedule from Compute Declaration (#2954)

2019-04-02 Thread Jared Roesch
@merrymercy how much work is there per backend? looking over the code now will follow up with more questions later. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/dmlc/tvm/issues/2954#issuecomment-4793000

Re: [dmlc/tvm] [RFC] Relay C++ Frontend (#2685)

2019-04-02 Thread Jared Roesch
I think we should consider it, I think having the tuner sit in Python is okay the more important bit being the schedules and other compiler pieces in C++ for integrating the compiler. I talked with some PyTorch people today and they suggested a Python free version of the compiler would be important

[TVM Discuss] [Development] ONNX model compilation fails with a model that previously worked

2019-04-01 Thread Jared Roesch via TVM Discuss
It should be disabled by default, it is set at optimization level 2, so I'm not sure why it is executing. Can you try: ``` with relay.build_module.build_config(opt_level=2): graph_json, lib, params = relay.build_module.build(...) ``` --- [Visit Topic](https://discuss.tvm.ai/t/onnx-mode

[TVM Discuss] [Development] ONNX model compilation fails with a model that previously worked

2019-04-01 Thread Jared Roesch via TVM Discuss
This looks like someone introduced a bug or regression into the alter layout pass, could you open an issue against dmlc master so we can CC the appropriate people to work on this. You can try to turn off the alter-layout optimization if you want to make progress. --- [Visit Topic](https:/

Re: [dmlc/tvm] [RFC] Relay Dynamic Runtime (#2810)

2019-03-24 Thread Jared Roesch
I posted a draft PR of the VM so everyone can check it out, provide feedback, and play with the prototype I discussed. See #2889. I'll be polishing it over the next few days. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [dmlc/tvm] [RFC] Relay Dynamic Runtime (#2810)

2019-03-24 Thread Jared Roesch
The implementation of the hardware is not of interest to the high-level Relay program all Tensor to Tensor functions are black box. They can be implemented anyway you want, in C++, in TVM, or as a hardware accelerator primitive. If you want to map a subset of the program down to this hardware yo