[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69591] [PATCH v4 31/32] gnu: Add qnnpack-pytorch-for-r-torch.
From: |
David Elsing |
Subject: |
[bug#69591] [PATCH v4 31/32] gnu: Add qnnpack-pytorch-for-r-torch. |
Date: |
Sat, 23 Mar 2024 22:05:10 +0000 |
* gnu/packages/machine-learning.scm (%python-pytorch-for-r-torch-version): New
variable.
(%python-pytorch-for-r-torch-src): New variable.
(qnnpack-pytorch-for-r-torch): New variable.
---
gnu/packages/machine-learning.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index ae17869adc..834de52fa1 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4743,6 +4743,34 @@ (define-public python-pytorch-avx
(delete 'disable-avx-dependencies)))))
(supported-systems '("x86_64-linux"))))
+(define %python-pytorch-for-r-torch-version "2.0.1")
+
+(define %python-pytorch-for-r-torch-src
+ (origin
+ (inherit %python-pytorch-src)
+ (uri (git-reference
+ (url "https://github.com/pytorch/pytorch")
+ (commit (string-append "v" %python-pytorch-for-r-torch-version))))
+ (file-name (git-file-name "python-pytorch"
+ %python-pytorch-for-r-torch-version))
+ (sha256
+ (base32
+ "0iirrn687i7sfv0p0i7dn89x3rf13a7l8y1y5h190h51yjxpxqxa"))))
+
+(define-public qnnpack-pytorch-for-r-torch
+ (package
+ (inherit qnnpack-pytorch)
+ (version (string-append "pytorch-" %python-pytorch-for-r-torch-version))
+ (source
+ (origin
+ (inherit %python-pytorch-for-r-torch-src)
+ (patches '())
+ (modules '((guix build utils)
+ (srfi srfi-26)
+ (ice-9 ftw)))
+ (snippet
+ (origin-snippet (package-source qnnpack-pytorch)))))))
+
(define-public python-pytorch-for-r-torch
(package
(inherit python-pytorch)
--
2.41.0
- [bug#69591] [PATCH v4 00/32] Unbundle and update python-pytorch, (continued)
- [bug#69591] [PATCH v4 00/32] Unbundle and update python-pytorch, David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 20/32] gnu: Add qnnpack., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 21/32] gnu: Add foxi., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 22/32] gnu: Add ideep-pytorch., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 25/32] gnu: Add qnnpack-pytorch., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 16/32] gnu: nnpack: Update to commit 70a77f4., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 28/32] gnu: python-torchvision: Update to 0.17.1., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 30/32] gnu: Add oneapi-dnnl-for-r-torch., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 27/32] gnu: Add python-pytorch-avx., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 19/32] gnu: Add fbgemm., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 31/32] gnu: Add qnnpack-pytorch-for-r-torch.,
David Elsing <=
- [bug#69591] [PATCH v4 24/32] gnu: Remove xnnpack-for-torch2., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 29/32] gnu: Add ideep-pytorch-for-r-torch., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 02/32] gnu: Add python-typing-extensions-4.10., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 07/32] gnu: Add python-pytest-rerunfailures-13., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 15/32] gnu: clog: Add "-DUSE_SYSTEM_LIBS=ON" configure flag., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 10/32] gnu: Add libnop., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 12/32] gnu: python-flatbuffers-next: Update to 23.5.26., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 23/32] gnu: xnnpack: Update to commit 51a9875., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 32/32] gnu: python-pytorch-for-r-torch: Adjust to new python-pytorch., David Elsing, 2024/03/23
- [bug#69591] [PATCH v4 11/32] gnu: Remove flatbuffers-next-shared., David Elsing, 2024/03/23