From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 6OrJIZhS/2VvzwAAqHPOHw:P1 (envelope-from ) for ; Sat, 23 Mar 2024 23:07:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6OrJIZhS/2VvzwAAqHPOHw (envelope-from ) for ; Sat, 23 Mar 2024 23:07:20 +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=kGtIJXdm; 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=1711231640; a=rsa-sha256; cv=none; b=Ic9JrBI4jmT+yHvkMwjaZts1Aqrsfn6TulY5nDALS4HdQzjH831fPSw7+8m1nyINXtW7Dj xsfwDJ6hy3BV3Wmk6Ex9K0IQds7H5MD7zD9CIA8D8uLoF0hx6733CCjcZTkS0Vjv30zGhB pjTTtYcae743wpCZrK3R2sYzInHoR0tO0FinItKjED+8ZDJp5KvA3jwNrRJiwLP2XAsZuX CQwhOCPyM/qSHa8ZY2b9i2xHyi49+BFpNZdWWoC3CrfmVmRWrSpbE7EqrZxUe9LL4RRcMK v9jsZyF2vYKyRdEeqLxTuJdjW1q/VXLhp+1pYqsxzWvn538rQ+7F9fK0us4xEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=kGtIJXdm; 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=1711231640; 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=0cuur/CozdDBdxtYmnzUzMblZ7tHNnyvjNOFGyUfEi4=; b=ELIXzt8tFXaexU6uK+HK1/cb0zCaCMUG8/GbMO3op3egSpzzQL3Ett3sfY0uPs3aDJVPWb 7E0zbl/fuWkRNBHEnAEfscasEKKNH/J0Qr9SoiZNskH8LMBxD7w+qjnVbWuOnhNFWKOQ75 xuzjwO3dzJvlM6HIb207B/pkucnlW/DyKqZeJgnotlRIaZ6Y8BS/e6JFR2Y4WzdpejCpvc 96iBzVLT2vb8wjSdYBiMoyrhOdL9LvpYhffo6ZVlLlBWqYfRwJ5s3fYNaRgRPy4W7P7wDV 5z8+giQ8IcfedKqmGN2j1edoQnBMJ06tbMgZs3kf7SM1bKH6g2cQw7DLuAFBvQ== 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 6FCF736149 for ; Sat, 23 Mar 2024 23:07:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ro9VT-00053A-M8; Sat, 23 Mar 2024 18:06:27 -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 1ro9VP-00050F-Fn for guix-patches@gnu.org; Sat, 23 Mar 2024 18:06:23 -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 1ro9VP-00080o-4o for guix-patches@gnu.org; Sat, 23 Mar 2024 18:06:23 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ro9W4-0006T4-H2 for guix-patches@gnu.org; Sat, 23 Mar 2024 18:07:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH v4 27/32] gnu: Add python-pytorch-avx. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Mar 2024 22:07:04 +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.171123161124754 (code B ref 69591); Sat, 23 Mar 2024 22:07:04 +0000 Received: (at 69591) by debbugs.gnu.org; 23 Mar 2024 22:06:51 +0000 Received: from localhost ([127.0.0.1]:56609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ro9Vq-0006R5-Cf for submit@debbugs.gnu.org; Sat, 23 Mar 2024 18:06:50 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ro9VM-0006OH-8E for 69591@debbugs.gnu.org; Sat, 23 Mar 2024 18:06:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 28921240028 for <69591@debbugs.gnu.org>; Sat, 23 Mar 2024 23:05:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711231535; bh=XrakZnI9yeXL+GBvFr2lUcBpIH/qnH3H8HNQrEUynXM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=kGtIJXdmdkugWgt7PbiWDM0mcY8MLBYToqcnNMrtKqnCQ7iIix1AfjJjVyJZynbYd FdmvZFgZKUQwvmdE97Nc6PCkMTrQwdvHUli1gHg8CZKFHtgInLjJRDZuZtyH9d9UiH tIdUvNMb/V47lv0Jqp6jt7Am8qjpm0CtJLEMFFXbNC49oJIWGcPThkNkXqEEtqbacn pafD+cl7Pund7HqXF+VLYc/4QPxX5YD75JHyAapdPSmIhPdX1t5QN5wnGxxqscABpR PBiIHky9X80O8oTJpzQxSNRIVzqNHWQc9TiIq2C5mEAxYZ5b4KejcKlRSz4pX8nCLv ajU9I8co+VTiA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V2Ctk69bmz6tm4; Sat, 23 Mar 2024 23:05:34 +0100 (CET) From: David Elsing Date: Sat, 23 Mar 2024 22:05:06 +0000 Message-ID: <20240323220518.25063-27-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 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 3.97 X-Migadu-Queue-Id: 6FCF736149 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 3.97 X-TUID: cLCeBdlANNrT * 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