Skip to content
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

ENH: Test tools for jax.jit and dask #115

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

crusaderky
Copy link
Contributor

@crusaderky crusaderky commented Jan 21, 2025

Porting of scipy/scipy#22308, with additional support for Dask.

@lucascolley lucascolley added the enhancement New feature or request label Jan 21, 2025
@lucascolley lucascolley changed the title ENH Test tools for jax.jit and dask ENH: Test tools for jax.jit and dask Jan 21, 2025
lazy_xp_function(kron, static_argnames="xp")
lazy_xp_function(nunique, static_argnames="xp")
lazy_xp_function(pad, static_argnames=("pad_width", "mode", "constant_values", "xp"))
# FIXME calls in1d which calls xp.unique_values without size
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is non-trivial to fix. Will look into it in a follow-up.

Copy link
Member

@lucascolley lucascolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @crusaderky, LGTM! I don't have much to say on the details of how this interfaces with JAX and Dask, but it all sounds reasonable to me, and the code looks maintainable.

docs/api-reference.md Outdated Show resolved Hide resolved
src/array_api_extra/testing.py Outdated Show resolved Hide resolved
src/array_api_extra/testing.py Outdated Show resolved Hide resolved
src/array_api_extra/testing.py Outdated Show resolved Hide resolved
src/array_api_extra/testing.py Outdated Show resolved Hide resolved
src/array_api_extra/testing.py Outdated Show resolved Hide resolved
src/array_api_extra/testing.py Outdated Show resolved Hide resolved
src/array_api_extra/testing.py Outdated Show resolved Hide resolved
src/array_api_extra/testing.py Outdated Show resolved Hide resolved
@lucascolley lucascolley added this to the 0.6.1 milestone Jan 24, 2025
@crusaderky
Copy link
Contributor Author

@lucascolley all comments addressed

@lucascolley lucascolley merged commit 8fa3fd2 into data-apis:main Jan 24, 2025
10 checks passed
@crusaderky crusaderky deleted the test_jit branch January 24, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants