Skip to content

Commit

Permalink
python3Packages.torch: NCCL static library is in static output
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorBaker committed Sep 13, 2024
1 parent fed9d55 commit 62796e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/torch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,8 @@ buildPythonPackage rec {
++ lists.optionals (cudaPackages ? cudnn) [ cudnn ]
++ lists.optionals useSystemNccl [
# Some platforms do not support NCCL (i.e., Jetson)
nccl # Provides nccl.h AND a static copy of NCCL!
(lib.getDev nccl)
(lib.getOutput "static" nccl)
]
++ lists.optionals (strings.versionOlder cudaVersion "11.8") [
cuda_nvprof # <cuda_profiler_api.h>
Expand Down

0 comments on commit 62796e8

Please sign in to comment.