From patchwork Sun Aug 4 21:53:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 2743 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 3BC3A27BBEA; Sun, 4 Aug 2024 23:14:02 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham 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 E749627BBE2 for ; Sun, 4 Aug 2024 23:13:59 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sajTz-0007BG-6R; Sun, 04 Aug 2024 18:13:43 -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 1sajTx-0007B8-9F for guix-patches@gnu.org; Sun, 04 Aug 2024 18:13:41 -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 1sajTw-0000LW-WA for guix-patches@gnu.org; Sun, 04 Aug 2024 18:13:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=AI0yYc9GJBsu1u57yT/2lG5CHjZvqilntw/7oXfYJr0=; b=NvmmiejR/47VxWzSMIWfNIYEwG2UzfTAvs7pToxt0Vmkh5ZC25LwFJGgDZiuQnJAmKADwI2cGbaMN6rJdWNCsrrH9MfBYJJRPyH9hwKv1ceA/YoN8E17wWGxj7qQnc4mw+Om5JgMASS1owYMZCDiPYyK3fc2TbUw3mBgzfY0XtmSw7Ats3RKV9zRADL6fzuFphngk+heGeXvQjtM+uRPh2FjcI92N1nqKojhrEHKSUnwfQUoEwWKD7l0ptXBuuTLB1ilXd4+PbMHTnJQBXZMl7s4i13oWSQmoqI6UQZ9nkZ+8i1HskQcAJR0MU+fi90lxl8X8lygwa6fmQSpN2wd9g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sajUI-00045j-3G for guix-patches@gnu.org; Sun, 04 Aug 2024 18:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72471] [PATCH 00/24] Update PyTorch and dependencies Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Aug 2024 22:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72471@debbugs.gnu.org Cc: David Elsing X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172280959915583 (code B ref -1); Sun, 04 Aug 2024 22:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Aug 2024 22:13:19 +0000 Received: from localhost ([127.0.0.1]:57458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sajTa-00043G-Ki for submit@debbugs.gnu.org; Sun, 04 Aug 2024 18:13:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:39314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sajTX-00042z-QF for submit@debbugs.gnu.org; Sun, 04 Aug 2024 18:13:16 -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 1sajTB-00076r-SF for guix-patches@gnu.org; Sun, 04 Aug 2024 18:12:53 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sajT9-0000Hq-JN for guix-patches@gnu.org; Sun, 04 Aug 2024 18:12:53 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4439F240101 for ; Mon, 5 Aug 2024 00:12:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1722809565; bh=MRbEhJpOx29qcO6UT7220rSk/kVwkMQLErXaXuNoY2c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=c88ogZ4NYs/o8JeUwTiLdWbrRcrojmiUBMQPVfBh7l2MagmTCPz5xSjgZOapR4cwJ V4Heq2rtSh8+9IahgyzdLhOP/SfzjUtQvqFKBO4QWxuTjTZbffdAVF71yr3k5UR7Sm zwdYuIvYgNTE8FC9ZnexuhREKR6JHEs+HJnFPp4vggyQpO7gKDY+gOorv3mnpWlvpa 2twJh7HjtQDueZ2JhxuDctkWQaG6XjKkbIeYw5pspUzKG1hOeoMRYqYElkxzagHyrl U/HaZOHwrvCex4ztw7v3iuH667ewyOkG3ne7PHeUsw4mKWklgBzfA7TDWQ/nR5dlpZ ECjT6iBJB8UlA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WcYj82j1rz9rxF; Mon, 5 Aug 2024 00:12:44 +0200 (CEST) From: David Elsing Date: Sun, 4 Aug 2024 21:53:42 +0000 Message-ID: <20240804220847.15842-1-david.elsing@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=david.elsing@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 Hello, this patch series updates python-pytorch to version 2.4.0 and some of its dependencies and dependent packages. I noticed that on Linux, upstream does not support 32-bit architectures anyway, so I set supported-systems to x86_64-linux and aarch64-linux, but tested only the former. For onnx and onnx-optimizer, I referenced the patches in https://issues.guix.gnu.org/65630 and therefore added a "Co-authored-by" line for Andy Tai. Is that correct to do? r-torch still depends on version 2.0.1 of PyTorch, so it is kept. Cheers, David David Elsing (24): gnu: asmjit: Update to commit 062e69c. gnu: Remove python-typing-extensions-4.10. gnu: python-optree: Update to 0.11.0. gnu: flatbuffers-next: Update to 24.3.25. gnu: pthreadpool: Update to commit 560c60d. gnu: cpuinfo: Update to commit 05332fd. gnu: nnpack: Depend on python-peachpy only for x86_64. gnu: oneapi-dnnl: Update to 3.5.3. gnu: fbgemm: Update to 0.7.0. gnu: xnnpack: Update to commit 08f1489. gnu: Add xnnpack-for-r-torch. gnu: python-nbval: Update to 0.11.0. gnu: Add python-parameterized-next. gnu: Remove onnx-optimizer-for-torch2. gnu: Remove onnx-for-torch2. gnu: onnx: Update to 1.16.2. gnu: onnx-optimizer: Update to 0.3.19. gnu: gloo: Update to commit 81925d1. gnu: cpp-httplib: Update to 0.16.0. gnu: python-pytorch: Update to 2.4.0. gnu: python-torchvision: Update to 0.19.0. gnu: python-lightning-utilities: Update to 0.11.6. gnu: python-torchmetrics: Update to 1.4.1. gnu: python-pytorch-lightning: Update to commit 2064887. gnu/local.mk | 3 - gnu/packages/check.scm | 22 + gnu/packages/cpp.scm | 8 +- gnu/packages/machine-learning.scm | 778 +++-- gnu/packages/parallel.scm | 16 +- .../onnx-optimizer-system-library.patch | 60 +- .../patches/onnx-shared-libraries.patch | 18 +- .../patches/onnx-skip-model-downloads.patch | 16 +- .../patches/onnx-use-system-googletest.patch | 57 - .../patches/python-pytorch-fix-codegen.patch | 26 +- .../patches/python-pytorch-runpath.patch | 19 +- .../python-pytorch-system-libraries.patch | 122 +- .../python-pytorch-without-kineto.patch | 10 +- .../patches/xnnpack-remove-broken-tests.patch | 337 --- .../patches/xnnpack-system-libraries.patch | 2660 ----------------- gnu/packages/python-build.scm | 12 - gnu/packages/python-check.scm | 27 +- gnu/packages/python-xyz.scm | 9 +- gnu/packages/serialization.scm | 4 +- 19 files changed, 641 insertions(+), 3563 deletions(-) delete mode 100644 gnu/packages/patches/onnx-use-system-googletest.patch delete mode 100644 gnu/packages/patches/xnnpack-remove-broken-tests.patch delete mode 100644 gnu/packages/patches/xnnpack-system-libraries.patch