-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Remove unnecessary implementations from MockHandler #126511
Conversation
Dead implementations are confusing and can cause bugs when people accidentally hit them. Better for it to be missing. Signed-off-by: Edward Z. Yang <ezyang@meta.com> ghstack-source-id: 257b37bdde1b69cf79313b3afb0192ad15d18f61 Pull Request resolved: #126511
for name, format_string in itertools.chain( | ||
magic_methods.items(), inplace_methods.items() | ||
): | ||
for name, format_string in { |
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.
Why this chain?
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.
err, chain?
@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 |
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.
Yay, div is gone!!
@pytorchbot merge -f "confirmed not my problem" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: #126553 Approved by: https://github.com/lezcano, https://github.com/Skylion007 ghstack dependencies: #126511
Dead implementations are confusing and can cause bugs when people accidentally hit them. Better for it to be missing. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: pytorch#126511 Approved by: https://github.com/peterbell10, https://github.com/lezcano
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: pytorch#126553 Approved by: https://github.com/lezcano, https://github.com/Skylion007 ghstack dependencies: pytorch#126511
Stack from ghstack (oldest at bottom):
Dead implementations are confusing and can cause bugs when people
accidentally hit them. Better for it to be missing.
Signed-off-by: Edward Z. Yang ezyang@meta.com
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang