about summary refs log tree commit diff
path: root/pkgs/top-level/release-cuda.nix
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-08-30 17:41:22 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-08-30 17:46:57 +0200
commitafe8ee8b470974ef8f8ce17a316c6ac8eb30df15 (patch)
tree8caebe3e175ce553814721a42cfa8d8235a87ec2 /pkgs/top-level/release-cuda.nix
parent70c3bfea5719751840a48a149f22fe356dd7d26b (diff)
python3Packages.torch{,-bin}: rename from pytorch{,-bin}
The proper name for a python package is the one in the setuptools
setup() call, which can also be seen on pypi.

Correct: https://pypi.org/project/torch/
Wrong: https://pypi.org/project/pytorch/

Includes a treewide rename of the attribute and creates aliases for the
old name.
Diffstat (limited to 'pkgs/top-level/release-cuda.nix')
-rw-r--r--pkgs/top-level/release-cuda.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/release-cuda.nix b/pkgs/top-level/release-cuda.nix
index 6cc149936ac8e..c96f08af41bf9 100644
--- a/pkgs/top-level/release-cuda.nix
+++ b/pkgs/top-level/release-cuda.nix
@@ -48,7 +48,7 @@ let
     python3.pkgs.libgpuarray = linux;
     python3.pkgs.tensorflowWithCuda = linux;
     python3.pkgs.pyrealsense2WithCuda = linux;
-    python3.pkgs.pytorchWithCuda = linux;
+    python3.pkgs.torchWithCuda = linux;
     python3.pkgs.jaxlib = linux;
   }) // (genAttrs packageSets evalPackageSet));