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
build kaldi with Windows10 fails,error: cuda-decoder-kernels.cc not found #3584
Comments
When i run ./generate_solution.pl --vsver vs2017 --enable-mkl with Git bash,it fails. |
I am also facing the same issue. Any help? |
Maybe a makefile issue... Compare it with the one in cudamatrix, you might
see something
Maybe that is a .cu file not a .cc file.
…On Thu, Sep 19, 2019, 3:59 PM Yumna Batool ***@***.***> wrote:
I am also facing the same issue. Any help?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3584?email_source=notifications&email_token=AAZFLOZXBESFIYZZOBMRIDTQKOAU7A5CNFSM4IVRA3G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7DSCPY#issuecomment-533143871>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAZFLOZTWYDL34MUGBAOIQTQKOAU7ANCNFSM4IVRA3GQ>
.
|
Remove the reference to cudadecoder from SUBDIRS in the src/Makefile near the top--you won't run it anyway without CUDA. Likely the way the Makefile is written in that directory confuses the script. kaldi/windows/generate_solution.pl Lines 962 to 966 in fdab49d
You should be aware that training on Windows is nearly an impossible feat. If you are building just for the decoding part, there is a lot you won't need to build, probably 4/5 of all executable files, and they would be the slowest to build, especially with full optimization and more so with LTCG (a.k.a. "Full program optimization"). If you want only libraries, also remove anything that ends in 'bin' from SUBDIRS. |
I am closing this ticket for now. If you believe that your issue has not been addressed, please feel free to ping me, and I'll reopen it. |
I have the same problem on windows. it seems that nvcc should convert .cu files to .cc. |
Convert .cu files to .cc. seems doesn't work for me. The following building step will still failed :( |
I have had build kaldi to Windows 10x64 with CUDA 11.2 successfully. Base tests cheked. But can't build without cuda. ./generate_solution.pl --vsver vs2019 --enable-mkl |
I think the windows setup was not intended to be built with cuda and it was
never tried/
y.
…On Fri, Feb 5, 2021 at 8:31 AM Styletto ***@***.***> wrote:
I have had build kaldi on Windows 10x64 with CUDA 11.2. But can't do it
without cuda.
ERROR?: file ... cuda-decoder-kernels.cc not found - project
kaldi-cudadecoder
ERROR?: file ... batched-static-nnet3-kernels.cc not found - project
kaldi-cudadecoder
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3584 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUKYX3J6EYHVERI7BWZVQTS5PXMRANCNFSM4IVRA3GQ>
.
|
Everyone, why are you doing this? You're unlikely to run a training
pipeline on Windows, as it requires good working bash, perl, python,
sed,awk and you name it.
If you're building a product, install CUDA and oneMKL with VS integration,
create your own projects, per-library or, as I've always preferred, all
objects into a single static library. The VSIX installed by CUDA and
oneMKL, oneTBB and other sr=tuff take care of setting correct paths, and
Cuda treats .cu files as a separaty type in the file drop down, "CUDA
Source." Both are integrated very nicely. VS LTCG is very efficient. What
may take 60 minutes with Clang, takes 3 with the MS compiler/linker. The MS
tools are one of the best, (although not without their own quirks).
Of, and either take OpenFST from https://github.com/kkm000/openfst, if you
want binaries, or just put the 10 or so files into a static library too.
It's a quick setup. Take the list of warnings to disable from here
<https://github.com/kkm000/openfst/blob/30b198ac9cf382afd75899a9a90a6d9d9fef0c16/src/openfst.props#L96>,
and an additional preprocessor define in line 102, same file, to silence it
even more.
Both Kaldi and OpenFST are extremely easy to build into your own project
libraries, selecting only the stuff you need.
If you want to run training, get a Linux machine with a hefty CPU and some
GPU, or rent one on Google Cloud. Training on Windows is an exercise in
Masochism 201, advanced course.
-kkm
…On Fri, Feb 5, 2021 at 5:31 AM Styletto ***@***.***> wrote:
I have had build kaldi on Windows 10x64 with CUDA 11.2. But can't do it
without cuda.
ERROR?: file ... cuda-decoder-kernels.cc not found - project
kaldi-cudadecoder
ERROR?: file ... batched-static-nnet3-kernels.cc not found - project
kaldi-cudadecoder
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#3584 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB6Y3BOLG7OFUYKXE653WN3S5PXLXANCNFSM4IVRA3GQ>
.
|
One obvious reason is to debug all the bin. VisualStudio is still a very handy GUI debugger. "working bash, perl, python, sed,awk" are very easy to be replaced by each individual's tool or finding alternatives. |
No description provided.
The text was updated successfully, but these errors were encountered: