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

Move SimplifyConvPad to a new pass and don't enable it by default #7603

Merged
merged 5 commits into from
Mar 6, 2021

Conversation

mbrookhart
Copy link
Contributor

#7515 Caused a regression on the vulkan backend. This PR separates that optimization into a separate pass an disables it by default while we hunt for the issue in spirv.

cc @tmoreau89

Copy link
Contributor

@csullivan csullivan 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 breaking this one out @mbrookhart

@@ -1099,6 +1099,19 @@ def SimplifyExpr():
return _ffi_api.SimplifyExpr()


def ImplicitPadding():
Copy link
Contributor

Choose a reason for hiding this comment

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

If we build up multiple patterns that can fuse implicit padding it may be useful to key on/off certain patterns based on operator type via a white or blacklist.

@masahi masahi self-assigned this Mar 5, 2021
@masahi masahi merged commit 69c1c6d into apache:main Mar 6, 2021
@masahi
Copy link
Member

masahi commented Mar 6, 2021

Thanks @mbrookhart @csullivan

@mbrookhart mbrookhart deleted the separate_implicit_padding_pass branch March 8, 2021 21:06
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
…ache#7603)

* Move SimplifyConvPad to a new pass and don't enable it by default

* rename pass

* move files

* fix lint

* adjust test tolerance
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
…ache#7603)

* Move SimplifyConvPad to a new pass and don't enable it by default

* rename pass

* move files

* fix lint

* adjust test tolerance
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.

3 participants