Skip to content

Commit

Permalink
python312Packages.orbax-checkpoint: 0.6.4 -> 0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Dec 30, 2024
1 parent 5634d55 commit 8fcee6f
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions pkgs/development/python-modules/orbax-checkpoint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@
# dependencies
etils,
humanize,
importlib-resources,
jax,
jaxlib,
msgpack,
nest-asyncio,
numpy,
protobuf,
pyyaml,
simplejson,
tensorstore,
typing-extensions,

# tests
chex,
google-cloud-logging,
mock,
optax,
pytest-xdist,
pytestCheckHook,
}:

buildPythonPackage rec {
pname = "orbax-checkpoint";
version = "0.6.4";
version = "0.10.3";
pyproject = true;

src = fetchFromGitHub {
owner = "google";
repo = "orbax";
rev = "refs/tags/v${version}";
hash = "sha256-xd75/AKBFUdA6a8sQnCB2rVbHl/Foy4LTb07jnwrTjA=";
tag = "v${version}";
hash = "sha256-BTg4kUz5jfoK2uR/deqqJb8PYoj+FfkuoMZAeSjKKnA=";
};

sourceRoot = "${src.name}/checkpoint";
Expand All @@ -50,14 +50,13 @@ buildPythonPackage rec {
absl-py
etils
humanize
importlib-resources
jax
jaxlib
msgpack
nest-asyncio
numpy
protobuf
pyyaml
simplejson
tensorstore
typing-extensions
];
Expand All @@ -66,6 +65,7 @@ buildPythonPackage rec {
chex
google-cloud-logging
mock
optax
pytest-xdist
pytestCheckHook
];
Expand All @@ -84,14 +84,19 @@ buildPythonPackage rec {

disabledTestPaths = [
# Circular dependency flax
"orbax/checkpoint/_src/metadata/empty_values_test.py"
"orbax/checkpoint/_src/metadata/tree_rich_types_test.py"
"orbax/checkpoint/_src/metadata/tree_test.py"
"orbax/checkpoint/_src/testing/test_tree_utils.py"
"orbax/checkpoint/_src/tree/utils_test.py"
"orbax/checkpoint/single_host_test.py"
"orbax/checkpoint/transform_utils_test.py"
"orbax/checkpoint/utils_test.py"
];

meta = {
description = "Orbax provides common utility libraries for JAX users";
homepage = "https://github.com/google/orbax/tree/main/checkpoint";
changelog = "https://github.com/google/orbax/releases/tag/v${version}";
changelog = "https://github.com/google/orbax/blob/v${version}/checkpoint/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
Expand Down

0 comments on commit 8fcee6f

Please sign in to comment.