1111 # dependencies
1212 etils ,
1313 humanize ,
14- importlib-resources ,
1514 jax ,
16- jaxlib ,
1715 msgpack ,
1816 nest-asyncio ,
1917 numpy ,
2018 protobuf ,
2119 pyyaml ,
20+ simplejson ,
2221 tensorstore ,
2322 typing-extensions ,
2423
2524 # tests
2625 chex ,
2726 google-cloud-logging ,
2827 mock ,
28+ optax ,
2929 pytest-xdist ,
3030 pytestCheckHook ,
3131} :
3232
3333buildPythonPackage rec {
3434 pname = "orbax-checkpoint" ;
35- version = "0.6.4 " ;
35+ version = "0.10.3 " ;
3636 pyproject = true ;
3737
3838 src = fetchFromGitHub {
3939 owner = "google" ;
4040 repo = "orbax" ;
41- rev = "refs/tags/ v${ version } " ;
42- hash = "sha256-xd75/AKBFUdA6a8sQnCB2rVbHl/Foy4LTb07jnwrTjA =" ;
41+ tag = "v${ version } " ;
42+ hash = "sha256-BTg4kUz5jfoK2uR/deqqJb8PYoj+FfkuoMZAeSjKKnA =" ;
4343 } ;
4444
4545 sourceRoot = "${ src . name } /checkpoint" ;
@@ -50,14 +50,13 @@ buildPythonPackage rec {
5050 absl-py
5151 etils
5252 humanize
53- importlib-resources
5453 jax
55- jaxlib
5654 msgpack
5755 nest-asyncio
5856 numpy
5957 protobuf
6058 pyyaml
59+ simplejson
6160 tensorstore
6261 typing-extensions
6362 ] ;
@@ -66,6 +65,7 @@ buildPythonPackage rec {
6665 chex
6766 google-cloud-logging
6867 mock
68+ optax
6969 pytest-xdist
7070 pytestCheckHook
7171 ] ;
@@ -84,14 +84,19 @@ buildPythonPackage rec {
8484
8585 disabledTestPaths = [
8686 # Circular dependency flax
87+ "orbax/checkpoint/_src/metadata/empty_values_test.py"
88+ "orbax/checkpoint/_src/metadata/tree_rich_types_test.py"
89+ "orbax/checkpoint/_src/metadata/tree_test.py"
90+ "orbax/checkpoint/_src/testing/test_tree_utils.py"
91+ "orbax/checkpoint/_src/tree/utils_test.py"
92+ "orbax/checkpoint/single_host_test.py"
8793 "orbax/checkpoint/transform_utils_test.py"
88- "orbax/checkpoint/utils_test.py"
8994 ] ;
9095
9196 meta = {
9297 description = "Orbax provides common utility libraries for JAX users" ;
9398 homepage = "https://github.com/google/orbax/tree/main/checkpoint" ;
94- changelog = "https://github.com/google/orbax/releases/tag/ v${ version } " ;
99+ changelog = "https://github.com/google/orbax/blob/ v${ version } /checkpoint/CHANGELOG.md " ;
95100 license = lib . licenses . asl20 ;
96101 maintainers = with lib . maintainers ; [ fab ] ;
97102 } ;
0 commit comments