-
Notifications
You must be signed in to change notification settings - Fork 486
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
[Core Aten Op] bring aten_replication_pad3d test back #6537
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM pending CI.
@ManfeiBai, looking back at this I actually didn't see a lowering for |
thanks for confirming, @wonjoolee95, let me confirm it locally too |
What you can do is just have a simple python to run that op in torch_xla. And you can print the metric check to see if the aten:: or xla:: version got called. Let me know if you need more help. |
one simple test locally:
it looks like the second generated result is a tensor on XLA device too, does that means the op not fell back to CPU? |
You can import |
thanks, pasted the output in https://gist.github.com/ManfeiBai/36799aa983d518a2233337dc701d294b |
thanks, dumped the similar example code of 2d and HLO of 2d has dumped logic, this 3d example need to have same logic of op lowering like 2d too |
Yep, so it needs an actual lowering. We already lower the reflection pad 2d op so I think the logic may be somewhat similar. Let me know if you have any questions. Meanwhile, I'll revert this PR. |
This reverts commit b7c760d.
Fixes #5892
Testing
two tests pass directly: