RTX 4090 compatibility issue

38 views
Skip to first unread message

Abdul Rahman

unread,
Mar 14, 2023, 5:56:06 AM3/14/23
to kaldi-help
Hello Everyone!

I'm working on training a model with the mgb2_arabic recipe. Once I hit the training dnn step, kaldi spits an error complaining about cuda setup. The error is as follows:

### The CUDA setup is wrong! ("invalid device function" == problem with 'compute capability' in compiled kaldi)
### Before posting the error to forum, please try following:
### 1) update kaldi & cuda-toolkit (& GPU driver),
### 2) re-run 'src/configure',
### 3) re-compile kaldi by 'make clean; make -j depend; make -j'
###
### If the problem persists, please send us your:
### - GPU model name, cuda-toolkit version, driver version (run nvidia-smi), variable $(CUDA_ARCH) from src/kaldi.mk


I've updated all three: kaldi, cuda toolkit, and nvidia driver! The problem still persists...
  1. I'm using an nvidia RTX 4090 graphics card, which uses a driver version of 525.
  2. The compatible cuda version for that nvidia driver is cuda 12.0, the one I'm using.
  3. As for the $(CUDA_ARCH):
CUDA_ARCH = -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86

Am I missing something? Let me know if anyone knows anything about this issue! Thanks!

Daniel Povey

unread,
Mar 14, 2023, 7:45:41 AM3/14/23
to kaldi...@googlegroups.com
Looks like the compute capability of that one is 8.9 so you have to include an option with sm_89 in it as well

--
Go to http://kaldi-asr.org/forums.html to find out how to join the kaldi-help group
---
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 view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/74d34812-98bd-4b1b-997f-c58bd59d34c9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages