Skip to content
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

[bugfix] Fix the behavior of TVMScript printer #9974

Merged
merged 2 commits into from
Jan 19, 2022
Merged

Conversation

yzh119
Copy link
Member

@yzh119 yzh119 commented Jan 19, 2022

This PR is a fix to #9953 , it checks whether there are undefined variables in shapes and strides, if so, the buffer parameter is not a simple buffer.

cc @junrushao1994 @vinx13 @shingjan

Copy link
Contributor

@MasterJH5574 MasterJH5574 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the fix 😉

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

@tqchen
Copy link
Member

tqchen commented Jan 19, 2022

Great fix, we have also discussed perhaps allow string "N, M, K" in the parameter side, perhaps we could have followup improvements to this

@vinx13 vinx13 merged commit 6286ac1 into apache:main Jan 19, 2022
@shingjan
Copy link

good catch @yzh119! Thanks for the fix

yuanfz98 pushed a commit to yuanfz98/tvm that referenced this pull request Jan 24, 2022
crazydemo pushed a commit to crazydemo/tvm that referenced this pull request Jan 27, 2022
ylc pushed a commit to ylc/tvm that referenced this pull request Feb 16, 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.

6 participants