NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3138 most downloaded on PyPI
Chex: Testing made fun, in JAX!
Last release 3 months ago
12 Jun 2026
Release timing varies
gaps range from 3 weeks to 9 months
Most releases are documented
notes for 25 of 29 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
30 releases · first in 2020
One column per quarter.
Fix a deprecation warning for new versions of JAX and Numpy. Fixes #424. by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/425
jax.pmap. by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/419jax.config.pmap_shmap_merge. by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/438jax.device_put_sharded and jax.device_put_replicated. by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/440Full Changelog: https://github.com/google-deepmind/chex/compare/v0.1.91...v0.1.92
jax.pmap. by @copybara-service[bot] in #419jax.config.pmap_shmap_merge. by @copybara-service[bot] in #438jax.device_put_sharded and jax.device_put_replicated. by @copybara-service[bot] in #440Full Changelog: v0.1.91...v0.1.92
Migrate references to jax.lib.xla_extension to jax.extend. by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/403
jax.lib.xla_extension to jax.extend. by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/403assert_tree_shape, which is like assert_shape, but for all leaves in a tree. by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/404format_shape_matcher when constructing the assert_tree_shape error message. by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/405Full Changelog: https://github.com/google-deepmind/chex/compare/v0.1.90...v0.1.91
jax.lib.xla_extension to jax.extend. by @copybara-service[bot] in #403assert_tree_shape, which is like assert_shape, but for all leaves in a tree. by @copybara-service[bot] in #404format_shape_matcher when constructing the assert_tree_shape error message. by @copybara-service[bot] in #405Full Changelog: v0.1.90...v0.1.91
chex: avoid use of deprecated jax.util.unzip2 by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/391
jax.util.unzip2 by @copybara-service[bot] in https://github.com/google-deepmind/chex/pull/391Full Changelog: https://github.com/google-deepmind/chex/compare/v0.1.89...v0.1.90
jax.util.unzip2 by @copybara-service[bot] in #391Full Changelog: v0.1.89...v0.1.90
Switch to new unittest test loader API by @daskol in https://github.com/google-deepmind/chex/pull/372
unittest test loader API by @daskol in https://github.com/google-deepmind/chex/pull/372Full Changelog: https://github.com/google-deepmind/chex/compare/v0.1.88...v0.1.89
unittest test loader API by @daskol in #372Full Changelog: v0.1.88...v0.1.89
Fix test_assert_trees_all_equal_prng_keys by @copybara-service in https://github.com/google-deepmind/chex/pull/366
test_assert_trees_all_equal_prng_keys by @copybara-service in https://github.com/google-deepmind/chex/pull/366Full Changelog: https://github.com/google-deepmind/chex/compare/v0.1.87...v0.1.88
test_assert_trees_all_equal_prng_keys by @copybara-service in #366Full Changelog: v0.1.87...v0.1.88
Fix doc-string in warn_deprecated_function. by @copybara-service in https://github.com/google-deepmind/chex/pull/343
jax.tree_* functions with jax.tree.* by @copybara-service in https://github.com/google-deepmind/chex/pull/354replacement kwarg in warn_deprecated_function optional by @copybara-service in https://github.com/google-deepmind/chex/pull/362Full Changelog: https://github.com/google-deepmind/chex/compare/v0.1.86...v0.1.87
jax.tree_* functions with jax.tree.* by @copybara-service in #354replacement kwarg in warn_deprecated_function optional by @copybara-service in #362Full Changelog: v0.1.86...v0.1.87
Avoid use of deprecated device_buffer attriutes of jax.Array by @copybara-service in https://github.com/google-deepmind/chex/pull/325
device_buffer attriutes of jax.Array by @copybara-service in https://github.com/google-deepmind/chex/pull/325chex.assert_type to check concrete types instead of just asserting that the type is a floating/integer sub-type. by @copybara-service in https://github.com/google-deepmind/chex/pull/333Full Changelog: https://github.com/google-deepmind/chex/compare/v0.1.85...v0.1.86
device_buffer attriutes of jax.Array by @copybara-service in #325chex.assert_type to check concrete types instead of just asserting that the type is a floating/integer sub-type. by @copybara-service in #333Full Changelog: v0.1.85...v0.1.86
[JAX] Replace uses of jax.devices("cpu") with jax.local_devices(backend="cpu"). by @copybara-service in https://github.com/google-deepmind/chex/pull/3
Full Changelog: https://github.com/google-deepmind/chex/compare/v0.1.84...v0.1.85
Full Changelog: v0.1.84...v0.1.85
Update the type definitions in pytype.py and fix various warnings.
Update the type definitions in pytype.py and fix various warnings.
Remove deprecated assert_tree_* methods;
assert_tree_* methods;Deprecate ignore_nones. by @copybara-service in https://github.com/deepmind/chex/pull/292
Chex has moved from external dm-tree to the JAX-native jax.tree_util library for operating with PyTrees.
This means that Nones will not be treated as separate leaves by chex tree assertions any longer.
Note that you can still check for Nones using chex.assert_tree_no_nones().
kw_only for chex.dataclass. by @jblespiau in https://github.com/deepmind/chex/pull/290ignore_nones. by @copybara-service in https://github.com/deepmind/chex/pull/292Full Changelog: https://github.com/deepmind/chex/compare/v0.1.81...v0.1.82
Update requirements.txt to use numpy>=1.25.0.
Update requirements.txt to use numpy>=1.25.0.
Drop support for python 3.8, as per JAX deprecation policy.
jax.tree_util.register_pytree_with_keys to register chex.Dataclass. by @copybara-service in https://github.com/deepmind/chex/pull/266chex.assert_tree_shape{_prefix, _suffix} by @hylkedonker in https://github.com/deepmind/chex/pull/275Full Changelog: https://github.com/deepmind/chex/compare/v0.1.7...v0.1.8
Bump the minimum Jax version to 0.4.6
setup-python version and enable cache by @SauravMaheshkar in https://github.com/deepmind/chex/pull/239@mappable_dataclass by @pfackeldey in https://github.com/deepmind/chex/pull/241Full Changelog: https://github.com/deepmind/chex/compare/v0.1.6...v0.1.7
Replace jnp.DeviceArray with the new public type jax.Array. by @copybara-service in https://github.com/deepmind/chex/pull/187
jnp.DeviceArray with the new public type jax.Array. by @copybara-service in https://github.com/deepmind/chex/pull/187@chexify-ed functions from non-main threads. by @copybara-service in https://github.com/deepmind/chex/pull/214assert_trees_all_equal_shapes_and_dtypes by @copybara-service in https://github.com/deepmind/chex/pull/219Full Changelog: https://github.com/deepmind/chex/compare/v0.1.5...v0.1.6
Add support for value assertions in jitted functions. by @copybara-service in https://github.com/deepmind/chex/pull/178
Full Changelog: https://github.com/deepmind/chex/compare/v0.1.4...v0.1.5
Use jax.tree_util.tree_map in place of deprecated tree_multimap. by @copybara-service in https://github.com/deepmind/chex/pull/175
assert_axis_dimension_comparator usages. by @copybara-service in https://github.com/deepmind/chex/pull/168Full Changelog: https://github.com/deepmind/chex/compare/v0.1.3...v0.1.4
Slight helping clarification to clear_trace_counter. by @lucasb-eyer in https://github.com/deepmind/chex/pull/148
clear_trace_counter. by @lucasb-eyer in https://github.com/deepmind/chex/pull/148chex.{C,G,T}puDevice in favour of chex.Device. by @copybara-service in https://github.com/deepmind/chex/pull/154Full Changelog: https://github.com/deepmind/chex/compare/v0.1.2...v0.1.3
Support JAX parallel operations in chex.fake_pmap contexts by @copybara-service in https://github.com/deepmind/chex/pull/142
Full Changelog: https://github.com/deepmind/chex/compare/v0.1.1...v0.1.2
Move dataclass registration to __init__ so that it's invoked after deserialization. by @copybara-service in https://github.com/deepmind/chex/pull/111
assert_tree_is_sharded for asserting that a tree is sharded across the specified devices. by @copybara-service in https://github.com/deepmind/chex/pull/132ShardedDeviceArrays in assert_tree_is_on_host and assert_tree_is_on_device. by @copybara-service in https://github.com/deepmind/chex/pull/133assert_tree_shape_prefix. by @copybara-service in https://github.com/deepmind/chex/pull/143Full Changelog: https://github.com/deepmind/chex/compare/v0.1.0...v0.1.1
Support for Python 3.6 has been dropped as per JAX deprecation policy. Please upgrade to a supported Python version.
Support for Python 3.6 has been dropped as per JAX deprecation policy. Please upgrade to a supported Python version.
It is the latest version compatible with Python 3.6. See https://github.com/deepmind/optax/issues/222 for more details.
It is the latest version compatible with Python 3.6. See https://github.com/deepmind/optax/issues/222 for more details.
Changes since 0.0.8:
asserts.assert_tree_close;asserts.assert_trees_all_equal;jnp.bfloat16 to asserts.assert_trees_all_close();variants.with_jit;restrict_backends module for constraining the set of backends that a region of code can use;asserts.assert_trees_all_equal_dtypes assertion;asserts.assert_tree_shape_suffix to the public API;asserts.assert_tree_shape_suffix to check whether arrays share the same suffix.Add support for static_broadcasted_argnums to fake_pmap;
Changes:
assert_tree_all_close;Release Chex 0.0.7 \#50 ([copybara-service[bot]](https://github.com/apps/copybara-service))
Closed issues:
Merged pull requests:
* This Changelog was automatically generated by github_changelog_generator
Define MANIFEST.in to include requirements.txt in pypi bundle. Increment the version. \#38 ([copybara-service[bot]](https://github.com/apps/copybara-s
Merged pull requests:
* This Changelog was automatically generated by github_changelog_generator
DeprecationWarning for importing toolz \#4
Note: this is a first GitHub release of Chex. It includes all changes since the repo was created.
Closed issues:
Merged pull requests:
Nones in tree asserts and add assert_tree_no_nones. #27 (copybara-service[bot])assert_tree_shape_prefix assertion. #21 (copybara-service[bot])assert_equal_shape_suffix. #14 (copybara-service[bot])* This Changelog was automatically generated by github_changelog_generator
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →