bug#65127: Python-pytorch slow

2023-08-23 Thread Cayetano Santos via Bug reports for GNU Guix


>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

2023-08-09 Thread Spencer Skylar Chan
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

2023-08-07 Thread Cayetano Santos via Bug reports for GNU Guix


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