-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[Meta] Register aten.pixel_shuffle.default for meta #91605
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/91605
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 8ceb796: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
6685270 to
2e0adca
Compare
jgong5
left a comment
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.
LGTM. Add a UT to cover the fixed issue?
2e0adca to
ac2dedf
Compare
ac2dedf to
8ceb796
Compare
Hi @jgong5 I have added a UT. Please review again. Thanks! |
|
Hi @mingfeima Thanks for your approval. Does that mean this PR can be merged or can be set to ready for review from the Meta side? |
|
Hi @jgong5 @mingfeima Thanks for your approval. Do we need approval from Meta side to land this PR? If so, from whom? |
|
@pytorchbot merge |
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 |
|
The merge job was canceled. If you believe this is a mistake,then you can re trigger it through pytorch-bot. |
|
@pytorchbot merge |
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 |
Summary
Fixes #91551
aten.pixel_shuffle.defaultis not registered for meta and it always generates contiguous (channels-first) layout of outputs. It can be reproduced bytorch.compile(as described in the issue #91551) and running in FakeTensorMode.Test plan
python test/inductor/test_torchinductor.py -k test_pixel_shuffle_channels_last
python test/test_proxy_tensor.py
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @mlazos @soumith @voznesenskym @yanboliang @penguinwu @anijain2305 @EikanWang @Guobing-Chen @chunyuan-w @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @desertfire