GNU bug report logs - #73109
[PATCH 0/2] Add python-transformers

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Nicolas Graves <ngraves@HIDDEN>; Keywords: patch; dated Sat, 7 Sep 2024 16:56:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 73109 <at> debbugs.gnu.org:


Received: (at 73109) by debbugs.gnu.org; 10 Sep 2024 08:26:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 10 04:26:05 2024
Received: from localhost ([127.0.0.1]:34795 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1snwCL-00057C-56
	for submit <at> debbugs.gnu.org; Tue, 10 Sep 2024 04:26:05 -0400
Received: from 4.mo561.mail-out.ovh.net ([178.33.46.10]:36685)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1snwCH-00056k-TS
 for 73109 <at> debbugs.gnu.org; Tue, 10 Sep 2024 04:26:04 -0400
Received: from director7.ghost.mail-out.ovh.net (unknown [10.108.2.115])
 by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4X2xc339l8z1Jsc
 for <73109 <at> debbugs.gnu.org>; Tue, 10 Sep 2024 08:25:55 +0000 (UTC)
Received: from ghost-submission-55b549bf7b-dmwts (unknown [10.108.42.63])
 by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 412541FEB8;
 Tue, 10 Sep 2024 08:25:54 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.110])
 by ghost-submission-55b549bf7b-dmwts with ESMTPSA
 id uyyuMpEC4GaUHgAAzF9mKg
 (envelope-from <ngraves@HIDDEN>); Tue, 10 Sep 2024 08:25:54 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-110S004601f82c2-1753-4b77-8cb3-d9491af656ef,
 976DF2D209D219C6DCDCDF2BDA9CD06B7A33E122) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 81.67.146.208
From: Nicolas Graves <ngraves@HIDDEN>
To: jgart <jgart@HIDDEN>, 73109 <at> debbugs.gnu.org, herman@HIDDEN
Subject: Re: [bug#73109] [PATCH 0/2] Add python-transformers
In-Reply-To: <877cbkt7tq.fsf@HIDDEN>
References: <20240907165534.22367-1-ngraves@HIDDEN>
 <877cbkt7tq.fsf@HIDDEN>
Date: Tue, 10 Sep 2024 10:25:53 +0200
Message-ID: <87y13z7w4u.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Ovh-Tracer-Id: 185492012625617541
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeiledgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffujghffffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepieejgfffffduieevgfduiefhtdfgleejhfdvvefhgeekjeevtdfhtdefleejhefgnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfedutdelseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedupdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=nlNUNE1jy1Vw+jyc+iKaf78Plsgs4MS0ufhhlkiB2Ns=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1725956755; v=1;
 b=x3ULnTqU+5odpcMsfsefdwfFc5CH7N7wdS+zokTi4Idvxxes2qqgT6Dks4MtUEgIWXE8Ww80
 SxPMnWJ222cU/ulhDFMUvPP8rBQ6isNG7ajaOrldk/67jrGx3g4zhQiM4hoi0Zf4YxROgxptPyF
 c/EooeOENrk9d9Kmoi4ue8RESyu02oH7DOTTBsvTq3XieiMJXF1CKy+CfZI+c37IazO3PLoyu7A
 ksFAFkZu4Rty1/xYUMLJkgXRWReZJEttmrurLPplX1oWYbaBVIBxKszIz2p214alIfxufaKU+rt
 T24qhHF68N2BRYw9Rnpfp0709HXG8d5xAo4n1YAifaLEQ==
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 73109
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2024-09-10 00:07, jgart via Guix-patches via wrote:

> Hi,

Hi jgart, thanks!

>
> I applied the huggingface-hub update but the rest no longer applies.
>
> Can you rebase on latest and send a v2 with just python-transformers?
>

The python-tokenizers [73106] patches are also necessary before merging
python-transformers.

Herman Rimm has already reviewed the python-safetensors patches, these
are the same kind.

I'll resend a patch series for python-transformers once these blocking
patch series will be merged ;)

> Thanks!

-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches@HIDDEN:
bug#73109; Package guix-patches. Full text available.

Message received at 73109 <at> debbugs.gnu.org:


