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.

32 views
Skip to first unread message

Sougata Mukherjee

unread,
Jun 6, 2024, 5:38:56 AM (13 days ago) Jun 6
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 AM (12 days ago) Jun 7
to kaldi-help
A gentle reminder for the same.

Sougata Mukherjee

unread,
Jun 8, 2024, 2:24:47 AM (11 days ago) Jun 8
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 AM (5 days ago) Jun 14
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:
Reply all
Reply to author
Forward
0 new messages