This is a small wrapper around common array libraries that is compatible with
the Array API standard. Currently, NumPy, CuPy, and PyTorch are supported.
Note that some of the functionality in this library is backwards incompatible
with the corresponding wrapped libraries. The end-goal is to eventually make
each array library itself fully compatible with the array API, but this requires
making backwards incompatible changes in many cases, so this will take some
time.
Currently all libraries here are implemented against the 2022.12 version of the
standard.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-array-api-compat listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-array-api-compat-1.15.0_1:
DASK=off: Dask array support
NUMPY=off: NumPy mathematical computing support
SPARSE=off: Sparse array support
===> Use 'make config' to modify these settings
devel/py-array-api-compat: Add py-array-api-compat 1.4
This is a small wrapper around common array libraries that is compatible with
the Array API standard. Currently, NumPy, CuPy, and PyTorch are supported.
Note that some of the functionality in this library is backwards incompatible
with the corresponding wrapped libraries. The end-goal is to eventually make
each array library itself fully compatible with the array API, but this requires
making backwards incompatible changes in many cases, so this will take some
time.
Currently all libraries here are implemented against the 2022.12 version of the
standard.