Received: (at 73109) by debbugs.gnu.org; 10 Sep 2024 05:08:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 10 01:08:02 2024
Received: from localhost ([127.0.0.1]:34619 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1snt6g-0003Xr-0M
	for submit <at> debbugs.gnu.org; Tue, 10 Sep 2024 01:08:02 -0400
Received: from mx2.dismail.de ([159.69.191.136]:35154)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jgart@HIDDEN>) id 1snt6d-0003XL-GA
 for 73109 <at> debbugs.gnu.org; Tue, 10 Sep 2024 01:08:00 -0400
Received: from mx2.dismail.de (localhost [127.0.0.1])
 by mx2.dismail.de (OpenSMTPD) with ESMTP id ca45d12b;
 Tue, 10 Sep 2024 07:07:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc
 :subject:in-reply-to:date:message-id:mime-version:content-type;
 s=20190914; bh=NZW6+8OWtrbkLE4N7WOS4ISZ6JFh2a2nsNgY5MEL664=; b=
 cU61mRV6RElkTJ8GqIPtvnQvfJkFna0HERpEv6HBHibmzzt+jl+wCOdkWjpiEK4N
 iCOxbgQo89bCf57EeW20bLE9b68vgWMGK1S1VGRvNyyRQJ72myn+UvgxkmGN7Mvp
 H4LXHOh6+qEwWmAX1BSEtKPUV4QzKokRsgtHYQnNX4EZqgKoyX6Abgo1U72S6Fl3
 ZmIijnLzw72ckz5mN2ztY9mC6DVNNvwcVQHZF589un1FXOHXhxPxecinN8EJhgjE
 Q/oTKP7XEGijUihrYZswkVXwh1vwkquRO1pYq2lK9lcN1qXj5PTu/C/qspy7lYcv
 E8JpDsyLqniSLE0725iMOw==
Received: from smtp2.dismail.de (<unknown> [10.240.26.12])
 by mx2.dismail.de (OpenSMTPD) with ESMTP id 5bc50bb2;
 Tue, 10 Sep 2024 07:07:48 +0200 (CEST)
Received: from smtp2.dismail.de (localhost [127.0.0.1])
 by smtp2.dismail.de (OpenSMTPD) with ESMTP id facdf65d;
 Tue, 10 Sep 2024 07:07:48 +0200 (CEST)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id 3866a85f
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Tue, 10 Sep 2024 07:07:47 +0200 (CEST)
From: jgart <jgart@HIDDEN>
To: 73109 <at> debbugs.gnu.org
Subject: Re: [PATCH 0/2] Add python-transformers
In-Reply-To: <87o74x5v51.fsf@HIDDEN>
Date: Tue, 10 Sep 2024 00:07:45 -0500
Message-ID: <877cbkt7tq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 73109
Cc: Nicolas Graves <ngraves@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hi,

I applied the huggingface-hub update but the rest no longer applies.

Can you rebase on latest and send a v2 with just python-transformers?

Thanks!

-- 
all the best,
jgart




Information forwarded to guix-patches@HIDDEN:
bug#73109; Package guix-patches. Full text available.
Added blocking bug(s) 73069 Request was from Nicolas Graves <ngraves@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added indication that bug 73109 blocks73115 Request was from Nicolas Graves <ngraves@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added blocking bug(s) 73106 Request was from Nicolas Graves <ngraves@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 73109 <at> debbugs.gnu.org:


Received: (at 73109) by debbugs.gnu.org; 7 Sep 2024 16:57:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 07 12:57:14 2024
Received: from localhost ([127.0.0.1]:57473 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1smykL-0007xR-Qr
	for submit <at> debbugs.gnu.org; Sat, 07 Sep 2024 12:57:14 -0400
Received: from 15.mo561.mail-out.ovh.net ([87.98.150.177]:45859)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1smykI-0007x5-S5
 for 73109 <at> debbugs.gnu.org; Sat, 07 Sep 2024 12:57:12 -0400
Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.9.137])
 by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4X1K5J0qTQz1L4V
 for <73109 <at> debbugs.gnu.org>; Sat,  7 Sep 2024 16:57:07 +0000 (UTC)
Received: from ghost-submission-55b549bf7b-tbxp5 (unknown [10.108.54.171])
 by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 95A741FDB4;
 Sat,  7 Sep 2024 16:57:07 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.95])
 by ghost-submission-55b549bf7b-tbxp5 with ESMTPSA
 id 3bpfDeOF3GbPnwgAAG1sfw
 (envelope-from <ngraves@HIDDEN>); Sat, 07 Sep 2024 16:57:07 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-95G0012f67078f-036a-421a-950b-ca18cf60e62e,
 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 81.67.146.208
