Skip to content

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

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