Skip to content

Conversation

@williamwen42
Copy link
Member

@williamwen42 williamwen42 commented Oct 24, 2024

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 24, 2024

🔗 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 (image):

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.

@pytorch-bot pytorch-bot bot added ciflow/inductor module: cpu CPU specific problem (e.g., perf, algorithm) module: dynamo release notes: fx release notes category labels Oct 24, 2024
williamwen42 added a commit that referenced this pull request Oct 24, 2024
ghstack-source-id: a013a80
Pull Request resolved: #138777
@williamwen42 williamwen42 requested a review from ezyang October 24, 2024 00:54
@williamwen42 williamwen42 added module: dynamic shapes and removed module: cpu CPU specific problem (e.g., perf, algorithm) labels Oct 24, 2024
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]
@pytorch-bot pytorch-bot bot added the module: cpu CPU specific problem (e.g., perf, algorithm) label Oct 24, 2024
williamwen42 added a commit that referenced this pull request Oct 24, 2024
ghstack-source-id: 509e302
Pull Request resolved: #138777
@ezyang
Copy link
Contributor

ezyang commented Oct 27, 2024

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]
@williamwen42
Copy link
Member Author

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_,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

endorsed

@williamwen42
Copy link
Member Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: Command git -C /home/runner/work/pytorch/pytorch cherry-pick -x 95753f7ccc2d29d50dd4ea0e58c6686fa49c627e returned non-zero exit code 1

Auto-merging test/test_dynamic_shapes.py
Auto-merging torch/fx/experimental/symbolic_shapes.py
CONFLICT (content): Merge conflict in torch/fx/experimental/symbolic_shapes.py
Auto-merging torch/utils/_sympy/functions.py
error: could not apply 95753f7ccc2... [dynamo] add SymNode bitwise and/or
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Details for Dev Infra team Raised 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]
williamwen42 added a commit that referenced this pull request Nov 22, 2024
ghstack-source-id: c56213b
Pull Request resolved: #138777
@williamwen42
Copy link
Member Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Nov 26, 2024
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
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
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)))
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
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
ezyang added a commit that referenced this pull request Dec 11, 2024
… "[dynamo] add SymNode bitwise and/or (#138777)"

This reverts commit 6fa4356.

This reverts commit ee7eaad.

ghstack-source-id: 7713b8f
Pull Request resolved: #142842
@github-actions github-actions bot deleted the gh/williamwen42/152/head branch December 23, 2024 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request fx Merged module: cpu CPU specific problem (e.g., perf, algorithm) module: dynamic shapes module: dynamo release notes: fx release notes category Reverted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants