Skip to content

[bugfix] Fix the behavior of TVMScript printer#9974

Merged
vinx13 merged 2 commits into
apache:mainfrom
yzh119:fix-9680
Jan 19, 2022
Merged

[bugfix] Fix the behavior of TVMScript printer#9974
vinx13 merged 2 commits into
apache:mainfrom
yzh119:fix-9680

Conversation

@yzh119

@yzh119 yzh119 commented Jan 19, 2022

Copy link
Copy Markdown
Member

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

@MasterJH5574 MasterJH5574 left a comment

Copy link
Copy Markdown
Contributor

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 😉

@junrushao junrushao left a comment

Copy link
Copy Markdown
Member

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

tqchen commented Jan 19, 2022

Copy link
Copy Markdown
Member

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
Copy Markdown

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