From: Nicolas Graves <ngraves@HIDDEN>
To: 73109 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: python-huggingface-hub: Update to 0.23.2.
Date: Sat,  7 Sep 2024 18:56:54 +0200
Message-ID: <20240907165703.23229-1-ngraves@HIDDEN>
X-Mailer: git-send-email 2.45.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 9647554829843555042
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelveetkefghefhheffgfelteeutddufefftedutddvkeevieeiiefhjeetiedtgfenucffohhmrghinhephhhtthhprdhphienucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfedutdelseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedupdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=enRjeQ076Ijb6cAQZrv6uIe1X5tazBB7P/Cb9wKIP70=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1725728228; v=1;
 b=ml/Dzj+JlSK47xMAPaFl73XNSXzcdfqrbCB0+PLQulVpezHsRKgizo1A8LO5yM5/XReVkRLr
 5pLy1THv/f5XZah6XB/vtO19F6zin7bn5dqKWvyZblQRrV4Qllkm8jbxuLc2U7a/nB8Ewp1utcd
 CHM6BDTD9XywF8p/JaT+NzjKXxxtTkKgocKy54jbZ1I0xdiDyUsPahg0ZuK8RfoAERjrchJk2jc
 NV6LVd8mnTX4WSwBmX+h3HqnxRupUb/2BYYSM9PT/uGyopZOLyWMe+0Y/8jClsXU6XDxDb6xlfT
 w+MIfxIRiQGUlC7tXZeAlWle/iKgUzRlKamJ08LqCVeHw==
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 73109
Cc: ngraves@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/python-web.scm (python-huggingface-hub): Update to 0.23.2.

Change-Id: I06989e883f54d9f0fc8db002d0a580008f6c6b67
---
 gnu/packages/python-web.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index bb1b912c0c..2a7dc8f8b3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -143,7 +143,7 @@ (define-module (gnu packages python-web)
 (define-public python-huggingface-hub
   (package
     (name "python-huggingface-hub")
-    (version "0.20.3")
+    (version "0.23.2")
     (source
      (origin
        (method git-fetch)
@@ -152,7 +152,7 @@ (define-public python-huggingface-hub
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "00indl9labvqvm4m0y5jbzl68cgj8i60a6qy498gpnjj2pqk4l6v"))))
+        (base32 "0hygxqcixkc1d9sr47j2km6z0p17aj4k1dzm4cvpddrvhrgqayq5"))))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -185,7 +185,11 @@ (define-public python-huggingface-hub
              "--ignore=tests/test_utils_git_credentials.py"
              "--ignore=tests/test_utils_http.py"
              "--ignore=tests/test_utils_pagination.py"
-             "--ignore=tests/test_webhooks_server.py")
+             "--ignore=tests/test_webhooks_server.py"
+             "-k" (string-append
+                   "not test_push_to_hub"
+                   " and not test_from_pretrained_model_id_only"
+                   " and not test_from_pretrained_model_id_and_revision"))
       #:phases
       '(modify-phases %standard-phases
          (add-before 'check 'pre-check
-- 
2.45.2





Information forwarded to guix-patches@HIDDEN:
bug#73109; Package guix-patches. Full text available.

Message received at 73109 <at> debbugs.gnu.org:


Received: (at 73109) by debbugs.gnu.org; 7 Sep 2024 16:57:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 07 12:57:13 2024
Received: from localhost ([127.0.0.1]:57471 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1smykL-0007xK-DF
	for submit <at> debbugs.gnu.org; Sat, 07 Sep 2024 12:57:13 -0400
Received: from 14.mo550.mail-out.ovh.net ([178.32.97.215]:42673)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1smykJ-0007x7-8H
 for 73109 <at> debbugs.gnu.org; Sat, 07 Sep 2024 12:57:12 -0400
Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.17.234])
 by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4X1K5K0Rzyz1Rml
 for <73109 <at> debbugs.gnu.org>; Sat,  7 Sep 2024 16:57:09 +0000 (UTC)
Received: from ghost-submission-55b549bf7b-bvfjf (unknown [10.110.178.140])
 by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C59641FE80;
 Sat,  7 Sep 2024 16:57:08 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.108])
 by ghost-submission-55b549bf7b-bvfjf with ESMTPSA
 id d1pcJuSF3GbVwQkAZ4vtfQ
 (envelope-from <ngraves@HIDDEN>); Sat, 07 Sep 2024 16:57:08 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-108S00249657a7b-1eeb-4315-bf06-942e39bd8d62,
 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 81.67.146.208
