mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
34 lines
514 B
Nix
34 lines
514 B
Nix
{ buildPythonPackage
|
|
, dm-haiku
|
|
, pytest-xdist
|
|
, pytestCheckHook
|
|
, tensorflow
|
|
, tensorflow-datasets
|
|
, flax
|
|
, optax
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "optax-tests";
|
|
inherit (optax) version;
|
|
|
|
src = optax.testsout;
|
|
|
|
dontBuild = true;
|
|
dontInstall = true;
|
|
|
|
nativeCheckInputs = [
|
|
dm-haiku
|
|
pytest-xdist
|
|
pytestCheckHook
|
|
tensorflow
|
|
tensorflow-datasets
|
|
flax
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# See https://github.com/deepmind/optax/issues/323
|
|
"examples/lookahead_mnist_test.py"
|
|
];
|
|
}
|