Skip to content

Commit

Permalink
Enable ArrayMetadataStore by default
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 731381414
  • Loading branch information
ChromeHearts authored and Orbax Authors committed Feb 26, 2025
1 parent c69a872 commit 4bb6b36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion checkpoint/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.11.7]

### Changed

- Improve `Cannot serialize host local jax.Array` error message.
- Enable ArrayMetadataStore by default.

### Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,10 @@ def create_type_handler_registry(
(bytes, ScalarHandler()),
(np.number, ScalarHandler()),
(np.ndarray, NumpyHandler()),
(jax.Array, ArrayHandler()),
(
jax.Array,
ArrayHandler(array_metadata_store=array_metadata_store_lib.Store()),
),
(str, StringHandler()),
])

Expand Down
2 changes: 1 addition & 1 deletion checkpoint/orbax/checkpoint/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# A new PyPI release will be pushed everytime `__version__` is increased.
# Also modify version and date in CHANGELOG.
__version__ = '0.11.6'
__version__ = '0.11.7'


# TODO: b/362813406 - Add latest change timestamp and commit number.
Expand Down

0 comments on commit 4bb6b36

Please sign in to comment.