From patchwork Sat Aug 3 21:04:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 66634 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 7368F27BBE9; Sat, 3 Aug 2024 22:06:09 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 6CA2227BBE2 for ; Sat, 3 Aug 2024 22:06:08 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saLwi-0003Yj-Kp; Sat, 03 Aug 2024 17:05:48 -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 1saLwd-0003Xe-8W for guix-patches@gnu.org; Sat, 03 Aug 2024 17:05:43 -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 1saLwc-0007X2-Uv for guix-patches@gnu.org; Sat, 03 Aug 2024 17:05:42 -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:In-Reply-To:References:Subject; bh=o20ZO0mgcsdGhcM+BBDCAKPlyLNxRdtjWRVRejZ/x64=; b=UXf6LUEIDTXku8jLC7VJ00un7I9nBNv4+qGirZ17oTEPNoo2YYcEl55w5IauuTVDzQiFUy8fGzm8kvupk7VYZSnUpa/Dk0Xk9j3h5It6RKA3Y3r1C2nGQiM079HKhZo4rZtATRurxu0Gh4uZ7++Z3MUuVWzE83QoJjbWCj45kD5cDG5TMx4eK/aYC9Jahf+S/EhSe9Q1NZP+SEFr3kxXnG0YN5mAmzSTwJlBGvhQvItNWbpT+KKbmImtJJQlFnHHpJDD1ea898JGGee3wJ3P38mZktTkgZ+YhMoRujgXfRCIINGWFT0GgciMQzgQo/RzsEajDuI9CfIW5GdtxnS6lw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saLww-00075C-1l for guix-patches@gnu.org; Sat, 03 Aug 2024 17:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72432] [PATCH 1/2] gnu: Add dlpack. References: <20240802231617.8650-1-ngraves@ngraves.fr> In-Reply-To: <20240802231617.8650-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Aug 2024 21:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72432@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 72432-submit@debbugs.gnu.org id=B72432.172271911627096 (code B ref 72432); Sat, 03 Aug 2024 21:06:02 +0000 Received: (at 72432) by debbugs.gnu.org; 3 Aug 2024 21:05:16 +0000 Received: from localhost ([127.0.0.1]:54868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saLwB-00072y-Qb for submit@debbugs.gnu.org; Sat, 03 Aug 2024 17:05:16 -0400 Received: from 13.mo583.mail-out.ovh.net ([87.98.182.191]:54637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saLw7-00072T-Qb for 72432@debbugs.gnu.org; Sat, 03 Aug 2024 17:05:14 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.140.207]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4WbwFF5v3Bz1Jf8 for <72432@debbugs.gnu.org>; Sat, 3 Aug 2024 21:04:49 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-v4rbb (unknown [10.108.54.132]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 620CB1FD42; Sat, 3 Aug 2024 21:04:49 +0000 (UTC) Received: from ngraves.fr ([37.59.142.108]) by ghost-submission-6684bf9d7b-v4rbb with ESMTPSA id jX2QE3GbrmZ4MQAAHIcBgQ (envelope-from ); Sat, 03 Aug 2024 21:04:49 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-108S002c7658b4d-e0fe-4e76-a77e-043b2ab08419, E34AFB2340764F5F567B5510BD420AC790156C9A) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.110.172.34 Date: Sat, 3 Aug 2024 23:04:36 +0200 Message-ID: <20240803210441.7297-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Ovh-Tracer-Id: 11200733752226931426 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrkedvgdduheeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeffefhfffhjeevleeuvdehgffgveekheeuhfekhfehuefgheffhedugfegleeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdduuddtrddujedvrdefgedpfeejrdehledrudegvddruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedvgeefvdesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=o20ZO0mgcsdGhcM+BBDCAKPlyLNxRdtjWRVRejZ/x64=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1722719090; v=1; b=DQ8zqyK4DIORI2q3pYcRW5Lz8GY9mI8kxbPKKjN8xyABlFHWFd6NjnjiGvdHTFyNLqBkqunP D3tij+EEJ93DXi/5nB2AR7l+L9ry+a1LSGFv5OnKepC7JggSCPzNU2tZ2Dct17IZP72e8+kfgI4 pq00ZB/cSVCxmErzUOwa/X5UDCydxt61W66YPFmdZOnwzHe9kURgcg2mRGlo+tV+OJ57ybrRRLr WfZU7DbI5CxDHUZ4uZzRcv4raSl8Xu8YeUhWdJGBbXNadFY0ppVHYoeZtpJN9eCLfXudB/u/27x cSL5l32C1slf6H2VftwS0sU3uBM7yKGs9iVTzNnq9t72w== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 (dlpack): New variable. Change-Id: I9223e5c3b8f8317f88954cfdaccdfa11a51b7167 --- gnu/packages/machine-learning.scm | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 4c5b713cbf..600e111594 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -133,6 +133,40 @@ (define-module (gnu packages machine-learning) #:use-module (gnu packages xorg) #:use-module (ice-9 match)) +(define-public dlpack + (package + (name "dlpack") + (version "0.8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dmlc/dlpack") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jmfvdrx8dn9b0ksm04ixha0jnrk35ip796qg98kfz6g7niw5ir1")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f)) ; no tests. + (home-page "https://github.com/dmlc/dlpack") + (synopsis "In Memory Tensor Structure") + (description "This package provides an open in-memory tensor structure for +sharing tensors among frameworks. DLPack enables +@itemize +@item Easier sharing of operators between deep learning frameworks. +@item Easier wrapping of vendor level operator implementations, allowing +collaboration when introducing new devices/ops. +@item Quick swapping of backend implementations, like different version of +BLAS +@item For final users,this could bring more operators, and possibility of +mixing usage between frameworks. +@end itemize + +This package does not intend to implement Tensor and Ops, but instead use this +as common bridge to reuse tensor and ops across frameworks.") + (license license:asl2.0))) + (define-public fasttext (package (name "fasttext") From patchwork Sat Aug 3 21:04:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 66633 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 9E04427BBE9; Sat, 3 Aug 2024 22:05:54 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 0D33F27BBE2 for ; Sat, 3 Aug 2024 22:05:53 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saLwh-0003Xw-Gx; Sat, 03 Aug 2024 17:05:47 -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 1saLwd-0003Xd-6M for guix-patches@gnu.org; Sat, 03 Aug 2024 17:05:43 -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 1saLwc-0007X5-SY for guix-patches@gnu.org; Sat, 03 Aug 2024 17:05:42 -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:References:In-Reply-To:Date:From:To:Subject; bh=TOcyuafobtZAdWTsXpm69KmhPIxw5A2mlojsWs4NhQc=; b=rJ+tysN+xxrnAchsR7TI75bHLqwpGLLGE6MxA41hYv3VeC5IoTVkVfPZFyjGCndk+VEZlkhePaeRGvgwjpemLej9tvCyTju1LCqHho1JuNifzoOGlTJAce3tuWq2ktHfSaZQGjuGy9VZMjwyMoIqaZw2oUr0kjmZ195vmgAUkA96VCyddgShORLB9Wx9+ZvzQ3aIvK4o2Ytm86g4E60E7B2PwkSn5d7T+FfC16dkmlJPydIqJ7hXgq4VWipFz4dwYJjKooXNlRyjgmQEucp8A606DKY6PT1Qu6W+SnrBU4vv0xBPMHvc6tYFiQQrT/OFUn5pH/QuyGVoaf939MR70Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saLww-00075K-Gr for guix-patches@gnu.org; Sat, 03 Aug 2024 17:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72432] [PATCH 2/2] gnu: Add python-pyclibrary. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Aug 2024 21:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72432@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 72432-submit@debbugs.gnu.org id=B72432.172271911827111 (code B ref 72432); Sat, 03 Aug 2024 21:06:02 +0000 Received: (at 72432) by debbugs.gnu.org; 3 Aug 2024 21:05:18 +0000 Received: from localhost ([127.0.0.1]:54870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saLwE-00073D-5B for submit@debbugs.gnu.org; Sat, 03 Aug 2024 17:05:18 -0400 Received: from 4.mo560.mail-out.ovh.net ([87.98.172.75]:55325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saLwA-00072f-5Z for 72432@debbugs.gnu.org; Sat, 03 Aug 2024 17:05:15 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.25.252]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4WbwFJ5fGrz1LqS for <72432@debbugs.gnu.org>; Sat, 3 Aug 2024 21:04:52 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-87dg2 (unknown [10.110.188.251]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 46D7E1FDBD; Sat, 3 Aug 2024 21:04:51 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-6684bf9d7b-87dg2 with ESMTPSA id h6PmOXObrmaaLQIAdGTL/w (envelope-from ); Sat, 03 Aug 2024 21:04:51 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G00250abfcde-6885-4873-b7d5-32ca935e0433, E34AFB2340764F5F567B5510BD420AC790156C9A) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 90.110.172.34 Date: Sat, 3 Aug 2024 23:04:37 +0200 Message-ID: <20240803210441.7297-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240803210441.7297-1-ngraves@ngraves.fr> References: <20240803210441.7297-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 11201578174647558882 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrkedvgdduheehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpledtrdduuddtrddujedvrdefgedpfeejrdehledrudegvddrleejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejvdegfedvseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=TOcyuafobtZAdWTsXpm69KmhPIxw5A2mlojsWs4NhQc=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1722719092; v=1; b=AL1RQdX8mEYL72W1NrOuS3LYzLLsVJ8EzffsBQ7ggyhLFA0YMFODgXTeEFbWJIbej8SKFhHi kcw+5k+jxhuhHVkZfxQRZSorPm5qG5xTj4wvwEHx2E2M6nHiWkZvkvy/G6xGFhNYRb6mX6wXIZl TPbldVB7oCDZHqsCuqw46w3/Cf+UPQ+XmZQWpXG6sot87FiMlpkK+aafG7mczoWO0KJ06f3BnEC YVau42EcSeON5dfgQnMDdojc0/Puf456cUSjk+3V2djJlW/nf3RQSMzvZCwpWDN7uXjnCqUKpL/ 8VnZNS2Aw04L3j0koHpyKKrIqajcparaRrbgb0fq4+47g== 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/python-xyz.scm (python-pyclibrary): New variable. Change-Id: Ib4d1bf9f265fc1935c432d8e4ed3e9704f03ba70 --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d09c16b73e..9dc941ca84 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25937,6 +25937,32 @@ (define-public python-setuptools-rust Rust Python extensions implemented with @code{PyO3} or @code{rust-cpython}.") (license license:expat))) +(define-public python-pyclibrary + (package + (name "python-pyclibrary") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/MatthieuDartiailh/pyclibrary") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0scnfk0dr8za1m7k1ml74dr8sg570sgs3hmis7fl27s2h1dbsapk")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ; XXX: 1/3rd of tests are failing, find out why. + (native-inputs (list python-pytest)) + (propagated-inputs (list python-pyparsing-2.4.7)) + (home-page "http://github.com/MatthieuDartiailh/pyclibrary") + (synopsis "Wrap dynamic libraries in Python") + (description "This package provides a library to make wrapping dynamic +libraries in Python less cumbersome and more user friendly. It includes a +pure-Python C parser and an automation library that uses C header file +definitions to simplify the use of C bindings.") + (license license:expat))) + (define-public python-pyclipper (package (name "python-pyclipper")