-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[dynamo] add SymNode bitwise and/or #138777
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🧪 See artifacts and rendered test results at hud.pytorch.org/pr/138777
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (5 Unrelated Failures)As of commit 4269517 with merge base e54538a ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Fixes [T203472723](https://www.internalfb.com/intern/tasks/?t=203472723) cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 ezyang SherlockNoMad EikanWang wenzhe-nrv penguinwu bobrenjc93 voznesenskym Guobing-Chen zhuhaozhe blzheng jiayisunx chenyang78 kadeng chauhang amjames rec [ghstack-poisoned]
|
This seems fine but it looks like you have to fix some tests, and I would appreciate more thorough testing on the value ranges logic |
Fixes [T203472723](https://www.internalfb.com/intern/tasks/?t=203472723) cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 ezyang SherlockNoMad EikanWang wenzhe-nrv penguinwu bobrenjc93 voznesenskym Guobing-Chen zhuhaozhe blzheng jiayisunx chenyang78 kadeng chauhang amjames rec [ghstack-poisoned]
Fixes [T203472723](https://www.internalfb.com/intern/tasks/?t=203472723) cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 ezyang SherlockNoMad EikanWang wenzhe-nrv penguinwu bobrenjc93 voznesenskym Guobing-Chen zhuhaozhe blzheng jiayisunx chenyang78 kadeng chauhang amjames rec [ghstack-poisoned]
Fixes [T203472723](https://www.internalfb.com/intern/tasks/?t=203472723) cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 ezyang SherlockNoMad EikanWang wenzhe-nrv penguinwu bobrenjc93 voznesenskym Guobing-Chen zhuhaozhe blzheng jiayisunx chenyang78 kadeng chauhang amjames rec [ghstack-poisoned]
Fixes [T203472723](https://www.internalfb.com/intern/tasks/?t=203472723) cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 ezyang SherlockNoMad EikanWang wenzhe-nrv penguinwu bobrenjc93 voznesenskym Guobing-Chen zhuhaozhe blzheng jiayisunx chenyang78 kadeng chauhang amjames rec [ghstack-poisoned]
Fixes [T203472723](https://www.internalfb.com/intern/tasks/?t=203472723) cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 ezyang SherlockNoMad EikanWang wenzhe-nrv penguinwu bobrenjc93 voznesenskym Guobing-Chen zhuhaozhe blzheng jiayisunx chenyang78 kadeng chauhang amjames rec [ghstack-poisoned]
|
Added a test that evaluates bitwise and/or in a guard - will followup with "it would also be nice to have a test that this dict has enough entries so when new ops are added we don't forget too" and fixing log2 in a separate PR. |
| "OpaqueUnaryFn_atan": math.atan, | ||
| "OpaqueUnaryFn_sqrt": math.sqrt, | ||
| "BitwiseFn_bitwise_and": operator.and_, | ||
| "BitwiseFn_bitwise_or": operator.or_, |
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.
endorsed
|
@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 |
Merge failedReason: Command Details for Dev Infra teamRaised by workflow job |
Fixes [T203472723](https://www.internalfb.com/intern/tasks/?t=203472723) cc jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10 ezyang SherlockNoMad EikanWang wenzhe-nrv penguinwu bobrenjc93 voznesenskym Guobing-Chen zhuhaozhe blzheng jiayisunx chenyang78 kadeng chauhang amjames rec [ghstack-poisoned]
|
@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 |
An internal test is failing due to not handling `sympy.oo` properly in bitwise_and/or value_ranges: [T208684142](https://www.internalfb.com/intern/tasks/?t=208684142). I don't know how to repro this - seems like this requires inductor to trigger as well. Pull Request resolved: #141522 Approved by: https://github.com/ezyang ghstack dependencies: #138777
Fixes [T203472723](https://www.internalfb.com/intern/tasks/?t=203472723) Pull Request resolved: pytorch#138777 Approved by: https://github.com/ezyang
This reverts commit c98ef02. Reverted pytorch#138777 on behalf of https://github.com/ezyang due to triggering AssertionError: Guard check failed: 14/2: name 'BitwiseFn_bitwise_or' is not defined ([comment](pytorch#138777 (comment)))
Fixes [T203472723](https://www.internalfb.com/intern/tasks/?t=203472723) Pull Request resolved: pytorch#138777 Approved by: https://github.com/ezyang
An internal test is failing due to not handling `sympy.oo` properly in bitwise_and/or value_ranges: [T208684142](https://www.internalfb.com/intern/tasks/?t=208684142). I don't know how to repro this - seems like this requires inductor to trigger as well. Pull Request resolved: pytorch#141522 Approved by: https://github.com/ezyang ghstack dependencies: pytorch#138777
Stack from ghstack (oldest at bottom):
Fixes T203472723
cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @ezyang @SherlockNoMad @EikanWang @wenzhe-nrv @penguinwu @bobrenjc93 @voznesenskym @Guobing-Chen @zhuhaozhe @blzheng @jiayisunx @chenyang78 @kadeng @chauhang @amjames @rec