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