This script is intended to be used with GPUs but you have not compiled Kaldi with CUDA If you want to use GPUs (and have them), go to src/, and configure and make on a machine where "nvcc" is installed.

74 views
Skip to first unread message

Sougata Mukherjee

unread,
Jun 6, 2024, 5:38:56 AM6/6/24
to kaldi-help
I am facing the following error while I am trying to run local/chain2/run_tdnn.sh inside mini_librispeech/s5 directory:-
This script is intended to be used with GPUs but you have not compiled Kaldi with CUDA
If you want to use GPUs (and have them), go to src/, and configure and make on a machine
where "nvcc" is installed.
But I have got both CUDA and NVCC installed in my system.

CUDA-installed.png
nvcc_version.png
kaldi-cuda-err.png

Sougata Mukherjee

unread,
Jun 7, 2024, 10:19:40 AM6/7/24
to kaldi-help
A gentle reminder for the same.

Sougata Mukherjee

unread,
Jun 8, 2024, 2:24:47 AM6/8/24
to kaldi-help
@Dan can you kindly please resolve this issue. I am facing this issue for couple of days but unable to resolve it.

Sougata Mukherjee

unread,
Jun 14, 2024, 7:08:09 AM6/14/24
to kaldi-help
In .bashrc the PATH and the LD_LIBRARY_PATH are set as follows:-
export PATH=/usr/local/cuda-12.4/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-12.4/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
@Daniel Povey can you kindly please suggest a solution for this. I am not being able to resolve the issue.

On Thursday, June 6, 2024 at 3:08:56 PM UTC+5:30 Sougata Mukherjee wrote:

Adi

unread,
Jun 26, 2024, 6:47:51 AM6/26/24
to kaldi-help
Yes, facing the same issue right now. Did you manage to resolve it? 

Priyanshu Soni

unread,
Jul 10, 2024, 12:34:28 AM7/10/24
to kaldi-help
I am still new at kaldi so my advice maybe downright wrong , I apologize for that in advance. But can u check whether your paths have been set correctly. Also you may have a script called cmd.sh , check if it is allowed to run with gpus in that script.

On Thursday, June 6, 2024 at 3:08:56 PM UTC+5:30 Sougata Mukherjee wrote:
Reply all
Reply to author
Forward
0 new messages