-
Notifications
You must be signed in to change notification settings - Fork 9
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
gh-405: array API support for glass.core.algorithm
#423
base: saransh/array-api-test
Are you sure you want to change the base?
Conversation
Perhaps, before merging any changes, we should figure out a way to
|
msg = "input arrays should belong to the same array library" | ||
raise ValueError(msg) | ||
|
||
xp = a.__array_namespace__() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was talking to @matt-graham and he wondered if we should be using array-api-compat here. That should solve the cupy
issue. I believe only NumPy
and JAX
are stable at this point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CuPy support will become official in their next major release (v14
) where they will start supporting NumPy v2
. I hope they push the release in the next 3 months, so that we don't have to experiment with array-api-compat.
b67c4f5
to
6e8ef45
Compare
6e8ef45
to
761795c
Compare
fa75b7a
to
1b0d92b
Compare
WIP (not draft to test array API in the CI)
Has some caveats that I am working on, but opening this PR for visibility.
Closes: #405