-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[MetaSchedule] Fix Dynamic Loop from AutoBinding #13421
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] Fix Dynamic Loop from AutoBinding #13421
Conversation
|
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 |
|
Test integrated into the cuda winograd search space. Please take a 2nd look, thanks! |
junrushao
left a comment
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!
This PR fixes an issue that would cause dynamic loop when reorder is applied during auto binding incorrectly. This would cause failed cuda kernel generation. This PR provided a fix by changing the loop to fuse blocks. Test is also added and locally tested on `nvidia/geforce-rtx-3070` target. Thanks for Junru Shao for the guidance and Lite Ye for reporting this issue.
This PR fixes an issue that would cause dynamic loop when reorder is applied during auto binding incorrectly. This would cause failed cuda kernel generation. This PR provided a fix by changing the loop to fuse blocks.
Test is also added and locally tested on
nvidia/geforce-rtx-3070target.Thanks for @junrushao for the guidance and @yelite for reporting this issue.