From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EE3/DG9p+2URcgEAe85BDQ:P1 (envelope-from ) for ; Wed, 20 Mar 2024 23:55:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EE3/DG9p+2URcgEAe85BDQ (envelope-from ) for ; Wed, 20 Mar 2024 23:55:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=guxVKaQ3; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710975343; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Qa3bIAu2EcNuyrLY7S+ZvYvDhEUHqKEJsiaUt2GDaOI=; b=T3gkylwCFoDntRcEM8BvvMHUkeGyH7GvPRecBReggCx29LR5tC2bXy56XpBlXDFfV9qAfS 9/pzf0kr6T5XNBHNEn1+hZSFlOA//q6l3mDnUcuCuMumdKhynWgiT/4Ee39GRXM0PHFGlv bU880HA2fKnj81cdilZk6giPqc8GTNEBONGQtqI/K9znpfXe7jeghcJVd7ijSoy/kEI59m HipkSmPV/W5DzYJtwx8Z9pklcugIreG2+qN+CJP95LkCWcjFjrqx5bmdRSeU98QJgNYX9K 5aquhsi82G7T/865MDnvfwXY6FNCcGpfyQD1s2yLgqzCWz74ympa96Mfc+b/dQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=guxVKaQ3; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710975343; a=rsa-sha256; cv=none; b=SsqjEpl2KOGRMD6BGH7IKbswuS03ubrlV+v0Yc3w3V5vS/fNw7NKG/Ohr+C9xMV7rKl+tP cj21YeTrxuJBdx6lrH2LCx3dfmysW5VkUxbHoHG+B0P20Re3AZIlSp7VwG9tZ+Z0qXEqmP w8dW39N79ktgE/4hhUgaqZRGtjfEqlm1hl4cGuGZBt2LpGT2ewxgFGZlmBchkDWZcGRZm7 VmZrfG4wu4Y42GG4zklvsS3VwU6xYYyhLOAfE39UOfpiWPYAiBNesvH8OLxZXdc+U++z+G GAdAYtb5prgpubH4z0Fmb6eUMu4nc7NO2Knmso8A+tnJo3FlQj8TQ3nVD80DZg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 14CE3640A4 for ; Wed, 20 Mar 2024 23:55:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rn4bx-00062c-O9; Wed, 20 Mar 2024 18:40:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rn4bn-0005xX-4j for guix-patches@gnu.org; Wed, 20 Mar 2024 18:40:31 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rn4bm-0007cg-Qd for guix-patches@gnu.org; Wed, 20 Mar 2024 18:40:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rn4cP-0006Dv-9y for guix-patches@gnu.org; Wed, 20 Mar 2024 18:41:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH v3 18/32] gnu: Add tensorpipe. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Mar 2024 22:41:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69591@debbugs.gnu.org Cc: David Elsing Received: via spool by 69591-submit@debbugs.gnu.org id=B69591.171097443223606 (code B ref 69591); Wed, 20 Mar 2024 22:41:09 +0000 Received: (at 69591) by debbugs.gnu.org; 20 Mar 2024 22:40:32 +0000 Received: from localhost ([127.0.0.1]:36817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn4bn-00068Z-RX for submit@debbugs.gnu.org; Wed, 20 Mar 2024 18:40:32 -0400 Received: from mout01.posteo.de ([185.67.36.65]:52917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn4bN-00063L-RS for 69591@debbugs.gnu.org; Wed, 20 Mar 2024 18:40:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9DDBB240027 for <69591@debbugs.gnu.org>; Wed, 20 Mar 2024 23:39:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710974360; bh=bh718rB5oey+ubFaQGioBmfI8PdJxlfFPaJnsCT15Ss=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=guxVKaQ3gqkud5dZRyDoR7lqngCdYDjsIUbBnMKmaM2l3eInpaGl5608cXkX/x/wo 6Tf/IYDn6jqh4zaC1hwQ8SwCoNIyMgkT/E6eOPxJ4koh2sJR4hCLPFcgapCreAINmB rof+eCQaNHb4qLfp0vqH0fj/SCZR68WP1/4flJ+Fv7YhPbTbxAE5mbxNBQyDhi58K6 io4OBdJGkwFWyCr+5/yrWRRipHMT3LxsgbYogOGfSL86Yua0zljLDqRVMk3vO6M0/+ 7UX6eAGQzReetSv/gPa4f0oPSN2i5siCfgQjYzXhKw6PdcYsJ4JeVsPJd+P9JoriQL HeJPiJY2Dvmvg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V0Nn42Q2Hz6tsf; Wed, 20 Mar 2024 23:39:20 +0100 (CET) From: David Elsing Date: Wed, 20 Mar 2024 22:38:43 +0000 Message-ID: <20240320223906.13214-18-david.elsing@posteo.net> In-Reply-To: <20240320223737.12883-1-david.elsing@posteo.net> References: <20240320223737.12883-1-david.elsing@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.92 X-Spam-Score: -3.92 X-Migadu-Queue-Id: 14CE3640A4 X-Migadu-Scanner: mx12.migadu.com X-TUID: wVHt8DWSJZ/u * 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