data-apis / array-api-strict

Strict implementation of the Python array API (previously numpy.array_api)
http://data-apis.org/array-api-strict/
Other
11 stars 5 forks source link

Improvements to device support #70

Open asmeurer opened 1 month ago

asmeurer commented 1 month ago

https://github.com/data-apis/array-api-strict/pull/59 added support for basic devices. Some improvements that could be made:

ogrisel commented 1 month ago

I tried to run the scikit-learn tests with array-api-strict on the non-default device and I got some failures that do not happen with PyTorch and non-default device. So I suspect there is something fishy happening with the new devices in array-api-strict but I have not investigated the root cause yet.

https://github.com/scikit-learn/scikit-learn/pull/30090

betatim commented 1 month ago

I'll take a look/investigate that failure further.