help needed with setting GPU (No CUDA GPU detected!, diagnostics: cudaError_t 30 : "unknown error" )

514 views
Skip to first unread message

Artur Zygadło

unread,
Jun 22, 2018, 6:18:51 PM6/22/18
to kaldi-help
Hello,

I am trying to run the nnet3 setting on my laptop with a single GPU (GeForce GTX 960M).
I guess it is not the wisest option to do so as it will take a lot of time, but anyway I am struggling to make it work.

I have installed CUDA 9.2 and nvidia-smi returns:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.26                 Driver Version: 396.26                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 960M    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   44C    P0    N/A /  N/A |      0MiB /  4046MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

I have also compiled Kaldi src with CUDA enabled and it didn't throw any errors.

For some reason, while running steps/nnet3/train_dnn.py I keep getting an error:

ERROR ([5.3.81~1-829b0]:SelectGpuId():cu-device.cc:121) No CUDA GPU detected!, diagnostics: cudaError_t 30 : "unknown error", in cu-device.cc:121

I found out that the error is also thrown when I simply run the nnetbin/cuda-gpu-available... What can be the cause of this issue?

Best regards,
Artur Zygadło

Daniel Povey

unread,
Jun 22, 2018, 7:20:08 PM6/22/18
to kaldi-help
I haven't seen that "unknown error" error before; I don't know how to
resolve it.
> --
> Go to http://kaldi-asr.org/forums.html find out how to join
> ---
> You received this message because you are subscribed to the Google Groups
> "kaldi-help" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kaldi-help+...@googlegroups.com.
> To post to this group, send email to kaldi...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/kaldi-help/dc7a7ac3-ea88-49df-ab7e-196bd2c01b78%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

an...@sayint.ai

unread,
Jun 28, 2018, 8:15:41 AM6/28/18
to kaldi-help
Did you do a make test after make?

Presteniko septi rahadian

unread,
Jun 29, 2018, 5:18:57 AM6/29/18
to kaldi-help
Hey, have you tried running other apps that used gpu but without cuda?
Message has been deleted

Ryan Sharif

unread,
Jul 2, 2018, 5:23:16 PM7/2/18
to kaldi-help
What version of gcc/g++ did you use to compile?
Reply all
Reply to author
Forward
0 new messages