-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
nvcc fatal : Unsupported gpu architecture 'compute_20' #1918
Comments
Are you using CUDA 9.0?
Fermi (aka 2.x) was deprecated in CUDA 8.0 and removed in CUDA 9.0. Kaldi
hasn't been fully updated for CUDA 9.0 quite yet. It should be a simple
fix, though.
…On Thu, Sep 28, 2017 at 12:03 AM, dllen ***@***.***> wrote:
when install throws this error
nvcc fatal : Unsupported gpu architecture 'compute_20' make[2]: ***
[cu-kernels.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ar -cru
kaldi-tree.a event-map.o context-dep.o clusterable-classes.o
cluster-utils.o build-tree-utils.o build-tree.o build-tree-questions.o
tree-renderer.o
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1918>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEi_UKIkDkGMXc1yTZ8ukGJHJ_bqAtWqks5sm0StgaJpZM4Pmz7D>
.
--
Daniel Galvez
|
Sorry, would you provide more information how can I fix it in detail? Thanks so much. |
Oh, sorry, there is definitely an issue in master right now.
First get the latest master branch. I assume you know how to do this.
Delete "-gencode arch=compute_20,code=sm_20 "
in this line:
https://github.com/kaldi-asr/kaldi/blob/master/src/configure#L431
The ./configure && make depend && make && make test
Let us know if that fixes it. I could check this myself, but I've been
crunched for time lately and don't want to get CUDA 9 onto one of my dev
machines right this instant.
…On Thu, Sep 28, 2017 at 12:26 AM, dllen ***@***.***> wrote:
Sorry, would you provide more information how can I fix it in detail?
Thanks so much.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1918 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEi_UEN0Ui4mxMcoIBFanwMvVYr6HrANks5sm0oPgaJpZM4Pmz7D>
.
--
Daniel Galvez
|
Give me a couple of minutes, I'll fix it in master
y.
On Thu, Sep 28, 2017 at 10:23 AM, Daniel Galvez <notifications@github.com>
wrote:
… Oh, sorry, there is definitely an issue in master right now.
First get the latest master branch. I assume you know how to do this.
Delete "-gencode arch=compute_20,code=sm_20 "
in this line:
https://github.com/kaldi-asr/kaldi/blob/master/src/configure#L431
The ./configure && make depend && make && make test
Let us know if that fixes it. I could check this myself, but I've been
crunched for time lately and don't want to get CUDA 9 onto one of my dev
machines right this instant.
On Thu, Sep 28, 2017 at 12:26 AM, dllen ***@***.***> wrote:
> Sorry, would you provide more information how can I fix it in detail?
> Thanks so much.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#1918 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AEi_
UEN0Ui4mxMcoIBFanwMvVYr6HrANks5sm0oPgaJpZM4Pmz7D>
> .
>
--
Daniel Galvez
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1918 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKisX5d0tXvULHGP0KnmMtImhKdxm5Poks5sm6vGgaJpZM4Pmz7D>
.
|
It should be fixed in the master.
y.
…On Thu, Sep 28, 2017 at 10:24 AM, Jan Trmal ***@***.***> wrote:
Give me a couple of minutes, I'll fix it in master
y.
On Thu, Sep 28, 2017 at 10:23 AM, Daniel Galvez ***@***.***>
wrote:
> Oh, sorry, there is definitely an issue in master right now.
>
> First get the latest master branch. I assume you know how to do this.
>
> Delete "-gencode arch=compute_20,code=sm_20 "
>
> in this line:
>
> https://github.com/kaldi-asr/kaldi/blob/master/src/configure#L431
>
> The ./configure && make depend && make && make test
>
> Let us know if that fixes it. I could check this myself, but I've been
> crunched for time lately and don't want to get CUDA 9 onto one of my dev
> machines right this instant.
>
> On Thu, Sep 28, 2017 at 12:26 AM, dllen ***@***.***> wrote:
>
> > Sorry, would you provide more information how can I fix it in detail?
> > Thanks so much.
> >
> > —
> > You are receiving this because you commented.
> > Reply to this email directly, view it on GitHub
> > <#1918 (comment)
> >,
> > or mute the thread
> > <https://github.com/notifications/unsubscribe-auth/AEi_UEN0U
> i4mxMcoIBFanwMvVYr6HrANks5sm0oPgaJpZM4Pmz7D>
> > .
> >
>
>
>
> --
> Daniel Galvez
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#1918 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AKisX5d0tXvULHGP0KnmMtImhKdxm5Poks5sm6vGgaJpZM4Pmz7D>
> .
>
|
If the problem persists after removing the |
U can remove the line -gencode arch=compute_20,code=sm_20 and -gencode arch=compute_20,code=sm_21 in Makefile.config. |
I just pushed a change to remove compute_20 from the nvcc flags. |
Deleting "-gencode arch=compute_20,code=sm_20 " doesn't work if you're using cmake to compile, as Makefile.config is not used (it's only used if you compile using make). The solution is to edit caffe/Cuda.cmake. On line 9 simply delete 20 21(20) from the list of GPU architectures. |
when install throws this error
nvcc fatal : Unsupported gpu architecture 'compute_20' make[2]: *** [cu-kernels.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ar -cru kaldi-tree.a event-map.o context-dep.o clusterable-classes.o cluster-utils.o build-tree-utils.o build-tree.o build-tree-questions.o tree-renderer.o
The text was updated successfully, but these errors were encountered: