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

Error when build docker GPU image ubuntu22.04-cuda12.2.0 #4889

Open
asr-lord opened this issue Dec 7, 2023 · 0 comments
Open

Error when build docker GPU image ubuntu22.04-cuda12.2.0 #4889

asr-lord opened this issue Dec 7, 2023 · 0 comments
Labels

Comments

@asr-lord
Copy link

asr-lord commented Dec 7, 2023

Using Dockerfile: https://github.com/kaldi-asr/kaldi/tree/master/docker/ubuntu22.04-cuda12.2.0/Dockerfile to build the image I get the following error Unknown argument: --use-cuda, exiting:

167.7 make[1]: Leaving directory '/opt/kaldi/tools/openfst-1.7.2'
167.7 rm -f openfst
167.7 ln -s openfst-1.7.2 openfst
167.7 -e 
167.7 
167.7 
167.7 Warning: IRSTLM is not installed by default anymore. If you need IRSTLM
167.7 Warning: use the script extras/install_irstlm.sh
167.7 All done OK.
167.7 Unknown argument: --use-cuda, exiting
167.7 'configure' configures Kaldi installation.
167.7 
167.7 Usage: [VAR=VALUE]... ./configure [OPTION]...
167.7 
167.7 The default configuration is to build and link against static Kaldi libraries.
167.7 OpenFst and Math libraries are linked dynamically.
167.7 
167.7 Configuration options:
167.7   --help                Display this help message and exit
167.7   --version             Display the version of 'configure' and exit
167.7   --static              Build and link against static libraries [default=no]
167.7   --shared              Build and link against shared libraries [default=no]
167.7   --use-cuda            Build with CUDA [default=yes]
167.7   --with-cudadecoder    Build with CUDA decoder [default=yes]
167.7   --cudatk-dir=DIR      CUDA toolkit directory
167.7   --cuda-arch=FLAGS     Override the default CUDA_ARCH flags. See:

I solve adding "yes" value to "use-cuda" option on this line in Dockerfile https://github.com/kaldi-asr/kaldi/blob/master/docker/ubuntu22.04-cuda12.2.0/Dockerfile#L40: ./configure --shared --use-cuda=yes && \

@asr-lord asr-lord added the bug label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant