Skip to content

[Feature] Additional padding modes#2862

Closed
sidtuladhar wants to merge 6 commits into
ml-explore:mainfrom
sidtuladhar:feat/padding
Closed

[Feature] Additional padding modes#2862
sidtuladhar wants to merge 6 commits into
ml-explore:mainfrom
sidtuladhar:feat/padding

Conversation

@sidtuladhar

@sidtuladhar sidtuladhar commented Dec 3, 2025

Copy link
Copy Markdown

Proposed changes

Hi team, this PR adds symmetric and reflect padding modes. It addresses issue #2155

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

@sidtuladhar sidtuladhar changed the title Feat/padding [Feature] Additional padding modes Dec 3, 2025
@sidtuladhar

Copy link
Copy Markdown
Author

Hi, could I get a review on this, thanks! @awni

@sidtuladhar

Copy link
Copy Markdown
Author

Hey there @awni @zcbenz, bumping this, would appreciate if I could get some feedback on this PR, thanks!

@zcbenz zcbenz 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.

Sorry for the late review, do you mind rebasing this on main branch so we can run tests? The code basically looks good to me.

@sidtuladhar

Copy link
Copy Markdown
Author

Done! @zcbenz

@zcbenz

zcbenz commented Mar 26, 2026

Copy link
Copy Markdown
Collaborator

The tests are failing.

@sidtuladhar

Copy link
Copy Markdown
Author

should be fixed now

@zcbenz

zcbenz commented Mar 29, 2026

Copy link
Copy Markdown
Collaborator

The CPP tests are still failing, the python tests are passing so I think there is no problem with the API implementation, we only need to get the test case right.

@sidtuladhar

Copy link
Copy Markdown
Author

Gotcha, cpp tests should pass now

@zcbenz zcbenz 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.

Looks good to me, thanks!

@zcbenz

zcbenz commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Sorry for the long time, the implementation is a bit over complicated and we have been hesitating on merging, and since there is a more concise implementation in #3608 I'm going to close this in favor of it. Please let us know if #3608 is missing anything.

@zcbenz zcbenz closed this Jul 1, 2026
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