Skip to content

Increment the version to 0.2.0.#40

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/932566588
Jun 15, 2026
Merged

Increment the version to 0.2.0.#40
copybara-service[bot] merged 1 commit into
mainfrom
cl/932566588

Conversation

@copybara-service

Copy link
Copy Markdown

Increment the version to 0.2.0.

This release includes the following accumulated changes since v0.1.4:

  • JAX Explicit Sharding Support: Added compatibility with the explicit sharding model.
    • Primitives now propagate sharding annotations during abstract evaluation.
    • Replaced internal use of jax.lax.with_sharding_constraints with jax.sharding.reshard.
    • Added strict placement axis check for explicit sharding meshes, raising a ValueError on mismatch.
  • API and Dependency Improvements:
    • Replaced jnp.tile with jnp.broadcast_to in single_arg_broadcast.
    • Removed jax.jit from single_arg_broadcast to allow callers to control compilation.
    • Introduced support for JAX abstract meshes (use_mesh(...) pattern).
    • Migrated from deprecated jax.tree_util.tree_map to jax.tree.map.
    • Removed JAX version constraints from pyproject.toml.

This release includes the following accumulated changes since v0.1.4:

- **JAX Explicit Sharding Support**: Added compatibility with the explicit sharding model.
  - Primitives now propagate sharding annotations during abstract evaluation.
  - Replaced internal use of `jax.lax.with_sharding_constraints` with `jax.sharding.reshard`.
  - Added strict placement axis check for explicit sharding meshes, raising a ValueError on mismatch.
- **API and Dependency Improvements**:
  - Replaced `jnp.tile` with `jnp.broadcast_to` in `single_arg_broadcast`.
  - Removed `jax.jit` from `single_arg_broadcast` to allow callers to control compilation.
  - Introduced support for JAX abstract meshes (`use_mesh(...)` pattern).
  - Migrated from deprecated `jax.tree_util.tree_map` to `jax.tree.map`.
  - Removed JAX version constraints from `pyproject.toml`.

PiperOrigin-RevId: 932608109
@copybara-service copybara-service Bot merged commit 6623aa0 into main Jun 15, 2026
@copybara-service copybara-service Bot deleted the cl/932566588 branch June 15, 2026 19:35
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