bug#65127: Python-pytorch slow
>lun. 07 août 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-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.
bug#65127: Python-pytorch slow
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
bug#65127: Python-pytorch slow
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