python312Packages.pytorch-bench: init at unstable-2024-07-18

This commit is contained in:
Pol Dellaiera
2024-11-01 22:15:03 +01:00
parent 41c9bb7209
commit f803fa80cc
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
colorama,
matplotlib,
numpy,
pynvml,
torch,
torchprofile,
}:
buildPythonPackage {
pname = "pytorch-bench";
version = "unstable-2024-07-18";
pyproject = true;
src = fetchFromGitHub {
owner = "MaximeGloesener";
repo = "torch-benchmark";
rev = "405a3fc2d147b43b4c1f7edb7aca0a60ba343ac5";
hash = "sha256-KU3dAf97A6lkMNTKRay23BMFQfn1ReAFNaJ0kG2RfnA=";
};
build-system = [
setuptools
];
dependencies = [
colorama
matplotlib
numpy
pynvml
torch
torchprofile
];
pythonImportsCheck = [
"pytorch_bench"
];
meta = {
description = "Benchmarking tool for torch";
homepage = "https://github.com/MaximeGloesener/torch-benchmark";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drupol ];
};
}
+2
View File
@@ -13093,6 +13093,8 @@ self: super: with self; {
pytools = callPackage ../development/python-modules/pytools { };
pytorch-bench = callPackage ../development/python-modules/pytorch-bench { };
pytorch-lightning = callPackage ../development/python-modules/pytorch-lightning { };
pytorch-metric-learning = callPackage ../development/python-modules/pytorch-metric-learning { };