[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69591] [PATCH v4 27/32] gnu: Add python-pytorch-avx.
From: |
David Elsing |
Subject: |
[bug#69591] [PATCH v4 27/32] gnu: Add python-pytorch-avx. |
Date: |
Sat, 23 Mar 2024 22:05:06 +0000 |
* gnu/packages/machine-learning.scm (python-pytorch-avx): New variable.
---
gnu/packages/machine-learning.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index bcd1c26838..59b344aef2 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -4713,6 +4713,21 @@ (define-public python-pytorch
Note: currently this package does not provide GPU support.")
(license license:bsd-3)))
+;; This package variant includes the dependencies requiring at least AVX2 or
+;; AVX-512.
+(define-public python-pytorch-avx
+ (package/inherit python-pytorch
+ (name "python-pytorch-avx")
+ (inputs
+ (modify-inputs (package-inputs python-pytorch)
+ (append fbgemm nnpack)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments python-pytorch)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (delete 'disable-avx-dependencies)))))
+ (supported-systems '("x86_64-linux"))))
+
(define-public python-pytorch-for-r-torch
(package
(inherit python-pytorch)
--
2.41.0
- [bug#69591] [PATCH v3 26/32] gnu: python-pytorch: Update to 2.2.1 and unbundle dependencies., (continued)
- [bug#69591] [PATCH v3 26/32] gnu: python-pytorch: Update to 2.2.1 and unbundle dependencies., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 32/32] gnu: python-pytorch-for-r-torch: Adjust to new python-pytorch., David Elsing, 2024/03/20
- [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 <=
- [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, 2024/03/23
- [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