-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Python Array API New Operators Tracker #58742
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
Comments
cc/ @asi1024 @emcastillo |
Hi, I see that the |
Adding the alias would be great! |
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
Summary: Part of pytorch/pytorch#58742 Pull Request resolved: pytorch/pytorch#70543 Reviewed By: soulitzer Differential Revision: D34172475 Pulled By: mruberry fbshipit-source-id: d498764b8651a8b7a19181b3421aeebf28a5db2b (cherry picked from commit 05332f164c4317e46e1242fdae483204e0412ef3)
The `pow_` method should be connected to `Tensor.__ipow__` so that the operator `**=` works correctly. Part of #58742 [ghstack-poisoned]
The `pow_` method should be connected to `Tensor.__ipow__` so that the operator `**=` works correctly. Part of #58742 [ghstack-poisoned]
The `pow_` method should be connected to `Tensor.__ipow__` so that the operator `**=` works correctly. Part of #58742 [ghstack-poisoned]
The `pow_` method should be connected to `Tensor.__ipow__` so that the operator `**=` works correctly. Part of #58742 [ghstack-poisoned]
Uh oh!
There was an error while loading. Please reload this page.
The array API specification stipulates the following operators that are currently not supported by PyTorch:
__dlpack__
__dlpack_device__
__rand__
(Support__rand__
,__ror__
and__rxor__
#58120)__rlshift__
(Support__rlshift__
and__rrshift__
#58121, Supporttorch.bitwise_{left/right}_shift
and__rlshift__
,__rrshift__
#59544)- not doing__imatmul__
__imatmul__
becausematmul
doesn't always preserve shape, and still has a resize bug (see Micro-optimisations for matmul #64387)__rmatmul__
(Sometorch.Tensor
operators don’t returnNotImplemented
for invalid inputs #57719, Fix some tensor operators to returnNotImplemented
for invalid inputs #58216)__rmod__
(Support__rmod__
#58035, Support__rmod__
#58476)__ror__
(Support__rand__
,__ror__
and__rxor__
#58120)__rrshift__
(Support__rlshift__
and__rrshift__
#58121, Supporttorch.bitwise_{left/right}_shift
and__rlshift__
,__rrshift__
#59544)__rxor__
(Support__rand__
,__ror__
and__rxor__
#58120)from_dlpack
(implemented, but not exposed yet in thein main namespace intorch
namespace1.10.0
)broadcast_arrays
bitwise_left_shift
(Supporttorch.bitwise_{left/right}_shift
and__rlshift__
,__rrshift__
#59544)bitwise_invert
bitwise_right_shift
(Supporttorch.bitwise_{left/right}_shift
and__rlshift__
,__rrshift__
#59544)vecdot
([Array API] Add linalg.vecdot #70542)concat
(we should be sure torch.cat is compliant and alias concat to it) (Supportconcat
alias tocat
#61767)expand_dims
(Supportexpand_dims
#57116)__ipow__
(Connect Tensor.__ipow__ to pow_ method #76900)to_device
astype
unique_(all|counts|inverse|values)
unique
should be split into four partial functions #70920linalg.diagonal
[Array API] Add linalg.diagonal #70599linalg.matrix_transpose
,matrix_transpose
linalg.outer
Supporttorch.linalg.outer
#63293linalg.tensordot
Create linalg.tensordot #63478linalg.trace
Supporttorch.linalg.trace
#62714linalg.vecdot
[Array API] Add linalg.vecdot #70542cc @mruberry @rgommers @pmeier
The text was updated successfully, but these errors were encountered: