python3Packages.flax: 0.6.0 -> 0.6.1
This commit is contained in:
parent
547d127691
commit
9714106447
1 changed files with 18 additions and 12 deletions
|
@ -17,25 +17,15 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "flax";
|
||||
version = "0.6.0";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-egTYYFZxhE/Kk7jXRi1HmjCjyFia2LoRigH042isDu0=";
|
||||
sha256 = "sha256-fZiODo+izOwGjCCTvi11GvUG/VQL1DV9bNXKjvIIw4A=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Bump rich dependency, should be fixed in releases after 0.6.0
|
||||
# https://github.com/google/flax/pull/2407
|
||||
(fetchpatch {
|
||||
url = "https://github.com/google/flax/commit/72189153f9779022b97858ae747c23fbaf571e3d.patch";
|
||||
sha256 = "sha256-hKOn/M7qpBM6R1RIJpnXpRoZgIHqkwQZApN4L0fBzIE=";
|
||||
name = "bump_rich_dependency.patch";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ jaxlib ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -76,6 +66,22 @@ buildPythonPackage rec {
|
|||
"examples/*"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# See https://github.com/google/flax/issues/2554.
|
||||
"test_async_save_checkpoints"
|
||||
"test_jax_array0"
|
||||
"test_jax_array1"
|
||||
"test_keep0"
|
||||
"test_keep1"
|
||||
"test_optimized_lstm_cell_matches_regular"
|
||||
"test_overwrite_checkpoints"
|
||||
"test_save_restore_checkpoints_target_empty"
|
||||
"test_save_restore_checkpoints_target_none"
|
||||
"test_save_restore_checkpoints_target_singular"
|
||||
"test_save_restore_checkpoints_w_float_steps"
|
||||
"test_save_restore_checkpoints"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Neural network library for JAX";
|
||||
homepage = "https://github.com/google/flax";
|
||||
|
|
Loading…
Reference in a new issue