-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Python Array API Compatibility Tracker #58743
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
Originally posted by @asi1024 in #54581 (comment) |
@pmeier Sounds good to me! Thank you! |
I have added a |
@rgommers can you add me? |
+1 |
@rgommers Could you add @asi1024 @emcastillo and me (@kmaehashi) to the list as well? |
Updated the comparison table to follow the current array API specification. Most of the interface details of linalg operations have been completed. Other major changes are as follows:
|
Thank you to everyone who has put so much work towards this common Array API implementation in PyTorch! I have been trying to catch up with the discussion, and as best I can tell nobody has brought up the implementation of the |
Uh oh!
There was an error while loading. Please reload this page.
Progress tracker for all compatibility issues with Python Array API specification:
__array_namespace__
(add at/towards the end, it's the attribute that declares compliance)uint16
,uint32
, anduint64
#58734logical_(and|not|or|xor)
#58740torch.size()
diverges from array API specification #58741torch.(min|max)(..., dim=...)
diverges from array API specification #58745torch.nonzero
diverges from the specification (it returns a tensor, not a tuple, by default) - see [numpy] torch.nonzero is similar to np.argwhere not np.nonzero #64502Bitwise shifts should retain the same dtype as the first input #59867dtype
as the respective tensor #59868torch.asarray
does not detect dtype of Python scalars #70591full
should take an integer size #70906finfo(...).tiny
should be aliased tofinfo(...).smallest_normal
#70909eye
should support other diagonals than the main one #70910step
inarange
without settingend
#70914arange
should return empty array if bounds are inconsistent with step sign #70915torch.(ceil|floor|round|trunc)
no-ops for integer inputs #70918linspace
should support anendpoint
parameter #70919unique
should be split into four partial functions #70920sort
should only return the sorted input #70921argsort
is missing thestable
parameter #70922torch.where
to support Python scalars and type promotion #9190dim
insqueeze
#70924dim=None
inconcat
#70925cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @anjali411
The text was updated successfully, but these errors were encountered: