-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Relay][Runtime] Implementation of Relay VM #2889
Conversation
tests/python/relay/model_zoo_data/lstm_i128_h128-symbol.json.data
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's get some unnecessary diffs out first.
1d28c24
to
02c0823
Compare
b4f7b73
to
59181eb
Compare
I had do a quick review and will do a more through one later. |
reviewers, please https://docs.tvm.ai/contribute/code_review.html#approve-and-request-changes-explicitly @vinx13 @sgrechanik-h @junrushao1994 @kazum @hlu1 please also help review if you have time |
Co-Authored-By: jroesch <[email protected]>
Co-Authored-By: jroesch <[email protected]>
Co-Authored-By: jroesch <[email protected]>
Co-Authored-By: jroesch <[email protected]>
Co-Authored-By: jroesch <[email protected]>
* Implement the virtual machine Co-Authored-By: wweic <[email protected]> * Fix rebase build issues * Reorganize vm.py and fix allocator bug * Remove compiler * Remove tests * Remove backend/vm/vm.cc too * Fix docs * Fix doc * Fix doc * Add vm docs * Remove change to dead_code.cc * Remove Relay logging * Remove reduce * Update include/tvm/runtime/vm.h Co-Authored-By: jroesch <[email protected]> * Reformat * Update include/tvm/runtime/vm.h Co-Authored-By: jroesch <[email protected]> * Address feedback * Update include/tvm/runtime/vm.h Co-Authored-By: jroesch <[email protected]> * Apply suggestions from code review Co-Authored-By: jroesch <[email protected]> * Fix a couple outstanding comments * Last couple comments * Update include/tvm/runtime/vm.h Co-Authored-By: jroesch <[email protected]> * Address code review feedback * Fix final comment * Address comments * Error reporting and example * add Const * Explicitly delete copy assignment operator * Fix rebase * Pass 3rd arg to fusion
* Implement the virtual machine Co-Authored-By: wweic <[email protected]> * Fix rebase build issues * Reorganize vm.py and fix allocator bug * Remove compiler * Remove tests * Remove backend/vm/vm.cc too * Fix docs * Fix doc * Fix doc * Add vm docs * Remove change to dead_code.cc * Remove Relay logging * Remove reduce * Update include/tvm/runtime/vm.h Co-Authored-By: jroesch <[email protected]> * Reformat * Update include/tvm/runtime/vm.h Co-Authored-By: jroesch <[email protected]> * Address feedback * Update include/tvm/runtime/vm.h Co-Authored-By: jroesch <[email protected]> * Apply suggestions from code review Co-Authored-By: jroesch <[email protected]> * Fix a couple outstanding comments * Last couple comments * Update include/tvm/runtime/vm.h Co-Authored-By: jroesch <[email protected]> * Address code review feedback * Fix final comment * Address comments * Error reporting and example * add Const * Explicitly delete copy assignment operator * Fix rebase * Pass 3rd arg to fusion
This represents the culmination of #2810.
The final version of the VM adapts ideas from both proposals into a unified design.
This PR is work from @wweic @icemelon9 @zhiics and I.
Review please:
cc @joshpoll @weberlo @MarisaKirisame @slyubomirsky @tqchen @nhynes @ZihengJiang @junrushao1994