fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
34 lines
524 B
Nix
34 lines
524 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"
|
|
];
|
|
}
|