From: Nicolas Graves <ngraves@HIDDEN>
To: 73109 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Add python-transformers.
Date: Sat,  7 Sep 2024 18:56:55 +0200
Message-ID: <20240907165703.23229-2-ngraves@HIDDEN>
X-Mailer: git-send-email 2.45.2
In-Reply-To: <20240907165703.23229-1-ngraves@HIDDEN>
References: <20240907165703.23229-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 9648117777620525794
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdffheegkefhkefggfelheffteeigfegiedtudetkeffhfekheevjeefjeeltdeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefuddtleesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=M/gdXunYKSqP4H2+piqrC7ngjEoNNczLZRIZwp1gJQA=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1725728229; v=1;
 b=Pg33ZcPItKX8o9EfRRnOkVBo6jzjtgnbfnkQo/8DiswKRr0Pg8+bRo+PbwlkuGuVOO73ubYm
 q7ncSJ7mW3aAMeiE3I9hmfnRi292iKm56sYYZAEkE6ZxB8kze5lEhTdgIat2nqBtPFHH49AqNPF
 1TOrXX+nxpyJRxPsq22RUJL6/jOHGIOr2bOwPkuzMoNGL1/+J1gUOpEJD5E78BXH+pGcMF9lqlC
 Y1eHKUOOZDW5ArrOe8YlmUUOTDoijX+hGk0EzJVMZCTm2/ucOXCpWXnjADB5qwJ9kqCy5prsvox
 CtNIbNUb/Yy9xqFqNKeBIfhnlK54QOcuVD97QavZoApAQ==
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  * gnu/packages/machine-learning.scm (python-transformers):
 New variable. Change-Id: Ifd7fa3a0f4611d3298ab76ceb44b3aea1397b824 ---
 gnu/packages/machine-learning.scm
 | 60 +++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) 
 Content analysis details:   (1.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.3 RCVD_IN_VALIDITY_RPBL  RBL: Relay in Validity RPBL,
 https://senderscore.org/blocklistlookup/
 [178.32.97.215 listed in bl.score.senderscore.com]
 0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [178.32.97.215 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [178.32.97.215 listed in list.dnswl.org]
 0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
X-Debbugs-Envelope-To: 73109
Cc: ngraves@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

* gnu/packages/machine-learning.scm (python-transformers): New variable.

Change-Id: Ifd7fa3a0f4611d3298ab76ceb44b3aea1397b824
---
 gnu/packages/machine-learning.scm | 60 +++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 412499d424..42842d7d61 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5846,6 +5846,66 @@ (define-public python-tokenizers
 tokenizers, @code{rust-tokenizers}.")
     (license license:asl2.0)))
 
+(define-public python-transformers
+  (package
+    (name "python-transformers")
+    (version "4.44.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "transformers" version))
+       (sha256
+        (base32 "09h84wqqk2bgi4vr9d1m3dsliard99l53n96wic405gfjb61gain"))))
+    (build-system pyproject-build-system)
+    ;; The imported package contains ~60 more inputs, but they don't seem
+    ;; necessary to build a minimal version of the package.
+    (propagated-inputs
+     (list python-filelock
+           python-huggingface-hub
+           python-numpy
+           python-pytorch
+           python-pyyaml
+           python-regex
+           python-requests
+           python-safetensors
+           python-tokenizers
+           python-tqdm
+           tensorflow))
+    (home-page "https://github.com/huggingface/transformers")
+    (synopsis "Machine Learning for PyTorch and TensorFlow")
+    (description
+     "This package provides easy download of thousands of pretrained models to
+perform tasks on different modalities such as text, vision, and audio.
+
+These models can be applied on:
+@itemize
+@item Text, for tasks like text classification, information extraction,
+question answering, summarization, translation, and text generation, in over
+100 languages.
+@item Images, for tasks like image classification, object detection, and
+segmentation.
+@item Audio, for tasks like speech recognition and audio classification.
+@end itemize
+
+Transformer models can also perform tasks on several modalities combined, such
+as table question answering, optical character recognition, information
+extraction from scanned documents, video classification, and visual question
+answering.
+
+This package provides APIs to quickly download and use those pretrained models
+on a given text, fine-tune them on your own datasets and then share them with
+the community on our model hub.  At the same time, each python module defining
+an architecture is fully standalone and can be modified to enable quick
+research experiments.
+
+Transformers is backed by the three most popular deep learning libraries —
+Jax, PyTorch and TensorFlow — with a seamless integration between them.  It's
+straightforward to train your models with one before loading them for
+inference with the other.
+
+Note: This version doesn't support integration with JAX.")
+    (license license:asl2.0)))
+
 (define-public python-hmmlearn
   (package
     (name "python-hmmlearn")
-- 
2.45.2





Information forwarded to guix-patches@HIDDEN:
bug#73109; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Sep 2024 16:55:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 07 12:55:49 2024
Received: from localhost ([127.0.0.1]:57411 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1smyiz-0007qi-IJ
	for submit <at> debbugs.gnu.org; Sat, 07 Sep 2024 12:55:49 -0400
Received: from lists.gnu.org ([209.51.188.17]:50656)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1smyix-0007qb-Qv
 for submit <at> debbugs.gnu.org; Sat, 07 Sep 2024 12:55: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 <ngraves@HIDDEN>)
 id 1smyiw-000071-1d
 for guix-patches@HIDDEN; Sat, 07 Sep 2024 12:55:46 -0400
Received: from 3.mo575.mail-out.ovh.net ([46.105.58.60])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ngraves@HIDDEN>)
 id 1smyis-0001Pa-Oc
 for guix-patches@HIDDEN; Sat, 07 Sep 2024 12:55:45 -0400
Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.148.6])
 by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4X1K3b1rCFz1bd9
 for <guix-patches@HIDDEN>; Sat,  7 Sep 2024 16:55:39 +0000 (UTC)
