-
Notifications
You must be signed in to change notification settings - Fork 382
Adding support for relational operations #783
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
Adding support for relational operations #783
Conversation
This pull request was exported from Phabricator. Differential Revision: D46770449 |
Summary: Pull Request resolved: facebookincubator#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) Vectorization is not done yet. - this maybe fixed in future iterations (4) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Differential Revision: D46770449 fbshipit-source-id: 32d5e4dc1165791f41a9d55124db488fbb826cdd
58fba27
to
b344066
Compare
This pull request was exported from Phabricator. Differential Revision: D46770449 |
Summary: Pull Request resolved: facebookincubator#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) Vectorization is not done yet. - this maybe fixed in future iterations (4) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Differential Revision: D46770449 fbshipit-source-id: 5f4a727787532708c390a2728aedf1d0dcaf7f37
b344066
to
8640858
Compare
This pull request was exported from Phabricator. Differential Revision: D46770449 |
Summary: Pull Request resolved: facebookincubator#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) Vectorization is not done yet. - this maybe fixed in future iterations (4) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Differential Revision: D46770449 fbshipit-source-id: 90afab845afd5d33fa817a5ef79c0e7baf41b999
8640858
to
b5326b8
Compare
This pull request was exported from Phabricator. Differential Revision: D46770449 |
Summary: Pull Request resolved: facebookincubator#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) Vectorization is not done yet. - this maybe fixed in future iterations (4) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Differential Revision: D46770449 fbshipit-source-id: 26cde876d117f956f5a46401b7a3a17ba50331a7
b5326b8
to
dd65419
Compare
This pull request was exported from Phabricator. Differential Revision: D46770449 |
Summary: Pull Request resolved: facebookincubator#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) Vectorization is not done yet. - this maybe fixed in future iterations (4) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Differential Revision: D46770449 fbshipit-source-id: 6916799ec57356d1f2ca5e886551a79172421a94
dd65419
to
990c60a
Compare
This pull request was exported from Phabricator. Differential Revision: D46770449 |
Summary: Pull Request resolved: facebookincubator#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Reviewed By: aakhundov Differential Revision: D46770449 fbshipit-source-id: 238a304e6bd261363dac92cb31552af9e568d3eb
990c60a
to
6a2ecce
Compare
This pull request was exported from Phabricator. Differential Revision: D46770449 |
Summary: Pull Request resolved: facebookincubator#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Reviewed By: aakhundov Differential Revision: D46770449 fbshipit-source-id: e264ade7f0a39a73311caa29951209ed1b38edff
6a2ecce
to
9d164d0
Compare
This pull request was exported from Phabricator. Differential Revision: D46770449 |
Summary: Pull Request resolved: facebookincubator#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Reviewed By: aakhundov Differential Revision: D46770449 fbshipit-source-id: e8dd9453f4940936b0da7ce7fc383aa0eafc3288
9d164d0
to
dfb19b8
Compare
This pull request was exported from Phabricator. Differential Revision: D46770449 |
Summary: Pull Request resolved: facebookincubator#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Reviewed By: aakhundov Differential Revision: D46770449 fbshipit-source-id: c985355b556af536543fc701053bcc57c71b8084
dfb19b8
to
10b02e2
Compare
This pull request was exported from Phabricator. Differential Revision: D46770449 |
This pull request has been merged in 3c3b256. |
Summary: Pull Request resolved: facebookincubator/AITemplate#783 As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html There are multiple constraints: (1) Type promotions are not supported. (2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations (3) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations Reviewed By: aakhundov Differential Revision: D46770449 fbshipit-source-id: ed58c8ff0148b389dc80f76fe6a4413f21c36a2f
Summary:
As titled, this diffs adds supports for relational operations (e.g. ge, le, gt, lt, eq, ne). The expected behavior is to match equivalent operators in Torch, e.g. https://pytorch.org/docs/stable/generated/torch.ge.html
There are multiple constraints:
(1) Type promotions are not supported.
(2) Broadcast is not supported yet, so it expects tensor of the same shape - this maybe fixed in future iterations
(3) Vectorization is not done yet. - this maybe fixed in future iterations
(4) It uses the relational operators, i.e, >=, <, > rather than comparison function that supports different level of precision, e.g. https://docs.nvidia.com/cuda/cuda-math-api/group__CUDA__MATH____HALF__COMPARISON.html - this maybe fixed in future iterations
Differential Revision: D46770449