Working Deepspeech on Cuda 9.0 and Cudnn 7.0.5

Hey guys:) Thank U for reading this article, and I am really curious how can I run deepspeech in Cuda 9.0 and Cudnn 7.0.5.

When I tried to run deepspeech, the error like this occurs.

Traceback (most recent call last): File “/home1/irteam/anaconda3/envs/pytorch/lib/python3.6/site-packages/deepspeech/model.py”, line 18, in swig_import_helper return importlib.import_module(mname) File “/home1/irteam/anaconda3/envs/pytorch/lib/python3.6/importlib/init.py”, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File “<frozen importlib._bootstrap>”, line 994, in _gcd_import File “<frozen importlib._bootstrap>”, line 971, in _find_and_load File “<frozen importlib._bootstrap>”, line 955, in _find_and_load_unlocked File “<frozen importlib._bootstrap>”, line 658, in _load_unlocked File “<frozen importlib._bootstrap>”, line 571, in module_from_spec File “<frozen importlib._bootstrap_external>”, line 922, in create_module File “<frozen importlib._bootstrap>”, line 219, in _call_with_frames_removed ImportError: libcudnn.so.6: cannot open shared object file: No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/home1/irteam/anaconda3/envs/pytorch/bin/deepspeech”, line 7, in <module> from deepspeech.client import main File “/home1/irteam/anaconda3/envs/pytorch/lib/python3.6/site-packages/deepspeech/client.py”, line 10, in <module> from deepspeech.model import Model File “/home1/irteam/anaconda3/envs/pytorch/lib/python3.6/site-packages/deepspeech/model.py”, line 21, in <module> _model = swig_import_helper() File “/home1/irteam/anaconda3/envs/pytorch/lib/python3.6/site-packages/deepspeech/model.py”, line 20, in swig_import_helper return importlib.import_module(’_model’) File “/home1/irteam/anaconda3/envs/pytorch/lib/python3.6/importlib/init.py”, line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ModuleNotFoundError: No module named ‘_model’

So I tried to install libcudnn.so.6 but Cudnn 7.0.5 do not support for libcudnn.so.6… Can somebody help me with this issue?

I know somebody always suggested similar issue, but I cannot get answer from that question.

How about you try to install CuDNN v6 then ?