Skip to content

Conversation

@yzh119
Copy link
Member

@yzh119 yzh119 commented Mar 29, 2022

This PR fixed the bug introduced in #10638 , where I used const_cast to change the field of a block, which may affect other modules because different modules might share the same block.

I also add a test to check whether the decompose reduction would affect the hash value of other modules.

cc @masahi @Hzfengsy

@github-actions github-actions bot requested review from Hzfengsy and masahi March 29, 2022 04:12
Copy link
Member

@Hzfengsy Hzfengsy 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 fixing

Copy link
Member

@masahi masahi 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 the quick fix, I verified locally that it fixed my issue.

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 fixing it so quickly!

@masahi masahi merged commit 5306ffa into apache:main Mar 29, 2022
junrushao pushed a commit to junrushao/tvm that referenced this pull request Mar 29, 2022
@yzh119 yzh119 deleted the hotfix-decompose-reduction branch March 29, 2022 19:42
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 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