Skip to content

Conversation

Ax9D
Copy link

@Ax9D Ax9D commented May 18, 2025

Duplicate of #3819, rebasing on latest changes

Adds support for padding_mode="border"

Clamps the grid coordinates between 0 and size - 1 like this when using this padding mode:

x_result = min(max(0, x), W - 1)
y_result = min(max(0, y), H - 1)
Added Lit tests for both TorchToLinalg and OnnxToTorch lowerings

@Ax9D Ax9D reopened this Jun 13, 2025
@vivekkhandelwal1 vivekkhandelwal1 self-requested a review June 30, 2025 05:15
@vivekkhandelwal1
Copy link
Collaborator

@Ax9D Please fix the CI failures.

@Ax9D
Copy link
Author

Ax9D commented Jul 2, 2025

The new failures on nightly seems unrelated

@vivekkhandelwal1
Copy link
Collaborator

The new failures on nightly seems unrelated

Yeah, they were because of a PyTorch version upgrade. Should be fixed now.

@Ax9D
Copy link
Author

Ax9D commented Aug 25, 2025

Is there anything else pending for this?

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