FS#73668 - python-pytorch-cuda needs to be recompiled with cuda 11.6

Attached to Project: Community Packages
Opened by Benoit Brummer (trougnouf) - Monday, 07 February 2022, 13:42 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 27 February 2022, 19:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Konstantin Gizdov (kgizdov)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

Cannot import pytorch because it links to previous cuda library.

Additional info:
* package version(s): python-pytorch-cuda 1.10.2-1, cuda 11.6.0-1


Steps to reproduce:

[trougnouf@d]: ~>$ python
Python 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 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
>>>
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 27 February 2022, 19:03 GMT
Reason for closing:  Fixed
Comment by Benoit Brummer (trougnouf) - Monday, 07 February 2022, 14:17 GMT
I get the following error trying to build the current trunk PKGBUILD (1.11.0rc1) or 1.10.2
Comment by Benoit Brummer (trougnouf) - Monday, 07 February 2022, 16:02 GMT
gflags got updated (2.2.2-4). Now I get this error trying to build 1.11.0rc1 (sorry the log got truncated) and 1.10.2

the git version complains that the cuda compiler identification is unknown, I guess pytorch isn't compatible yet and (imo) cuda got updated too early.

downgrading cuda/cudnn restores functionality. (cuda 11.5.1-1, cudnn 8.3.0.98-1)
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 27 February 2022, 17:03 GMT
This should now be fixed. Can you confirm?
Comment by Benoit Brummer (trougnouf) - Sunday, 27 February 2022, 17:59 GMT
Yes it's working :) Thank you!

Loading...