IRC channel logs

2023-03-15.log

back to list of logs

<rekado>do you know how to actually use CUDA from pytorch?
<rekado>I added python-pytorch-with-cuda to guix-science-nonfree, but torch.cuda.is_available() still returns False
<rekado>I don’t know how this is supposed to work. Am I supposed to point it to some libraries…?
<rekado>figured it out: LD_PRELOAD=/usr/lib64/libcuda.so python3
<rekado>next problem: all our packages are built with GCC 10, but when CUDA 10 is used we may only use GCC 8.
<rekado>so at runtime there’s the gcc-lib of GCC 8 and the lib of GCC 10
<rekado>the one of gcc 8 is loaded first and then scipy complains
<civodul>uh, there's python-pytorch-cuda in guix-hpc-non-free too