diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 516d4817bedf..fcf580afefd8 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -17878,6 +17878,12 @@ github = "merrkry"; githubId = 124278440; }; + mert-kurttutan = { + email = "mert-kurttutan@gmail.com"; + name = "Mert Kurttutan"; + github = "mert-kurttutan"; + githubId = 88637659; + }; messemar = { email = "martin.messer@cyberus-technology.de"; name = "messemar"; diff --git a/pkgs/development/python-modules/tt-perf-report/default.nix b/pkgs/development/python-modules/tt-perf-report/default.nix new file mode 100644 index 000000000000..1535db15f8aa --- /dev/null +++ b/pkgs/development/python-modules/tt-perf-report/default.nix @@ -0,0 +1,50 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + + # build-system + setuptools, + wheel, + + # dependencies + matplotlib, + pandas, +}: + +buildPythonPackage (finalAttrs: { + pname = "tt-perf-report"; + version = "1.2.4"; + pyproject = true; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "tenstorrent"; + repo = "tt-perf-report"; + tag = "v${finalAttrs.version}"; + hash = "sha256-cSlQ9Byv9LzKc4gS3QLeq3bHdmIVpl8AeK3Gh0mNDAQ="; + }; + + build-system = [ + setuptools + wheel + ]; + + dependencies = [ + matplotlib + pandas + ]; + + pythonRelaxDeps = [ "matplotlib" ]; + + pythonImportsCheck = [ "tt_perf_report" ]; + + meta = { + description = "Tool for analyzing performance traces from Metal operations"; + homepage = "https://github.com/tenstorrent/tt-perf-report"; + changelog = "https://github.com/tenstorrent/tt-perf-report/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ mert-kurttutan ]; + mainProgram = "tt-perf-report"; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 467fcdfb9c96..fe310669b717 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20423,6 +20423,8 @@ self: super: with self; { tt-flash = callPackage ../development/python-modules/tt-flash { }; + tt-perf-report = callPackage ../development/python-modules/tt-perf-report { }; + tt-tools-common = callPackage ../development/python-modules/tt-tools-common { }; ttach = callPackage ../development/python-modules/ttach { };