Skip to content

Conversation

@masahi
Copy link
Member

@masahi masahi commented Nov 10, 2022

Currently, if there is a block annotated with schedule_rule, only the corresponding custom rule is allowed to be applied to the block. This led to the breakage of auto tensorization as discussed in #13195 (comment).

The fix is to unannotate schedule_rule if the corresponding schedule func is not found, to let other schedule rules process this block.

cc @junrushao @zxybazh

@tvm-bot
Copy link
Collaborator

tvm-bot commented Nov 10, 2022

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@junrushao
Copy link
Member

#13195 (comment)

@masahi masahi changed the title [MetaSchedule] Allow ignoring schedule_rule annotation [MetaSchedule] Unannotate schedule_rule if corresponding schedule func is not found Nov 10, 2022
@masahi masahi force-pushed the ms-schdule-rule-ignore branch from e158f9f to f065644 Compare November 10, 2022 21:26
@masahi masahi force-pushed the ms-schdule-rule-ignore branch from f065644 to 7cd67aa Compare November 10, 2022 21:26
@zxybazh zxybazh merged commit a156636 into apache:main Nov 11, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants