n3net icon indicating copy to clipboard operation
n3net copied to clipboard

"import matmul_cuda" ImportError

Open LvZhenFeng opened this issue 4 years ago • 1 comments

>>> import matmul_cuda
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: libcudart.so.9.0: cannot open shared object file: No such file or directory
>>>

Environment I have tried: python=3.6 pytorch=1.10.2 cudatoolkit=9.2 or 10.0 or 11.3

I followed the readme to complete the environment configuration and encountered no errors; Then I run the test statement and ImportError: libcudart.so.9.0: cannot open shared object file: No such file or directory

LvZhenFeng avatar Mar 18 '22 07:03 LvZhenFeng

I think could be the cupy version problem, it should be same as cuda (cudatoolkit)

when I use pip install cupy-cuda113, ImportError is solved.

LvZhenFeng avatar Mar 20 '22 12:03 LvZhenFeng