-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Tracking issue: support Array API #18353
Labels
enhancement
New feature or request
Comments
This was referenced Nov 16, 2023
This was referenced Nov 27, 2023
copybara-service bot
pushed a commit
that referenced
this issue
Dec 1, 2023
The numpy-dispatch approach has been superseded by the Python Array API (Tracked for JAX in #18353). While we're here, we'll reduce the github CI to only two jobs: the oldest and newest supported Python versions. Other versions can be covered by Kokoro. PiperOrigin-RevId: 587035534
copybara-service bot
pushed a commit
that referenced
this issue
Dec 1, 2023
The numpy-dispatch approach has been superseded by the Python Array API (Tracked for JAX in #18353). While we're here, we'll reduce the github CI to only two jobs: the oldest and newest supported Python versions. Other versions can be covered by Kokoro. PiperOrigin-RevId: 587035534
copybara-service bot
pushed a commit
that referenced
this issue
Dec 1, 2023
The numpy-dispatch approach has been superseded by the Python Array API (Tracked for JAX in #18353). While we're here, we'll reduce the github CI to only two jobs: the oldest and newest supported Python versions. Other versions can be covered by Kokoro. PiperOrigin-RevId: 587035534
copybara-service bot
pushed a commit
that referenced
this issue
Dec 1, 2023
The numpy-dispatch approach has been superseded by the Python Array API (Tracked for JAX in #18353). While we're here, we'll reduce the github CI to only two jobs: the oldest and newest supported Python versions. Other versions can be covered by Kokoro. PiperOrigin-RevId: 587041291
This was referenced Dec 5, 2023
This was referenced Dec 15, 2023
This was referenced Jan 3, 2024
This was referenced Jan 31, 2024
This was referenced Mar 11, 2024
9 tasks
This was referenced Jul 23, 2024
This was referenced Jul 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Goal: make JAX support https://data-apis.org/array-api/latest/
Related to #19246
TODO
Initial Implementation
jax.experimental.array_api
Initial implementation of the Python Array API standard #16099fft_tests
(requires waiting on upstream test fixes)JAX API fixes
unique
jnp.unique: add support for the equal_nan keyword #19090descending
argument tosort
andargsort
[array api] add stable & descending params to jnp.sort & jnp.argsort #19201Make
jax.Array
conform to the API specdevice()
method Deprecate the device() method of JAX arrays #18730device
property (afterdevice()
method is removed; ~March 2024) [array API] add device property & to_device method #22597to_device()
method [array API] add device property & to_device method #22597device
keyword tozeros
,ones
,arange
, etc. (lax.full: add sharding argument #19445, lax.full_like: add sharding argument #19466, jax.numpy: support device argument for full, empty, zeros, ones #19470, jnp.full_like & co: support device parameter #19504)__array_namespace__
property [array API] move api metadata into jax.numpy namespace #22734Add Array API functions to the standard
jax.numpy
namespacejnp.bool
[array API] add jnp.bool #19403jnp.isdtype
Add jnp.isdtype function, following np.isdtype in NumPy 2.0 #19400jnp.astype
Add jax.numpy.astype function #18757unique_all
,unique_counts
,unique_inverse
,unique_values
array api: add unique_* interfaces #19088concat
[array api] add jax.numpy.concat #19323permute_dims
[array api] add jax.numpy.permute_dims function #19244acos
,acosh
,asin
,asinh
,atan
,atanh
,atan2
jax.numpy: add trig aliases acos(h), asin(h), atan(h), atan2 #19054bitwise_left_shift
,bitwise_right_shift
,bitwise_invert
array api: add jnp.bitwise_* aliases #19278copy
keyword argument forjnp.asarray
[array API] support copy argument to jnp.asarray #19186jnp.linalg
:diagonal
[array API] add jnp.linalg.diagonal #19321cross
array api: add jnp.linalg.cross & jnp.linalg.outer #18928matmul
jnp.linalg: add matmul, tensordot, & svdvals #19042matrix_norm
jnp.linalg: add matrix_norm, matrix_transpose, vector_norm, vector_transpose #19005matrix_transpose
jnp.linalg: add matrix_norm, matrix_transpose, vector_norm, vector_transpose #19005outer
array api: add jnp.linalg.cross & jnp.linalg.outer #18928svdvals
jnp.linalg: add matmul, tensordot, & svdvals #19042tensordot
jnp.linalg: add matmul, tensordot, & svdvals #19042vecdot
jnp.linalg: add matrix_norm, matrix_transpose, vector_norm, vector_transpose #19005vector_norm
jnp.linalg: add matrix_norm, matrix_transpose, vector_norm, vector_transpose #19005eigh
returnsNamedTuple
[array api] return NamedTuple from np.linalg APIs #19347qr
returnsNamedTuple
[array api] return NamedTuple from np.linalg APIs #19347slogdet
returnsNamedTuple
[array api] return NamedTuple from np.linalg APIs #19347svd
returnsNamedTuple
[array api] return NamedTuple from np.linalg APIs #19347cholesky
upper
argument jnp.linalg.cholesky: add upper argument #19606solve
vectorization update jnp.linalg.solve: deprecate batched 1D solves when b.ndim > 1 #19674Update to v2023.12 APIs and behavior (see changelog)
Consider removing
jax.experimental.array_api
and makejax.numpy
itself fully-compliant with the array API.The text was updated successfully, but these errors were encountered: