python3Packages.nvdlfw-inspect: init at 0.2.2 (#480368)

This commit is contained in:
kirillrdy
2026-01-15 22:33:01 +00:00
committed by GitHub
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# dependencies
pyyaml,
torch,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "nvdlfw-inspect";
version = "0.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "NVIDIA";
repo = "nvidia-dlfw-inspect";
# No tag, found the commit using `git blame`
rev = "3a7314ac44f8479a3368a69ac4c7938e40e6104c";
hash = "sha256-qLyPzdwIIXHUDeP226w4yo2B1fqOKZ3yeSXrG3pNQyk=";
};
dependencies = [
pyyaml
torch
];
pythonImportsCheck = [ "nvdlfw_inspect" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Facilitates debugging convergence issues and testing new algorithms/recipes for training LLMs using Nvidia libraries";
homepage = "https://github.com/NVIDIA/nvidia-dlfw-inspect";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})
+2
View File
@@ -11074,6 +11074,8 @@ self: super: with self; {
nvchecker = callPackage ../development/python-modules/nvchecker { };
nvdlfw-inspect = callPackage ../development/python-modules/nvdlfw-inspect { };
nvdlib = callPackage ../development/python-modules/nvdlib { };
nvidia-dlprof-pytorch-nvtx =