python3Packages.dm-haiku: fix build

This commit is contained in:
Samuel Ainsworth
2022-04-11 21:07:50 +00:00
parent 158b9d526d
commit 8442d63c5b
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "deepmind";
repo = pname;
rev = "v${version}";
sha256 = "sha256-qvKMeGPiWXvvyV+GZdTWdsC6Wp08AmP8nDtWk7sZtqM=";
hash = "sha256-qvKMeGPiWXvvyV+GZdTWdsC6Wp08AmP8nDtWk7sZtqM=";
};
propagatedBuildInputs = [
@@ -32,6 +32,7 @@ buildPythonPackage rec {
checkInputs = [
chex
cloudpickle
dill
dm-tree
jaxlib
pytest-xdist
@@ -55,6 +56,11 @@ buildPythonPackage rec {
"haiku/_src/integration/jax2tf_test.py"
];
disabledTests = [
# See https://github.com/deepmind/dm-haiku/issues/366.
"test_jit_Recurrent"
];
meta = with lib; {
description = "Haiku is a simple neural network library for JAX developed by some of the authors of Sonnet.";
homepage = "https://github.com/deepmind/dm-haiku";