From patchwork Sat Mar 23 22:05:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 62161 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 399DF27BBEA; Sat, 23 Mar 2024 22:07:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 809E327BBE9 for ; Sat, 23 Mar 2024 22:07:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ro9VQ-00050V-AL; Sat, 23 Mar 2024 18:06:24 -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 1ro9VO-0004zx-SV for guix-patches@gnu.org; Sat, 23 Mar 2024 18:06:22 -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 1ro9VO-00080c-Je for guix-patches@gnu.org; Sat, 23 Mar 2024 18:06:22 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ro9W3-0006Sp-Gs for guix-patches@gnu.org; Sat, 23 Mar 2024 18:07:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH v4 22/32] gnu: Add ideep-pytorch. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Mar 2024 22:07:03 +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.171123160924737 (code B ref 69591); Sat, 23 Mar 2024 22:07:03 +0000 Received: (at 69591) by debbugs.gnu.org; 23 Mar 2024 22:06:49 +0000 Received: from localhost ([127.0.0.1]:56604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ro9Vo-0006Ql-Vb for submit@debbugs.gnu.org; Sat, 23 Mar 2024 18:06:49 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ro9VL-0006OR-6B for 69591@debbugs.gnu.org; Sat, 23 Mar 2024 18:06:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2CCD4240103 for <69591@debbugs.gnu.org>; Sat, 23 Mar 2024 23:05:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711231532; bh=NiKgTxGEUrdkD0uOx4qVl0WXJnq4AQKN/aU6+Hvq74I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=JyCciPlSFT5Jdzi6syhZBzzlZJthPmsyDZPoNSw215tIQodGfI32L/PpbiebQD/aE ZyyrNzx3Xhg69I0gWnXGB37ptirNDXfMS5CZSxrtK/5wJW0Ju0GdG9vGaYFazRnJHb caiSMGKU8zXX4CNervVAqo2OpU9T1DCuAwpVG4AH9KcaxDAgpBLlxj2Gp7BDfQ01bd OoGkoSRHQhDIcz/xRLZMYreEECR9iuOCNc6SHif5358/2YGaN2+Ity7j3axFGf/FgL JEpq9NsXLLitIIPIrtLPoFybO1uLYvo5Vwqb7HWHNYSPZXJ1QU8HAe/lB/LvBUudlQ ExV3J+KzXjBiQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V2Ctg6555z6tm4; Sat, 23 Mar 2024 23:05:31 +0100 (CET) From: David Elsing Date: Sat, 23 Mar 2024 22:05:01 +0000 Message-ID: <20240323220518.25063-22-david.elsing@posteo.net> In-Reply-To: <20240323214040.20221-1-david.elsing@posteo.net> References: <20240323214040.20221-1-david.elsing@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/machine-learning.scm (ideep-pytorch): New variable. --- gnu/packages/machine-learning.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 5dc0a48b12..2aaa342a66 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -52,6 +52,7 @@ (define-module (gnu packages machine-learning) #:use-module (guix download) #:use-module (guix svn-download) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system ocaml) #:use-module (guix build-system pyproject) @@ -4243,6 +4244,31 @@ (define-public foxi contains facebook extensions and is used by PyTorch.") (license license:expat)))) +(define-public ideep-pytorch + (package + (name "ideep-pytorch") + (version "3.3.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/intel/ideep") + (commit (string-append "pytorch-rls-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y6r938qryi3bnf15rp0fbilsfimdcgmvsa0ygwrn3zifw6386rb")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + ''(("include" "include")))) + (home-page "https://github.com/intel/ideep") + (synopsis "Ideep headers for interal use by PyTorch") + (description "This library is used internally as header-only library by +PyTorch.") + (license license:expat))) + ;; Please also update python-torchvision when updating this package. (define-public python-pytorch (package