question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nvcc fatal : Unsupported gpu architecture 'compute_75'

See original GitHub issue

when I use: python3 setup.py install , have a problem, what should I do

/usr/bin/nvcc -I/home/zhaozhichao/.local/lib/python3.6/site-packages/torch/include -I/home/zhaozhichao/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/zhaozhichao/.local/lib/python3.6/site-packages/torch/include/TH -I/home/zhaozhichao/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/include/python3.6m -c kaolin/cuda/furthest_point_sampling_cuda.cu -o build/temp.linux-x86_64-3.6/kaolin/cuda/furthest_point_sampling_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=furthest_point_sampling -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++11
nvcc fatal   : Unsupported gpu architecture 'compute_75'
error: command '/usr/bin/nvcc' failed with exit status 1

Env: System: ubuntu 18.04 CUDA Version 10.0.130 cudnn: 7.5.0 nvcc: nvcc: NVIDIA ® Cuda compiler driver Copyright © 2005-2017 NVIDIA Corporation Built on Fri_Nov__3_21:07:56_CDT_2017 Cuda compilation tools, release 9.1, V9.1.85

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
polarisZhaocommented, Nov 22, 2019

GPU is RTX 2080Ti

add:

extra_compile_args={
                'nvcc':['--gpu-architecture=compute_70','--gpu-code=sm_70']
            }),

to cuda CUDAExtension can solve it.

0reactions
VictorZuanazzicommented, Dec 19, 2019

For the cuda noobies, where exactly should I add this?

extra_compile_args={ 'cxx': ['-O2',], 'nvcc':['--gpu-architecture=compute_70','--gpu-code=sm_70','-O3','-I./cutlass/','-U__CUDA_NO_HALF_OPERATORS__', '-U__CUDA_NO_HALF_CONVERSIONS__'] } Actually is it possible to give the step-by-step of the solution? Where do I add this piece of code? Should I reinstall kaolin? should I

Read more comments on GitHub >

github_iconTop Results From Across the Web

nvcc fatal : Unsupported gpu architecture 'compute_75' #149
when I run :python setup.py build develop. It shows:. /usr/local/cuda/bin/nvcc -DWITH_CUDA ...
Read more >
How to install Torch with new Turing GPU (RTX) - nvcc fatal
"nvcc fatal : Unsupported gpu architecture 'compute_75'". I tried to manually add "7.0"/"7.5" in "select_compute_arch.cmake", but nothing changed.
Read more >
Nvcc fatal: unsupported gpu architecture
Hello, my compiling GPU is Tesla T4, which is sm_75, CUDA verison 11.0, driver version 450.102.04 I try to compile an application on...
Read more >
nvcc fatal : Unsupported gpu architecture 'compute_86'
NVCC of this version is too old to support compute_86 . A possible reason for which this happens is that you have installed...
Read more >
nvcc fatal : unsupported gpu architecture 'compute_75
nvcc fatal : unsupported gpu architecture 'compute_75. # CUDA architecture setting: going with all of them. # For CUDA < 6.0, comment the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found