From ab9d59200c0770c0f000e00a360a48d14dceb644 Mon Sep 17 00:00:00 2001 From: Samuel Ainsworth Date: Fri, 18 Feb 2022 21:27:28 +0000 Subject: [PATCH] python3Packages.jaxlib-bin: comment explaining cudatoolkit dependency --- pkgs/development/python-modules/jaxlib/bin.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/jaxlib/bin.nix b/pkgs/development/python-modules/jaxlib/bin.nix index 6e70b24f67da..3504c6bf3204 100644 --- a/pkgs/development/python-modules/jaxlib/bin.nix +++ b/pkgs/development/python-modules/jaxlib/bin.nix @@ -97,7 +97,8 @@ buildPythonPackage rec { done ''; - # pip dependencies and optionally cudatoolkit. + # pip dependencies and optionally cudatoolkit. Note that cudatoolkit is + # necessary since jaxlib looks for "ptxas" in $PATH. propagatedBuildInputs = [ absl-py flatbuffers scipy ] ++ lib.optional cudaSupport cudatoolkit_11; pythonImportsCheck = [ "jaxlib" ];