depot/third_party/nixpkgs/pkgs/development/python-modules/test-tube/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

46 lines
865 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
isPy27,
pytestCheckHook,
future,
imageio,
numpy,
pandas,
torch,
tensorboard,
}:
buildPythonPackage rec {
pname = "test-tube";
version = "0.628";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "williamFalcon";
repo = pname;
rev = version;
sha256 = "0w60xarmcw06gc4002sy7bjfykdz34gbgniswxkl0lw8a1v0xn2m";
};
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs = [
future
imageio
numpy
pandas
torch
tensorboard
];
meta = with lib; {
homepage = "https://github.com/williamFalcon/test-tube";
description = "Framework-agnostic library to track and parallelize hyperparameter search in machine learning experiments";
license = licenses.mit;
maintainers = [ maintainers.tbenst ];
};
}