-
Notifications
You must be signed in to change notification settings - Fork 537
Support Half/BFloat16 in prod operator #7857
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
Stack from ghstack (oldest at bottom): |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7857
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 5 PendingAs of commit 2737333 with merge base 2411c99 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
} | ||
Tensor self = tf.make({2, 3}, {1, 2, 3, 4, 5, 6}); | ||
int64_t dim = 0; | ||
bool keepdim = false; |
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.
has there been a test with keepdim=True?
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.
I don't know, but adding such a test would be out of scope for this change.
* Coerce to true_ctype in tensor_factory (#7856) This should fix the problem where attempts to test bool are often wonky in OSS and fail UBSAN internally; it is undefined behavior to store a value other than 0 or 1 for type bool. * Support Half/BFloat16 in prod operator (#7857) Partial fix for #7748.
* Coerce to true_ctype in tensor_factory (#7856) This should fix the problem where attempts to test bool are often wonky in OSS and fail UBSAN internally; it is undefined behavior to store a value other than 0 or 1 for type bool. * Support Half/BFloat16 in prod operator (#7857) Partial fix for #7748.
* Coerce to true_ctype in tensor_factory (pytorch#7856) This should fix the problem where attempts to test bool are often wonky in OSS and fail UBSAN internally; it is undefined behavior to store a value other than 0 or 1 for type bool. * Support Half/BFloat16 in prod operator (pytorch#7857) Partial fix for pytorch#7748.
Partial fix for #7748.