python3Packages.orbax-checkpoint: 0.11.13 -> 0.11.14 (#415504)
This commit is contained in:
commit
7a6dddc1aa
@ -35,14 +35,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "orbax-checkpoint";
|
pname = "orbax-checkpoint";
|
||||||
version = "0.11.13";
|
version = "0.11.14";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "orbax";
|
repo = "orbax";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-qmq0Kz8wXUFFE4CqsdFwKXAIvysFbv7JomQSrNj1QCc=";
|
hash = "sha256-qZfC3rqfESfXdL/TMXodrJnM1/dQs9adDHM9DS0QlZ4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/checkpoint";
|
sourceRoot = "${src.name}/checkpoint";
|
||||||
@ -85,12 +85,19 @@ buildPythonPackage rec {
|
|||||||
"orbax.checkpoint"
|
"orbax.checkpoint"
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
disabledTests =
|
||||||
# Probably failing because of a filesystem impurity
|
[
|
||||||
# self.assertFalse(os.path.exists(dst_dir))
|
# Flaky
|
||||||
# AssertionError: True is not false
|
# AssertionError: 2 not greater than 2.0046136379241943
|
||||||
"test_create_snapshot"
|
"test_async_mkdir_parallel"
|
||||||
];
|
"test_async_mkdir_sequential"
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
# Probably failing because of a filesystem impurity
|
||||||
|
# self.assertFalse(os.path.exists(dst_dir))
|
||||||
|
# AssertionError: True is not false
|
||||||
|
"test_create_snapshot"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
# E absl.flags._exceptions.DuplicateFlagError: The flag 'num_processes' is defined twice.
|
# E absl.flags._exceptions.DuplicateFlagError: The flag 'num_processes' is defined twice.
|
||||||
@ -105,6 +112,7 @@ buildPythonPackage rec {
|
|||||||
"orbax/checkpoint/_src/metadata/tree_test.py"
|
"orbax/checkpoint/_src/metadata/tree_test.py"
|
||||||
"orbax/checkpoint/_src/testing/test_tree_utils.py"
|
"orbax/checkpoint/_src/testing/test_tree_utils.py"
|
||||||
"orbax/checkpoint/_src/tree/parts_of_test.py"
|
"orbax/checkpoint/_src/tree/parts_of_test.py"
|
||||||
|
"orbax/checkpoint/_src/tree/structure_utils_test.py"
|
||||||
"orbax/checkpoint/_src/tree/utils_test.py"
|
"orbax/checkpoint/_src/tree/utils_test.py"
|
||||||
"orbax/checkpoint/single_host_test.py"
|
"orbax/checkpoint/single_host_test.py"
|
||||||
"orbax/checkpoint/transform_utils_test.py"
|
"orbax/checkpoint/transform_utils_test.py"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user