File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ Changelog follow https://keepachangelog.com/ format.
8
8
9
9
## [ Unreleased]
10
10
11
+ ## [ 1.12.2] - 2025-03-10
12
+
13
+ * ` enp ` :
14
+ * Fix orbax ArraySpec issue.
15
+
11
16
## [ 1.12.1] - 2025-02-07
12
17
13
18
* ` enp ` :
@@ -486,7 +491,8 @@ Changelog follow https://keepachangelog.com/ format.
486
491
487
492
<!-- mdlint off(LINK_UNUSED_ID) -->
488
493
489
- [ Unreleased ] : https://github.com/google/etils/compare/v1.12.1...HEAD
494
+ [ Unreleased ] : https://github.com/google/etils/compare/v1.12.2...HEAD
495
+ [ 1.12.2 ] : https://github.com/google/etils/compare/v1.12.1...v1.12.2
490
496
[ 1.12.1 ] : https://github.com/google/etils/compare/v1.12.0...v1.12.1
491
497
[ 1.12.0 ] : https://github.com/google/etils/compare/v1.11.0...v1.12.0
492
498
[ 1.11.0 ] : https://github.com/google/etils/compare/v1.10.0...v1.11.0
Original file line number Diff line number Diff line change 16
16
17
17
# A new PyPI release will be pushed everytime `__version__` is increased
18
18
# When changing this, also update the CHANGELOG.md
19
- __version__ = '1.12.1 '
19
+ __version__ = '1.12.2 '
20
20
21
21
# Do NOT add anything to this file. This is left empty on purpose.
22
22
# Users should import subprojects directly.
Original file line number Diff line number Diff line change @@ -182,12 +182,12 @@ def _is_pygrain(array: Array) -> bool:
182
182
def _is_orbax (array : Array ) -> bool :
183
183
if 'orbax.checkpoint' not in sys .modules :
184
184
return False
185
- from orbax .checkpoint ._src . serialization import type_handlers # pylint: disable=g-import-not-at-top # pytype: disable=import-error
185
+ from orbax .checkpoint .metadata import value # pylint: disable=g-import-not-at-top # pytype: disable=import-error
186
186
187
187
return isinstance (
188
188
array ,
189
189
(
190
- type_handlers .ArrayMetadata ,
191
- type_handlers .ScalarMetadata ,
190
+ value .ArrayMetadata ,
191
+ value .ScalarMetadata ,
192
192
),
193
193
)
You can’t perform that action at this time.
0 commit comments