Received: from ghost-submission-55b549bf7b-htkb2 (unknown [10.111.174.62])
 by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id CF0841FD63;
 Sat,  7 Sep 2024 16:55:38 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.102])
 by ghost-submission-55b549bf7b-htkb2 with ESMTPSA
 id B672HYqF3GZYBQAAWj1j5A
 (envelope-from <ngraves@HIDDEN>); Sat, 07 Sep 2024 16:55:38 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-102R004ff73c1d4-7d27-4958-96f8-36596b21e2c5,
 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 81.67.146.208
From: Nicolas Graves <ngraves@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] Add python-transformers
Date: Sat,  7 Sep 2024 18:54:51 +0200
Message-ID: <20240907165534.22367-1-ngraves@HIDDEN>
X-Mailer: git-send-email 2.45.2
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 9622785031171465954
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekffegteffgfffjeegjedvfffgtddvueeutefgfeeuvdejgedvgeejjeevueeuveenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=A7I9GEWBmKlzGPoUiaK8vW5AcLzIhSv3fbUHVQMQb/4=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1725728139; v=1;
 b=3hzHZ0rHvABjYK6BUwvb+84uzQDRL+Fsuhy/gpf9bQsMBS3S44OjieKFK+8KqwR55GcrEqKH
 +plebYtbCa8ppmvR1peELm2sMxjvfr26FGb97p1qBp4pEVy1CLsAZ19tYpgNdRvjgTELAOfV+LT
 XT/q/ypgLZoc4y9obGfaYcs42C8B2OrtUqWWHDCprdQm1Ffv8lRXBpjydX8qJ739LGqgDkWTMmF
 qGLiN/mPb+RABg6JGv+Dd31LQoKp8nkWVhm7cVkcXtJUwW0FKMsVjhuC0bMIcdnggHkNTUKlvC8
 9FLNl+hCLCRjZ+77hI+Rxm9xOnqK6MZ1yrNmIAUwclkew==
Received-SPF: pass client-ip=46.105.58.60; envelope-from=ngraves@HIDDEN;
 helo=3.mo575.mail-out.ovh.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: ngraves@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This patch adds the popular python-transformers package.

Nicolas Graves (2):
  gnu: python-huggingface-hub: Update to 0.23.2.
  gnu: Add python-transformers.

 gnu/packages/machine-learning.scm | 60 +++++++++++++++++++++++++++++++
 gnu/packages/python-web.scm       | 10 ++++--
 2 files changed, 67 insertions(+), 3 deletions(-)

-- 
2.45.2





Acknowledgement sent to Nicolas Graves <ngraves@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#73109; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.