-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Add pattern to detect for loop indexing into tensor #81056
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
[ghstack-poisoned]
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 7294b01 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
[ghstack-poisoned]
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Differential Revision: [D37725266](https://our.internmc.facebook.com/intern/diff/D37725266) Summary: This commit added a pattern in the pattern matcher to detect if for loop & indexing is used that can be vectorized. Test Plan: Added a test in test_profiler.py that creates a bootstrap example. [ghstack-poisoned]
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
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.
A couple minor nits, but otherwise looks good.
Differential Revision: [D37725266](https://our.internmc.facebook.com/intern/diff/D37725266) Summary: This commit added a pattern in the pattern matcher to detect if for loop & indexing is used that can be vectorized. Test Plan: Added a test in test_profiler.py that creates a bootstrap example. [ghstack-poisoned]
Differential Revision: [D37725266](https://our.internmc.facebook.com/intern/diff/D37725266) Summary: This commit added a pattern in the pattern matcher to detect if for loop & indexing is used that can be vectorized. Test Plan: Added a test in test_profiler.py that creates a bootstrap example. [ghstack-poisoned]
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Differential Revision: [D37725266](https://our.internmc.facebook.com/intern/diff/D37725266) Summary: This commit added a pattern in the pattern matcher to detect if for loop & indexing is used that can be vectorized. Test Plan: Added a test in test_profiler.py that creates a bootstrap example. [ghstack-poisoned]
@davidchencsl has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@pytorchbot merge |
@pytorchbot successfully started a merge job. Check the current status here |
Hey @davidchencsl. |
@pytorchbot revert -m "broke 10.2 test_forward_ad_nn_functional_conv_transpose3d_cuda_float32 test on trunk https://hud.pytorch.org/pytorch/pytorch/commit/6e621d028766808f3c0bc8c45f776af3bf9cf22f" -c nosignal
|
@pytorchbot successfully started a revert job. Check the current status here |
Reverting PR 81056 failed due to Command
Raised by https://github.com/pytorch/pytorch/actions/runs/2707645595 |
LOL nice the revert didn't go through because it was going to be a false revert--the job was green again after, so I suppose it was a flaky error of some sort. Sorry about the extra noise! |
Oh my, looks like it does broke a test outside of CI: #81812 |
Summary: This commit added a pattern in the pattern matcher to detect if for loop & indexing is used that can be vectorized. Pull Request resolved: #81056 Approved by: https://github.com/robieta Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/6e621d028766808f3c0bc8c45f776af3bf9cf22f Test plan from GitHub: Added a test in test_profiler.py that creates a bootstrap example. Original Phabricator Test Plan: Imported from OSS Reviewed By: jeanschmidt Differential Revision: D37725266 Pulled By: davidchencsl fbshipit-source-id: 896b31d06bee7fa1daf3b32ee6b8340e921086bd
Stack from ghstack (oldest at bottom):
Differential Revision: D37725266
Summary: This commit added a pattern in the pattern matcher to detect if for loop & indexing is used that can be vectorized.
Test Plan: Added a test in test_profiler.py that creates a bootstrap example.