You are not logged in.
I installed pytorch, and update my arch to newest, then pytorch not works, error msg is :
$python
>>> import torch
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.10/site-packages/torch/__init__.py", line 197, in <module>
from torch._C import * # noqa: F403
ImportError: libcupti.so.11.5: cannot open shared object file: No such file or directory
I found /opt/cuda/extras/CUPTI/lib64/libcupti.so.11.6, but no libcupti.so.11.5, maybe pytorch's version not match to cuda?
Offline
$ pkgfile libcupti.so.11.5
community/cuda-tools
$ pkgfile libcupti.so.11.6
community/cuda
community/cuda-tools
$ try installing cuda-tools .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
thanks, It works,but I remeber it works one week before without cuda-tools.
sudo pacman -S cuda-tools
sudo ln -s /opt/cuda/nsight_systems/target-linux-x64/libcupti.so.11.5 /usr/lib/libcupti.so.11.5$ pkgfile libcupti.so.11.5 community/cuda-tools $ pkgfile libcupti.so.11.6 community/cuda community/cuda-tools $try installing cuda-tools .
Offline
You should not need to create that symbolic link for things to work.
If pytorch can't find that library that suggests a bug in pytorch or cuda.
As for why it worked before without cuda-tools : check your pacman log when you updated from cuda 11.5 to cuda 11.6 .
Was that before or after the last time it worked without cuda-tools present ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline