From unknown Tue Jun 24 01:39:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65127 <65127@debbugs.gnu.org> To: bug#65127 <65127@debbugs.gnu.org> Subject: Status: Python-pytorch slow Reply-To: bug#65127 <65127@debbugs.gnu.org> Date: Tue, 24 Jun 2025 08:39:52 +0000 retitle 65127 Python-pytorch slow reassign 65127 guix submitter 65127 csantosb@inventati.org severity 65127 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 07 10:52:48 2023 Received: (at submit) by debbugs.gnu.org; 7 Aug 2023 14:52:48 +0000 Received: from localhost ([127.0.0.1]:34090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT1bE-0005pS-0Q for submit@debbugs.gnu.org; Mon, 07 Aug 2023 10:52:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT1b9-0005pC-Qs for submit@debbugs.gnu.org; Mon, 07 Aug 2023 10:52:46 -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 1qT1b4-0001Ra-8Y for bug-guix@gnu.org; Mon, 07 Aug 2023 10:52:38 -0400 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qT1b1-0005Fn-Fv for bug-guix@gnu.org; Mon, 07 Aug 2023 10:52:37 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4RKK6h2zshz10x3 for ; Mon, 7 Aug 2023 14:52:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1691419948; bh=FiPkvXG4U6toKxnw46V9m/D2DOMLa3OUFe07CoR6fXM=; h=From:To:Subject:Date:Reply-To:From; b=EQDtwUnoZwCHsDMfiMkeB/snC0OTHVxW5tuFCD31y+z8iBuVQga1FqmbS6jwotUuH xCXKIDaUPOTyyrPoj7zIQt7AgjmassiPcA1d+6jvSGc1BK1B+pC19TGdkHSySyOQKn Uzg0HWldkPJnqY7k+QloejRTNiK0NUIgxGUIYW1Q= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4RKK6h2GjGz10sB for ; Mon, 7 Aug 2023 14:52:28 +0000 (UTC) User-agent: mu4e 1.10.5; emacs 29.1 From: Cayetano Santos To: bug-guix@gnu.org Subject: Python-pytorch slow Date: Mon, 07 Aug 2023 16:50:10 +0200 Message-ID: <87bkfi29ck.fsf@inventati.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=93.190.126.19; envelope-from=csantosb@inventati.org; helo=confino.investici.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: csantosb@inventati.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hi guix, I just noticed that the following line (latest guix, as for today) guix shell -C --emulate-fhs --network python python-pytorch python-torchvision -- python3 quickstart_tutorial.py with https://raw.githubusercontent.com/pytorch/tutorials/main/beginner_source/basics/quickstart_tutorial.py is noticeably slower than the version of the torch suite provided by conda, for example. Thanks, Cayetano Santos From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 09 12:36:49 2023 Received: (at 65127) by debbugs.gnu.org; 9 Aug 2023 16:36:49 +0000 Received: from localhost ([127.0.0.1]:40419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTmAy-00053C-Nz for submit@debbugs.gnu.org; Wed, 09 Aug 2023 12:36:49 -0400 Received: from esa6.umd.iphmx.com ([216.71.140.161]:9556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTjl4-0000jK-0B for 65127@debbugs.gnu.org; Wed, 09 Aug 2023 10:01:55 -0400 X-IronPort-AV: E=Sophos;i="6.01,159,1684814400"; d="scan'208";a="381884542" Received: from mail-yb1-f198.google.com ([209.85.219.198]) by ob1.umd.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 09 Aug 2023 10:01:44 -0400 Received: by mail-yb1-f198.google.com with SMTP id 3f1490d57ef6-d6235c00c1bso431525276.1 for <65127@debbugs.gnu.org>; Wed, 09 Aug 2023 07:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umd.edu; s=google; t=1691589703; x=1692194503; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=mSrUwLCze6BGWdxiIxHg6FXEkvn3lRkK+yk/KouE0nc=; b=BUDRpZUky8wdyHWakKbR/EaGrdG/jg3O9fQmUApmdI/EC8PAsj7RjMM/5Veju1Q9AO Vsj6HS26ErlQu0js/uUyabzLAP1xoF1pa+4EjjLisTYY07tKx+GILPozp0Cj8DZmMtGX dtnmLK0vWgJQgiEfo1C4ixX1MuiNRl9p/dALJ2ZN1qaK70e8uWaTbcJiQCteEpPTk5xG g0exk6gLNAYYv4Xeok/XDapMNJo/wJKr7dT9IO4UZwdliKFx9NeV9XZtONgNoYYw38vn jLPj3g8qp7au/wZoUAsNu88vuQop/ygeMyiGljwxDLRKujKxSRHQPTYB3o2GS6uvIvBL ZUXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691589703; x=1692194503; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mSrUwLCze6BGWdxiIxHg6FXEkvn3lRkK+yk/KouE0nc=; b=H/5V4IFOk2WrJN3+QWFpviZ8ZmzCFq9tdF6fYjL34lUvA0TBIl6jBgnyomxF+1Adky 91P7Y4vMd+yZuJmm/XrMsudA9ZqlO5yuc1RfeSULKHbCx/sRNr1K1rLFeWvFtNaI1yy9 iJcqmCLLw634AkzetepDgA/f1A3XkNg+s5MNI/KIDQ4WV8e2bx5g061v6YAbNtBvBMjx fWJFcNQb/7tVuI1/eHC45ApSF3P5S7ZVr2sRpj8LlW6RWpkQE32PHfcYwyjuBbDJ5Jjc Mx2yiKmqJgdaRbPuZyLJ15JzND5Z2giJ6ReW6VJnw634uWD5TQ1iuJRTwDS9wrJv3Ihw EfYA== X-Gm-Message-State: AOJu0YzCgYSly/pRGGd8/4dmkpGyx37Vvu7SyCdVJQVqDnKFxl8U5VjA X8gx0zB41gPVqfkmsImuShrFDjPX5g89hpajp4CSQvlRSyi9Jf8xe3KE+Gl1nPJoBQYhO3HDy6g OwgU9sswYpvIw6l9ruJ0wsX3L/XqxfdNC5A6ZyqqFaG+yVZ97OQ== X-Received: by 2002:a05:6902:4ca:b0:c24:4536:1723 with SMTP id v10-20020a05690204ca00b00c2445361723mr3250270ybs.26.1691589703439; Wed, 09 Aug 2023 07:01:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFh9NsDMGDWy66w+yNI79zTunXZMgp93t6MbwKk3IGqEjv2dj/UKWA4b8nmuZXKXpxr0smgjhwG6XKg6lZ8bso= X-Received: by 2002:a05:6902:4ca:b0:c24:4536:1723 with SMTP id v10-20020a05690204ca00b00c2445361723mr3250253ybs.26.1691589703206; Wed, 09 Aug 2023 07:01:43 -0700 (PDT) MIME-Version: 1.0 From: Spencer Skylar Chan Date: Wed, 9 Aug 2023 14:01:06 +0000 Message-ID: Subject: Re: Python-pytorch slow To: 65127@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65127 X-Mailman-Approved-At: Wed, 09 Aug 2023 12:36:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Cayento, Pytorch in Guix is not built with GPU support, so it will always use the CPU even if a GPU is available. You can check the configuration with =guix shell python-pytorch python -- python3 -c 'import torch; print(torch.__config__.show())'= Best, Skylar From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 23 08:22:32 2023 Received: (at submit) by debbugs.gnu.org; 23 Aug 2023 12:22:32 +0000 Received: from localhost ([127.0.0.1]:33103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYmsa-0001jK-6L for submit@debbugs.gnu.org; Wed, 23 Aug 2023 08:22:32 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYmsV-0001j2-OW for submit@debbugs.gnu.org; Wed, 23 Aug 2023 08:22:30 -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 1qYmsM-0000ZF-Dz for bug-guix@gnu.org; Wed, 23 Aug 2023 08:22:18 -0400 Received: from latitanza.investici.org ([2001:888:2000:56::19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYmsK-0000Vf-9S for bug-guix@gnu.org; Wed, 23 Aug 2023 08:22:18 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4RW51w55CwzGp6x for ; Wed, 23 Aug 2023 12:22:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1692793332; bh=QMCevg1dCc5qmqLToPE5ht3iXEOJ37EOBamcR94Ttak=; h=References:From:To:Subject:Date:Reply-To:In-reply-to:From; b=M5AuU+x3WZ+xAzScVomQ7mxbMh7yni2RiG45IiXCrOkDfeXR/QZBfR8TYvOS/unEw jGxKGF4YNDAP4CzZeIGhuWV9o/l+V9qWq+1v7/In8mFvaYYQ6QBuIc+jTN/3ilMIaJ Ty3A1kGDfMrXFbKaHIAr1w5suNothlqWz4Nszrec= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4RW51w4NmnzGp6v for ; Wed, 23 Aug 2023 12:22:12 +0000 (UTC) References: <87bkfi29ck.fsf@inventati.org> User-agent: mu4e 1.10.5; emacs 29.1 From: Cayetano Santos To: bug-guix@gnu.org Subject: Re: Python-pytorch slow Date: Wed, 23 Aug 2023 14:21:25 +0200 In-reply-to: <87bkfi29ck.fsf@inventati.org> Message-ID: <87o7iyne31.fsf@inventati.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=csantosb@inventati.org; helo=latitanza.investici.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: csantosb@inventati.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) >lun. 07 ao=C3=BBt 2023 at 16:50, Cayetano Santos = wrote: > Hi guix, > > I just noticed that the following line (latest guix, as for today) > > guix shell -C --emulate-fhs --network python python-pytorch python-torc= hvision -- python3 quickstart_tutorial.py > > with > > https://raw.githubusercontent.com/pytorch/tutorials/main/beginner_sourc= e/basics/quickstart_tutorial.py > > is noticeably slower than the version of the torch suite provided by > conda, for example. By this I meant when only using CPU, not GPU. C. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 06 04:33:06 2025 Received: (at 65127-done) by debbugs.gnu.org; 6 Feb 2025 09:33:06 +0000 Received: from localhost ([127.0.0.1]:54346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfyFt-0006ll-V2 for submit@debbugs.gnu.org; Thu, 06 Feb 2025 04:33:06 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]:23493) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfyFq-0006lF-85 for 65127-done@debbugs.gnu.org; Thu, 06 Feb 2025 04:33:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1738834379; bh=RZGnTSImafywsEWwArD/5rtRwBQpoGwBo5rgecC7raY=; h=From:To:Subject:Date:From; b=pzpXt1u6eMHx+MAxxVtCYdf3v5947I8FQgRZL3JlpFLbNiTQQjJg7ptboPKvU054H GG9TyBMlRa17mxqoBvloZucDOISomKQqVC8lujuz9MPai7Nk+KE7PjeYgylyk2u8vt HYukY6RewxWMsQKCgmHnxGN0PnZ+rF/QjvAbddSQ= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4YpX2g0Plfz1178 for <65127-done@debbugs.gnu.org>; Thu, 6 Feb 2025 09:32:59 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4YpX2f6bWKz115V for <65127-done@debbugs.gnu.org>; Thu, 6 Feb 2025 09:32:58 +0000 (UTC) From: Cayetano Santos To: 65127-done@debbugs.gnu.org Subject: Python-pytorch slow User-Agent: mu4e 1.12.8; emacs 29.4 Date: Thu, 06 Feb 2025 10:32:57 +0100 Message-ID: <87v7tne7ue.fsf@inventati.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65127-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Too old, doesn=E2=80=99t apply anymore. =2D- Cayetano Santos . gpg: CCB8 1842 F9D7 058E CD67 377A BF5C DF4D F6BF 6682 key: meta.sr.ht/~csantosb.pgp --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ6SByRccY3NhbnRvc2JA aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mgmJWAQC8N1yX9Gj6eO6n9E1+8iTE+ioi 6ahY9wUQ+mSIqHbi3QEAheLxOKW/eQNS8x2o21r8HmxgSHi8paoIZti1BElGmAo= =u65u -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 24 01:39:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 06 Mar 2025 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator