[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69591] [PATCH v3 18/32] gnu: Add tensorpipe.
From: |
David Elsing |
Subject: |
[bug#69591] [PATCH v3 18/32] gnu: Add tensorpipe. |
Date: |
Wed, 20 Mar 2024 22:38:43 +0000 |
* gnu/packages/machine-learning.scm (tensorpipe): New variable.
---
gnu/packages/machine-learning.scm | 36 +++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 5806de8891..c39dccbe77 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -91,6 +91,7 @@ (define-module (gnu packages machine-learning)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages jupyter)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
@@ -4093,6 +4094,41 @@ (define-public xnnpack-for-torch2
"-DXNNPACK_BUILD_TESTS=FALSE" ;FIXME: see
below
"-DXNNPACK_BUILD_BENCHMARKS=FALSE"))))))
+(define-public tensorpipe
+ (let ((commit "bb1473a4b38b18268e8693044afdb8635bc8351b")
+ (revision "0"))
+ (package
+ (name "tensorpipe")
+ (version (git-version "0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pytorch/tensorpipe")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0sbpkd69rzybw2j89sjkf4s0j8vkk96d51bsps28894989a75j6v"))
+ (modules '((guix build utils)))
+ (snippet
+ '(delete-file-recursively "third_party"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ ''("-DBUILD_SHARED_LIBS=ON")
+ ;; There are no tests
+ #:tests? #f))
+ (inputs (list libuv))
+ (native-inputs (list googletest pkg-config pybind11 libnop))
+ (home-page "https://github.com/pytorch/tensorpipe")
+ (synopsis "Tensor-aware point-to-point communication primitive for
+machine learning")
+ (description "TensorPipe provides a tensor-aware channel to transfer
+rich objects from one process to another while using the fastest transport for
+the tensors contained therein.")
+ (license license:bsd-3))))
+
;; Please also update python-torchvision when updating this package.
(define-public python-pytorch
(package
--
2.41.0
- [bug#69591] [PATCH v3 06/32] gnu: Add python-expecttest., (continued)
- [bug#69591] [PATCH v3 06/32] gnu: Add python-expecttest., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 08/32] gnu: Add miniz., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 11/32] gnu: Remove flatbuffers-next-shared., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 10/32] gnu: Add libnop., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 09/32] gnu: Add miniz-for-pytorch., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 12/32] gnu: python-flatbuffers-next: Update to 23.5.26., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 15/32] gnu: clog: Add "-DUSE_SYSTEM_LIBS=ON" configure flag., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 17/32] gnu: oneapi-dnnl: Update to 3.3.5., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 29/32] gnu: Add ideep-pytorch-for-r-torch., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 13/32] gnu: pthreadpool: Update to commit 178e3e0., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 18/32] gnu: Add tensorpipe.,
David Elsing <=
- [bug#69591] [PATCH v3 16/32] gnu: nnpack: Update to commit 70a77f4., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 20/32] gnu: Add qnnpack., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 14/32] gnu: cpuinfo: Update to commit aa4b216., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 23/32] gnu: xnnpack: Update to commit 51a9875., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 21/32] gnu: Add foxi., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 31/32] gnu: Add qnnpack-pytorch-for-r-torch., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 25/32] gnu: Add qnnpack-pytorch., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 24/32] gnu: Remove xnnpack-for-torch2., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 22/32] gnu: Add ideep-pytorch., David Elsing, 2024/03/20
- [bug#69591] [PATCH v3 27/32] gnu: Add python-pytorch-avx., David Elsing, 2024/03/20