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

Blacklist _convolution op #1048

Merged
merged 3 commits into from
Jul 13, 2022

Conversation

henrytwo
Copy link
Member

@henrytwo henrytwo commented Jul 13, 2022

We need to blacklist _convolution since it conflicts with convolution during LTC codegen. Underscores are dropped when generating the C++ class name, which results in a compiler error.

_convolution should be decomposed to convolution, so blacklisting this op will not affect functionality.

This PR also fixes a rebase conflict, which resulted in a duplicated instance of AtenSelectScatterOp, AtenSliceScatterOp.

cc: @antoniojkim @ke1337

@henrytwo henrytwo self-assigned this Jul 13, 2022
Copy link
Collaborator

@ramiro050 ramiro050 left a comment

Choose a reason for hiding this comment

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

LGTM!

@henrytwo henrytwo merged commit 1bbe9ad into torch_mlir_ltc_backend Jul 13, 2022
@henrytwo henrytwo deleted the henrytu/blacklist_convolution branch July 13, 2022 17:28
antoniojkim pushed a commit that referenced this pull request Jul 15, 2022
* Blacklist _convolution op in LTC

* Removed duplicate Torch_AtenSelectScatterOp instance from autogen .td

* Removed duplicate Torch_AtenSliceScatterOp instance from autogen .td
antoniojkim pushed a commit that referenced this pull request Jul 19, 2022
* Blacklist _convolution op in LTC

* Removed duplicate Torch_AtenSelectScatterOp instance from autogen .td

* Removed duplicate Torch_AtenSliceScatterOp instance from autogen .td
antoniojkim pushed a commit that referenced this pull request Jul 22, 2022
* Blacklist _convolution op in LTC

* Removed duplicate Torch_AtenSelectScatterOp instance from autogen .td

* Removed duplicate Torch_AtenSliceScatterOp instance from autogen .td
henrytwo added a commit that referenced this pull request Jul 29, 2022
* Blacklist _convolution op in LTC

* Removed duplicate Torch_AtenSelectScatterOp instance from autogen .td

* Removed duplicate Torch_AtenSliceScatterOp instance from autogen .td
henrytwo added a commit that referenced this pull request Jul 29, 2022
* Blacklist _convolution op in LTC

* Removed duplicate Torch_AtenSelectScatterOp instance from autogen .td

* Removed duplicate Torch_AtenSliceScatterOp instance from autogen .td
henrytwo added a commit that referenced this pull request Jul 30, 2022
* Blacklist _convolution op in LTC

* Removed duplicate Torch_AtenSelectScatterOp instance from autogen .td

* Removed duplicate Torch_AtenSliceScatterOp instance from autogen .td
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
Signed-off-by: Ettore Tiotto <etiotto@ca.ibm.com>
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.

2 participants