[Auto Scheduler] Mali Support#7132
Merged
FrozenGene merged 5 commits intoapache:mainfrom Dec 22, 2020
Merged
Conversation
Member
Author
Member
Author
|
cc @antinucleon Apple's M1 GPU is more like Mali (such as unified memory) compared with nv gpu, maybe you could modify a little code and try. |
Member
Author
comaniac
requested changes
Dec 18, 2020
giuseros
reviewed
Dec 21, 2020
Contributor
giuseros
left a comment
There was a problem hiding this comment.
Thanks for the amazing PR @FrozenGene ! We are definitely interested, even though it's not in our immediate plans. I attempted a review and I left few minor comments.
Member
Author
Member
Author
antinucleon
reviewed
Dec 23, 2020
| node->sketch_rules.push_back(&rule_multi_level_tiling); | ||
| node->sketch_rules.push_back(&rule_skip_stage); | ||
| if (node->search_task->target->GetAttr<String>("device", "") == "mali") { | ||
| node->sketch_rules.push_back(&rule_always_inline); |
Contributor
There was a problem hiding this comment.
@FrozenGene @merrymercy I think it worth to export sketch API to Python, make it more configurable. For a given workload, we may want to try multiple sketches pattern, exporting will enable these experiments without rebuild.
masahi
pushed a commit
to masahi/tvm
that referenced
this pull request
Dec 24, 2020
* [Auto Scheduler] Mali Support * Fix doc * fix lint * address comments * fix doc
tkonolige
pushed a commit
to tkonolige/incubator-tvm
that referenced
this pull request
Jan 11, 2021
* [Auto Scheduler] Mali Support * Fix doc * fix lint * address comments * fix doc
TusharKanekiDey
pushed a commit
to TusharKanekiDey/tvm
that referenced
this pull request
Jan 20, 2021
* [Auto Scheduler] Mali Support * Fix doc * fix lint * address comments * fix doc
trevor-m
pushed a commit
to neo-ai/tvm
that referenced
this pull request
Jan 21, 2021
* [Auto Scheduler] Mali Support * Fix doc * fix lint * address comments * fix doc
electriclilies
pushed a commit
to electriclilies/tvm
that referenced
this pull request
Feb 18, 2021
* [Auto Scheduler] Mali Support * Fix doc * fix lint * address comments * fix doc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the auto sheduler support for mali gpu.
On one T880-MP4 mali gpu, the performance of TFLite mobilenet v2:
As AutoTVM need much time, I don't test it. But according to previous experience and we beyond one good accelerate framework MNN, I am confident that AutoScheduler's performance is better than AutoTVM.