Can't transcribe - Illegal instruction (core dumped)

I tried to install and run Mozilla DeepSpeech according to the guidelines shown in the official repo

But whenever I try to transcribe an audio sample with

deepspeech --model deepspeech-0.6.0-models/output_graph.pbmm --lm deepspeech-0.6.0-models.lm.binary --trie deepspeech-0.6.0-models/trie --audio audio/2830-3980-0043.wav

I get an Illegal instruction (core dumped) without any further explanation

Does anybody have any suggestions? What could be the possible reasons for this message?


My processor is Intel Xeon X5650. I checked with lscpu and it’s very likely that it doesn’t support AVX/AVX2. How should I proceed in this case?

Unfortunately, the only actionable solution at that point is to build your own following the documentation, if you want to use the full-blown TensorFlow runtime.

You might want to give a try to deepspeech-tflite, maybe. But it’s not unlikely to also leverage AVX2.

Shipped Q1 2010, so it’s quite an old CPU, not surprising it is lacking AVX.