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

Add support for the padding variations of conv op #3883

Merged
merged 4 commits into from
Dec 5, 2024
Merged

Conversation

sahas3
Copy link
Contributor

@sahas3 sahas3 commented Nov 19, 2024

ConvOp defined with padding = "same"/"valid" produces the padding variant of the op, such as conv2d.padding for 2d convolution. This PR adds these conv variations to torch-mlir registry and a decomposition of these ops to aten.convolution to be able to go through the different pass pipelines.

@sjarus
Copy link
Collaborator

sjarus commented Nov 21, 2024

Looks ok to me, will let @vivekkhandelwal1 do a final review and merge.

@sahas3
Copy link
Contributor Author

sahas3 commented Dec 3, 2024

Hello @vivekkhandelwal1, any thoughts on this PR? Thanks!

Copy link
Collaborator

@vivekkhandelwal1 vivekkhandelwal1 left a comment

Choose a reason for hiding this comment

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

LGTM

@sahas3 sahas3 merged commit c1892de into llvm:main Dec 5, 2024
3 checks passed
rahuls-cerebras added a commit that referenced this pull request Jan 3, 2025
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