Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
816 B
Nix
39 lines
816 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchurl,
|
|
pythonOlder,
|
|
numpy,
|
|
torch,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nvidia-dlprof-pytorch-nvtx";
|
|
version = "1.8.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://pypi.nvidia.com/nvidia-dlprof-pytorch-nvtx/nvidia_dlprof_pytorch_nvtx-${version}-py3-none-any.whl";
|
|
hash = "sha256-IHVCXnkVy3lXw22ISpeMdt5T7UZSzHp8sbWGF/emwGw=";
|
|
};
|
|
|
|
format = "wheel";
|
|
|
|
dontBuild = true;
|
|
|
|
dependencies = [
|
|
numpy
|
|
torch
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"nvidia_dlprof_pytorch_nvtx"
|
|
];
|
|
|
|
meta = {
|
|
description = "NVIDIA DLProf Pytorch NVTX markers";
|
|
homepage = "https://docs.nvidia.com/deeplearning/frameworks/dlprof-user-guide/index.html";
|
|
license = lib.licenses.unfree; # NVIDIA Proprietary Software
|
|
maintainers = with lib.maintainers; [ jherland ];
|
|
};
|
|
}
|