v0.8.0
Highlights
xpx.testing.lazy_xp_functionwithjax_jit=Truenow handles functions which accept and return arbitrary wrappers around JAX arrays, by treating all arguments and return types that are not JAX arrays as static.- the
static_argnumsandstatic_argnamesparameters are deprecated in favour of this.
- the
xpx.one_hot: new function to create one-hot vector arraysxpx.default_dtype: a convenience function for common queries toxp.__array_namespace_info__().default_dtypes()- support for PyTorch
device='meta'
Progress has also been made towards exposing functions like assert_equal under xpx.testing, but this API is still private for now.
What's Changed
- DEV: bump version to 0.8.0.dev0 by @lucascolley in #292
- ENH/TST:
xp_assert_enhancements by @mdhaber in #267 - MAINT: test against Dask 2025.5 by @crusaderky in #295
- MAINT:
reshapedoes not accept int by @crusaderky in #294 - MAINT: upgrade to array-api-compat >=1.12 by @crusaderky in #296
- ENH:
jax_autojitby @crusaderky in #284 - DOC:
autojitnotes by @crusaderky in #297 - TST: rework tests for
xp_assert_equalby @crusaderky in #301 - ENH: support PyTorch
device='meta'by @crusaderky in #300 - ENH: New function
default_dtypeby @crusaderky in #310 - ENH: add new function
one_hotby @NeilGirdhar in #306 - REL: prepare v0.8.0 release by @lucascolley in #312
New Contributors
Full Changelog: v0.7.2...v0.8.0