Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel MKL docker build fail #256

Open
sergy5 opened this issue Jul 16, 2024 · 0 comments
Open

Intel MKL docker build fail #256

sergy5 opened this issue Jul 16, 2024 · 0 comments

Comments

@sergy5
Copy link

sergy5 commented Jul 16, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant