alphacep / alphacep/vosk-server

Intel MKL docker build fail

Aperta
#256 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1.3k
Fork
317
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I found a problem when building docker/Dockerfile.kaldi-vosk-server with option `--build-arg KALDI_MKL=1`. It fails with error:
`make: *** No rule to make target '/opt/kaldi/tools/OpenBLAS/install/lib/libopenblas.a', needed by '[libvosk.so](https://libvosk.so/)'. Stop.`
If force install MKL and openblas, then image is built without errors. But when running `vosk-server` with model it fails with error:
`OSError: cannot load library '/usr/local/lib/python3.9/dist-packages/vosk-0.3.50-py3.9.egg/vosk/libvosk.so': /usr/local/lib/python3.9/dist-packages/vosk-0.3.50-py3.9.egg/vosk/libvosk.so: undefined symbol: vsPowx
`

WARNING. To install MKL I had to download the latest version of kaldi and copy `tools/extras/install_mkl.sh` from there to the version from the `vosk` branch.

How can I use vosk compiled with MKL?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.