alphacep / alphacep/vosk-server

Intel MKL docker build fail

Ouverte
#256 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
1.3k
Forks
317
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.