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
Add bool tensor support for where #47454
Conversation
[ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 147bed7 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages: pytorch_windows_vs2019_py36_cuda10.1_test2 (1/1)Step: "Test" (full log | diagnosis details | 🔁 rerun)
|
Codecov Report
@@ Coverage Diff @@
## gh/H-Huang/1/base #47454 +/- ##
==================================================
Coverage 81.44% 81.44%
==================================================
Files 1798 1798
Lines 188223 188223
==================================================
+ Hits 153293 153303 +10
+ Misses 34930 34920 -10 |
[ghstack-poisoned]
Stack from ghstack:
Differential Revision: D24772482
Description
Fixes #26247
This now works:
Also updated where_tensor test to include bools
Test:
pytest test/test_torch.py -k test_where_tensor -vs