[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/112: gnu: python-pytorch-for-r-torch: Reuse python-pytorch.
From: |
guix-commits |
Subject: |
04/112: gnu: python-pytorch-for-r-torch: Reuse python-pytorch. |
Date: |
Tue, 15 Mar 2022 15:22:08 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d7636c8bb7f2498f11d930a363061e4754e75724
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Mar 12 22:51:45 2022 +0100
gnu: python-pytorch-for-r-torch: Reuse python-pytorch.
* gnu/packages/machine-learning.scm (python-pytorch-for-r-torch): Use
definition on python-pytorch, thereby updating to 1.10.2.
---
gnu/packages/machine-learning.scm | 47 +--------------------------------------
1 file changed, 1 insertion(+), 46 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 2f7e1ac5d9..2067960720 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3034,52 +3034,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.9.0")
- (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
- "0cznsh68hwk5761gv7iijb4g6jgjpvs3bbixwpzzmkbkbn2q96c1"))
- (patches (search-patches
"python-pytorch-1.9.0-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"))
-
- ;; Adjust references to the onnx-optimizer headers.
- (substitute* "caffe2/onnx/backend.cc"
- (("onnx/optimizer/")
- "onnxoptimizer/"))))))
- (arguments
- (substitute-keyword-arguments (package-arguments python-pytorch)
- ((#:phases phases '%standard-phases)
- `(modify-phases ,phases
- ;; No module named 'onnx.optimizer'
- (delete 'sanity-check)))))))
+(define-public python-pytorch-for-r-torch python-pytorch)
(define-public python-hmmlearn
(package
- 68/112: gnu: r-latex2exp: Update to 0.9.3., (continued)
- 68/112: gnu: r-latex2exp: Update to 0.9.3., guix-commits, 2022/03/15
- 98/112: gnu: r-rsqlite: Update to 2.2.10., guix-commits, 2022/03/15
- 93/112: gnu: r-yaml: Update to 2.3.5., guix-commits, 2022/03/15
- 78/112: gnu: r-mlr3: Update to 0.13.2., guix-commits, 2022/03/15
- 79/112: gnu: r-mlr3tuning: Update to 0.12.0., guix-commits, 2022/03/15
- 97/112: gnu: r-brew: Update to 1.0-7., guix-commits, 2022/03/15
- 90/112: gnu: r-gdtools: Update to 0.2.4., guix-commits, 2022/03/15
- 104/112: gnu: r-tidyselect: Update to 1.1.2., guix-commits, 2022/03/15
- 109/112: gnu: r-vgam: Update to 1.1-6., guix-commits, 2022/03/15
- 09/112: gnu: r-v8: Update to 4.1.0., guix-commits, 2022/03/15
- 04/112: gnu: python-pytorch-for-r-torch: Reuse python-pytorch.,
guix-commits <=
- 20/112: gnu: r-generics: Update to 0.1.2., guix-commits, 2022/03/15
- 30/112: gnu: r-fst: Update to 0.9.8., guix-commits, 2022/03/15
- 31/112: gnu: r-rdpack: Update to 2.1.4., guix-commits, 2022/03/15
- 39/112: gnu: r-admisc: Update to 0.24., guix-commits, 2022/03/15
- 58/112: gnu: r-terra: Update to 1.5-21., guix-commits, 2022/03/15
- 59/112: gnu: r-showtext: Update to 0.9-5., guix-commits, 2022/03/15
- 62/112: gnu: r-rsvg: Update to 2.2.0., guix-commits, 2022/03/15
- 67/112: gnu: r-semplot: Update to 1.1.4., guix-commits, 2022/03/15
- 75/112: gnu: r-dials: Update to 0.1.0., guix-commits, 2022/03/15
- 81/112: gnu: r-pdftools: Update to 3.1.0., guix-commits, 2022/03/15