-
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
[tvmc][docs] Getting started tutorial for TVMC #6597
Conversation
* Include a tutorial, demonstrating basic capabilities of TVMC, by executing a full pipeline (tune, compile, run) on a ResNet-50 model. Co-authored-by: Matthew Barrett <matthew.barrett@arm.com>
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.
Thanks for the work!
Also cc @masahi @tmoreau89 @tqchen
Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com>
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.
Overall LGTM. Just a final comment.
@tmoreau89 @tqchen would you mind taking a look before we merge it?
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.
Thanks @leandron @mbaret @tkonolige @tqchen @tmoreau89 |
I can start a discuss forum topic on this if you think it's better, but I'm running into trouble running TVMC. I'm trying to import the resnet50-v2.7 model for tuning, and it's throwing a |
Yes please open a topic at the discuss forum. |
* [tvmc][docs] Getting started tutorial for TVMC * Include a tutorial, demonstrating basic capabilities of TVMC, by executing a full pipeline (tune, compile, run) on a ResNet-50 model. Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> * apply suggestions from code review Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com> * adjust text according to code-review * improve reading flow into tuning section Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com>
* [tvmc][docs] Getting started tutorial for TVMC * Include a tutorial, demonstrating basic capabilities of TVMC, by executing a full pipeline (tune, compile, run) on a ResNet-50 model. Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> * apply suggestions from code review Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com> * adjust text according to code-review * improve reading flow into tuning section Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com>
* [tvmc][docs] Getting started tutorial for TVMC * Include a tutorial, demonstrating basic capabilities of TVMC, by executing a full pipeline (tune, compile, run) on a ResNet-50 model. Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> * apply suggestions from code review Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com> * adjust text according to code-review * improve reading flow into tuning section Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com>
* [tvmc][docs] Getting started tutorial for TVMC * Include a tutorial, demonstrating basic capabilities of TVMC, by executing a full pipeline (tune, compile, run) on a ResNet-50 model. Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> * apply suggestions from code review Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com> * adjust text according to code-review * improve reading flow into tuning section Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com>
* [tvmc][docs] Getting started tutorial for TVMC * Include a tutorial, demonstrating basic capabilities of TVMC, by executing a full pipeline (tune, compile, run) on a ResNet-50 model. Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> * apply suggestions from code review Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com> * adjust text according to code-review * improve reading flow into tuning section Co-authored-by: Matthew Barrett <matthew.barrett@arm.com> Co-authored-by: Tristan Konolige <tristan.konolige@gmail.com> Co-authored-by: Cody Yu <comaniac0422@gmail.com>
Introduces a tutorial about TVMC, including a full pipeline
tvmc tune
,tvmc compile
,tvmc run
, with a working example using ResNet-50. The tutorial assumes #6578 as part of tvmc, so in case you want to try it out, please apply that PR locally.cc @comaniac @FrozenGene @u99127 for review if possible