-
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
[MetaSchedule][M4a] Add ScheduleRule class & PostOrderApply space generator #9761
Merged
Hzfengsy
merged 5 commits into
apache:main
from
zxybazh:meta-schedule/upstream/2021-12-16/space-generators
Dec 19, 2021
Merged
[MetaSchedule][M4a] Add ScheduleRule class & PostOrderApply space generator #9761
Hzfengsy
merged 5 commits into
apache:main
from
zxybazh:meta-schedule/upstream/2021-12-16/space-generators
Dec 19, 2021
Conversation
This file contains 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
zxybazh
requested review from
areusch,
comaniac,
Hzfengsy,
icemelon,
jroesch,
junrushao,
kparzysz-quic,
masahi,
merrymercy,
tqchen,
vinx13,
yzhliu,
zhiics and
ZihengJiang
as code owners
December 16, 2021 23:10
@zxybazh Let's fix the CI |
junrushao
approved these changes
Dec 17, 2021
junrushao
force-pushed
the
meta-schedule/upstream/2021-12-16/space-generators
branch
from
December 18, 2021 01:09
4c65a67
to
6b8e621
Compare
comaniac
approved these changes
Dec 18, 2021
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.
LGTM
Co-authored-by: Junru Shao <junrushao1994@gmail.com> Co-authored-by: Bohan Hou <32121147+spectrometerHBH@users.noreply.github.com> Co-authored-by: Ruihang Lai <lairuihangdongdong@qq.com> Co-authored-by: Hongyi Jin <3231950289@qq.com> Co-authored-by: Wuwei Lin <wuwei@apache.org> Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
junrushao
force-pushed
the
meta-schedule/upstream/2021-12-16/space-generators
branch
from
December 18, 2021 09:13
6b8e621
to
f5c4df8
Compare
Hzfengsy
approved these changes
Dec 19, 2021
ylc
pushed a commit
to ylc/tvm
that referenced
this pull request
Jan 7, 2022
…nerator. (apache#9761) * Add ScheduleRule class & PostOrderApply space generator. Co-authored-by: Junru Shao <junrushao1994@gmail.com> Co-authored-by: Bohan Hou <32121147+spectrometerHBH@users.noreply.github.com> Co-authored-by: Ruihang Lai <lairuihangdongdong@qq.com> Co-authored-by: Hongyi Jin <3231950289@qq.com> Co-authored-by: Wuwei Lin <wuwei@apache.org> Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn> * Fix comments & docs. * Fix for mypy. * Retrigger CI. * remove get_hex_address Co-authored-by: Junru Shao <junrushao1994@gmail.com> Co-authored-by: Bohan Hou <32121147+spectrometerHBH@users.noreply.github.com> Co-authored-by: Ruihang Lai <lairuihangdongdong@qq.com> Co-authored-by: Hongyi Jin <3231950289@qq.com> Co-authored-by: Wuwei Lin <wuwei@apache.org> Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
ylc
pushed a commit
to ylc/tvm
that referenced
this pull request
Jan 13, 2022
…nerator. (apache#9761) * Add ScheduleRule class & PostOrderApply space generator. Co-authored-by: Junru Shao <junrushao1994@gmail.com> Co-authored-by: Bohan Hou <32121147+spectrometerHBH@users.noreply.github.com> Co-authored-by: Ruihang Lai <lairuihangdongdong@qq.com> Co-authored-by: Hongyi Jin <3231950289@qq.com> Co-authored-by: Wuwei Lin <wuwei@apache.org> Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn> * Fix comments & docs. * Fix for mypy. * Retrigger CI. * remove get_hex_address Co-authored-by: Junru Shao <junrushao1994@gmail.com> Co-authored-by: Bohan Hou <32121147+spectrometerHBH@users.noreply.github.com> Co-authored-by: Ruihang Lai <lairuihangdongdong@qq.com> Co-authored-by: Hongyi Jin <3231950289@qq.com> Co-authored-by: Wuwei Lin <wuwei@apache.org> Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
62 tasks
junrushao
changed the title
[M3c][MetaScheduler] Add ScheduleRule class & PostOrderApply space generator.
[M4a][MetaScheduler] Add ScheduleRule class & PostOrderApply space generator.
Jan 26, 2022
junrushao
changed the title
[M4a][MetaScheduler] Add ScheduleRule class & PostOrderApply space generator.
[MetaScheduler] Add ScheduleRule class & PostOrderApply space generator.
Jan 26, 2022
junrushao
changed the title
[MetaScheduler] Add ScheduleRule class & PostOrderApply space generator.
[MetaSchedule] Add ScheduleRule class & PostOrderApply space generator.
Jan 26, 2022
junrushao
changed the title
[MetaSchedule] Add ScheduleRule class & PostOrderApply space generator.
[MetaSchedule][M4a] Add ScheduleRule class & PostOrderApply space generator.
Jan 26, 2022
junrushao
changed the title
[MetaSchedule][M4a] Add ScheduleRule class & PostOrderApply space generator.
[MetaSchedule][M4a] Add ScheduleRule class & PostOrderApply space generator
Jan 26, 2022
qsqqsqqsq-intellif
pushed a commit
to qsqqsqqsq-intellif/tvm
that referenced
this pull request
Apr 29, 2022
…nerator. (apache#9761) * Add ScheduleRule class & PostOrderApply space generator. Co-authored-by: Junru Shao <junrushao1994@gmail.com> Co-authored-by: Bohan Hou <32121147+spectrometerHBH@users.noreply.github.com> Co-authored-by: Ruihang Lai <lairuihangdongdong@qq.com> Co-authored-by: Hongyi Jin <3231950289@qq.com> Co-authored-by: Wuwei Lin <wuwei@apache.org> Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn> * Fix comments & docs. * Fix for mypy. * Retrigger CI. * remove get_hex_address Co-authored-by: Junru Shao <junrushao1994@gmail.com> Co-authored-by: Bohan Hou <32121147+spectrometerHBH@users.noreply.github.com> Co-authored-by: Ruihang Lai <lairuihangdongdong@qq.com> Co-authored-by: Hongyi Jin <3231950289@qq.com> Co-authored-by: Wuwei Lin <wuwei@apache.org> Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>
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 PR is part of the stage M3c of the meta schedule project (#8473).
The architecture is re-designed by Junru and Xiyou. Here we introduce the
ScheduleRule
class to process tir blocks while generating new design spaces viaPostOrderApply
space generator. The post-order-apply space generator collects all the blocks in IRModule and apply the rules in post order. Here we also allow custmization of schedule rules using a python side classPyScheduleRule
. Note that we introduced method definition checkcheck_override
to make sure certain methods are overrided so that an error will be thown upon definition of an incomplete PyClass.Unittests are also introduced in this PR. Thanks to all co-authors for contributing!
Co-authored-by: Junru Shao <junrushao1994@gmail.com>
Co-authored-by: Bohan Hou <32121147+spectrometerHBH@users.noreply.github.com>
Co-authored-by: Ruihang Lai <lairuihangdongdong@qq.com>
Co-authored-by: Hongyi Jin <3231950289@qq.com>
Co-authored-by: Wuwei Lin <wuwei@apache.org>
Co-authored-by: Siyuan Feng <Hzfengsy@sjtu.edu.cn>