Skip to content

improve handling of padding for conv1d - #3303

Merged
copybara-service[bot] merged 1 commit into
mainfrom
mdgrs/layoutPropConvFixes
Aug 7, 2026
Merged

improve handling of padding for conv1d#3303
copybara-service[bot] merged 1 commit into
mainfrom
mdgrs/layoutPropConvFixes

Conversation

@mdgrs

@mdgrs mdgrs commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Fixes issues with the padding where it was not consistently handled

@mdgrs

mdgrs commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator Author

Once we agree on the basic structure, I can port this to the 2d version

@mdgrs
mdgrs requested review from asraa and j2kun August 5, 2026 12:21

@j2kun j2kun left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I was considering this today, because indeed I found a bug with the hotword compilation in that it was dropping the padding op completely (!!), and then I refreshed an old change that supports padding.

I agree the best thing to do is to combine the conv op with its prior padding and treat is as a joint kernel. I feel a slight preference to do this fusion as a separate op + pass, but the change here is pretty solid and I think we can just go with this for a while.

@j2kun j2kun added the pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing label Aug 6, 2026
@copybara-service
copybara-service Bot merged commit 4aa2e83 into main Aug 7, 2026
23 checks passed
@copybara-service
copybara-service Bot deleted the mdgrs/layoutPropConvFixes branch August 7, 2026 16:28
@mdgrs mdgrs mentioned this pull request Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pull_ready Indicates whether a PR is ready to pull. The copybara worker will import for internal testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants