[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/26: gnu: python-pytorch-for-r-torch: Define as alias for python-pytor
From: |
guix-commits |
Subject: |
04/26: gnu: python-pytorch-for-r-torch: Define as alias for python-pytorch. |
Date: |
Wed, 10 May 2023 13:30:58 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit b6b6e89419acea72bbb10aad4d270d55f1757013
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 9 22:54:16 2023 +0200
gnu: python-pytorch-for-r-torch: Define as alias for python-pytorch.
* gnu/packages/machine-learning.scm (python-pytorch-for-r-torch): Remove
duplicate definition.
---
gnu/packages/machine-learning.scm | 39 +--------------------------------------
1 file changed, 1 insertion(+), 38 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index d630fe090e..03fd2e2135 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3416,44 +3416,7 @@ PyTorch when needed.
Note: currently this package does not provide GPU support.")
(license license:bsd-3)))
-(define-public python-pytorch-for-r-torch
- (package
- (inherit python-pytorch)
- (name "python-pytorch")
- (version "1.13.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/pytorch/pytorch")
- (commit (string-append "v" version))
- (recursive? #t)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "17yxjzwp4zp75fz7czgz9acijzw7dpyqcza50v8y1x7hfg2gw369"))
- (patches (search-patches "python-pytorch-system-libraries.patch"
- "python-pytorch-runpath.patch"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; XXX: Let's be clear: this package is a bundling fest. We
- ;; delete as much as we can, but there's still a lot left.
- (for-each (lambda (directory)
- (delete-file-recursively
- (string-append "third_party/" directory)))
- '("benchmark" "cpuinfo" "eigen"
-
- ;; FIXME: QNNPACK (of which XNNPACK is a fork)
- ;; needs these.
- ;; "FP16" "FXdiv" "gemmlowp" "psimd"
-
- "gloo" "googletest" "ios-cmake" "NNPACK"
- "onnx" "protobuf" "pthreadpool"
- "pybind11" "python-enum" "python-peachpy"
- "python-six" "tbb" "XNNPACK" "zstd"))
- (substitute* "functorch/CMakeLists.txt"
- (("\\$\\{_rpath_portable_origin\\}/../torch/lib")
- "$ORIGIN/../torch/lib"))))))))
+(define-public python-pytorch-for-r-torch python-pytorch)
;; Keep this in sync with python-pytorch
(define-public python-torchvision
- 19/26: gnu: Add python-types-requests., (continued)
- 19/26: gnu: Add python-types-requests., guix-commits, 2023/05/10
- 01/26: gnu: python-pytorch: Update to 1.13.1., guix-commits, 2023/05/10
- 06/26: gnu: Add python-lightning-utilities., guix-commits, 2023/05/10
- 15/26: gnu: Add python-inquirer., guix-commits, 2023/05/10
- 25/26: gnu: Add python-jsonargparse., guix-commits, 2023/05/10
- 26/26: gnu: Add python-pytorch-lightning., guix-commits, 2023/05/10
- 14/26: gnu: Add python-readchar., guix-commits, 2023/05/10
- 07/26: gnu: Add python-mir-eval., guix-commits, 2023/05/10
- 24/26: gnu: Add python-docstring-parser., guix-commits, 2023/05/10
- 18/26: gnu: Add python-types-urllib3., guix-commits, 2023/05/10
- 04/26: gnu: python-pytorch-for-r-torch: Define as alias for python-pytorch.,
guix-commits <=
- 21/26: gnu: python-torchvision: Update to 0.15.2., guix-commits, 2023/05/10
- 05/26: gnu: Add python-lightning-cloud., guix-commits, 2023/05/10
- 11/26: gnu: python-pillow-simd: Update to 9.2.0., guix-commits, 2023/05/10
- 09/26: gnu: Add python-torchmetrics., guix-commits, 2023/05/10
- 12/26: gnu: Add python-dateutils., guix-commits, 2023/05/10
- 17/26: gnu: Add python-fastapi-for-pytorch-lightning., guix-commits, 2023/05/10
- 03/26: gnu: python-traitlets: Update to 5.9.0., guix-commits, 2023/05/10