* bug#65127: Python-pytorch slow
@ 2023-08-07 14:50 Cayetano Santos via Bug reports for GNU Guix
2023-08-09 14:01 ` Spencer Skylar Chan
2023-08-23 12:21 ` Cayetano Santos via Bug reports for GNU Guix
0 siblings, 2 replies; 3+ messages in thread
From: Cayetano Santos via Bug reports for GNU Guix @ 2023-08-07 14:50 UTC (permalink / raw)
To: 65127
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#65127: Python-pytorch slow
2023-08-07 14:50 bug#65127: Python-pytorch slow Cayetano Santos via Bug reports for GNU Guix
@ 2023-08-09 14:01 ` Spencer Skylar Chan
2023-08-23 12:21 ` Cayetano Santos via Bug reports for GNU Guix
1 sibling, 0 replies; 3+ messages in thread
From: Spencer Skylar Chan @ 2023-08-09 14:01 UTC (permalink / raw)
To: 65127
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#65127: Python-pytorch slow
2023-08-07 14:50 bug#65127: Python-pytorch slow Cayetano Santos via Bug reports for GNU Guix
2023-08-09 14:01 ` Spencer Skylar Chan
@ 2023-08-23 12:21 ` Cayetano Santos via Bug reports for GNU Guix
1 sibling, 0 replies; 3+ messages in thread
From: Cayetano Santos via Bug reports for GNU Guix @ 2023-08-23 12:21 UTC (permalink / raw)
To: 65127
>lun. 07 août 2023 at 16:50, Cayetano Santos <csantosb@inventati.org> 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-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.
By this I meant when only using CPU, not GPU.
C.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-23 12:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-07 14:50 bug#65127: Python-pytorch slow Cayetano Santos via Bug reports for GNU Guix
2023-08-09 14:01 ` Spencer Skylar Chan
2023-08-23 12:21 ` Cayetano Santos via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).