Skip to content

test pow() and bitwise shifts with scalars #371

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

Merged
merged 4 commits into from
May 9, 2025

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented May 5, 2025

towards #299

@ev-br ev-br mentioned this pull request May 5, 2025
13 tasks
@ev-br ev-br changed the title test pow() with scalars test pow() and bitwise shifts with scalars May 5, 2025
@ev-br ev-br force-pushed the test_pow_with_scalars branch from 4b861d5 to 72de19b Compare May 5, 2025 20:15
@ev-br
Copy link
Member Author

ev-br commented May 9, 2025

Ran 20_000 examples locally with jax.numpy, cupy, torch, numpy and array_api_strict.
The only issue is that
test_binary_with_scalars_real[pow] needs to be xfailed under CuPy 13.x, which does not fully implement NEP 50. The issue with pow is fixed in CuPy 14.0.0a1, so will be able to remove the xfail when 14.x becomes the minimum supported CuPy version. Until then, it's an xfail; which I'll add in a separate PR to array-api-compat.

@ev-br ev-br merged commit a5734c1 into data-apis:master May 9, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant