-
Notifications
You must be signed in to change notification settings - Fork 25k
Check for consistent devices in at::where #33432
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
Changelog: - Add a check to ensure that all inputs to `where` lie on the same device Test Plan: - Added test_where_invalid_device
💊 CircleCI build failures summary and remediationsAs of commit 1bc6889: Commit 1bc6889 was recently pushed. Waiting for builds... This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker. This comment has been revised 2 times. |
Please fix lints before merge |
…where-device-mismatch
@VitalyFedyunin I think the lint error is due to some dependency installation issue. |
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.
@VitalyFedyunin has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Right, sorry. |
@pytorchbot merge this please |
@VitalyFedyunin merged this pull request in 1a25747. |
Summary: Changelog: - Add a check to ensure that all inputs to `where` lie on the same device Pull Request resolved: pytorch#33432 Test Plan: - Added test_where_invalid_device Fixes pytorch#33422 Differential Revision: D19981115 Pulled By: VitalyFedyunin fbshipit-source-id: 745896927edb53f61f3dd48ba9e1e6cd10d35434
Changelog:
where
lie on the same deviceTest Plan:
Fixes #33422