14 repo = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 hash = "sha256-nAtqGCv8q3Tati3NOGWWLb+gXdvO3qmECeC1WG2Mt3M=";
22 pname = "torch_tb_profiler";
26 # See https://discourse.nixos.org/t/extracting-sub-directory-from-fetchgit-or-fetchurl-or-any-derivation/8830.
27 src = "${repo}/tb_plugin";
29 build-system = [ setuptools ];
43 # Tests that attempt to access the filesystem in naughty ways.
44 "test_profiler_api_without_gpu"
45 "test_tensorboard_end2end"
46 "test_tensorboard_with_path_prefix"
47 "test_tensorboard_with_symlinks"
49 "test_profiler_api_with_record_shapes_memory_stack"
50 "test_profiler_api_without_record_shapes_memory_stack"
51 "test_profiler_api_without_step"
54 pythonImportsCheck = [ "torch_tb_profiler" ];
57 description = "PyTorch Profiler TensorBoard Plugin";
58 homepage = "https://github.com/pytorch/kineto";
59 license = lib.licenses.bsd3;
60 maintainers = with lib.maintainers; [ samuela ];