-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[MPS] Add repeat_interleave to MPS #88649
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/88649
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 9229982: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
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.
Looks good. @jazzysoggy please fix the lint issue.
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.
@jazzysoggy please fix the lint issue.
Also what you have is just a copy of Repeat.cpp core file. The backend need to implement the aforementioned interface.
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.
Please fix the Lint error, otherwise it looks good.
Also there is Build failure:
|
@kulinseth I think I need a little help. Not quite sure how to properly write a native metal kernel. I think I've got the framework correct, but just not accessing the correct namespaces for certain objects or defining functions in the right places. |
@jazzysoggy , is this still an issue. Can you please paste the error message you are running into? |
No, no longer facing this issue anymore. The entire thing compile, just with testing errors now. ‘’FAIL [13.217s]: test_no_warning_on_import (main.TestFallbackWarning)
|
@kulinseth I’m able to compile, but I currently have issues with passing the test. Here’s the error log for the failed test FAIL [13.217s]: test_no_warning_on_import (main.TestFallbackWarning)
|
@jazzysoggy Just checking on the status of this. @kulinseth? |
Any word? |
64f0d14
to
fd4155d
Compare
@jazzysoggy I've rebased your current branch against latest PyTorch master. Please check the results once the build is finished |
fd4155d
to
99bb012
Compare
@jazzysoggy I've fixed the remaining failures and the kernel. Please take a look and merge it when everything is green |
@pytorchbot merge -g |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Can't merge closed PR #88649 |
Thank y'all for all your work on this one, @jazzysoggy, @DenisVieriu97, @kulinseth! This one is much appreciated. Cheers. |
@kulinseth Might be a good idea to update #77764 now that this has been implemented. It appears under both Good First Issue and Not categorized. :) |
Fixes #87219
Implements new
repeat_interleave
function intoaten/src/ATen/native/mps/operations/Repeat.mm
Adds it to
aten/src/ATen/native/native_functions.yaml
Adds new test
test_repeat_interleave
totest/test_mps/py