SeanNaren / warp-ctc

Pytorch Bindings for warp-ctc
Apache License 2.0
756 stars 271 forks source link

build successfully without cuda but failed to import libcudart.so when import #154

Open Cescfangs opened 4 years ago

Cescfangs commented 4 years ago

I've built warp-ctc and pytorch-binding successfully in cpu-only environment, but failed to import warpctc_pytorch with cudart error:

In [1]: import warpctc_pytorch                                                                                                     
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-76bc221e404b> in <module>
----> 1 import warpctc_pytorch

~/anaconda3/lib/python3.7/site-packages/warpctc_pytorch-0.1.1-py3.7-linux-x86_64.egg/warpctc_pytorch/__init__.py in <module>
      4 from torch.nn import Module
      5 
----> 6 from ._warp_ctc import *
      7 
      8 __version__ = '0.1.1'

ImportError: libcudart.so.10.0: cannot open shared object file: No such file or directory

any ideas?

tanujjain commented 4 years ago

Facing the same issue on an ubuntu GPU machine. Any resolution yet?