Skip to content

Commit

Permalink
python37Packages.cupy: Add cutensor optional dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Mar 17, 2021
1 parent a680b02 commit 13b5995
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/cupy/default.nix
@@ -1,7 +1,7 @@
{ lib, buildPythonPackage
, fetchPypi, isPy3k, linuxPackages
, fastrlock, numpy, six, wheel, pytest, mock, setuptools
, cudatoolkit, cudnn, nccl
, cudatoolkit, cudnn, cutensor, nccl
}:

buildPythonPackage rec {
Expand All @@ -26,6 +26,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
cudatoolkit
cudnn
cutensor
linuxPackages.nvidia_x11
nccl
fastrlock
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -1589,6 +1589,7 @@ in {
cudatoolkit = pkgs.cudatoolkit_10_0;
cudnn = pkgs.cudnn_cudatoolkit_10_0;
nccl = pkgs.nccl_cudatoolkit_10;
cutensor = pkgs.cutensor_cudatoolkit_10;
};

curio = callPackage ../development/python-modules/curio { };
Expand Down

0 comments on commit 13b5995

Please sign in to comment.