Skip to content
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_61' #36

Open
Ergou-Liu opened this issue Jan 10, 2023 · 2 comments
Open

nvcc fatal : Unsupported gpu architecture 'compute_61' #36

Ergou-Liu opened this issue Jan 10, 2023 · 2 comments

Comments

@Ergou-Liu
Copy link

python setup.py develop running develop running egg_info writing pointpillars.egg-info/PKG-INFO writing dependency_links to pointpillars.egg-info/dependency_links.txt writing top-level names to pointpillars.egg-info/top_level.txt reading manifest file 'pointpillars.egg-info/SOURCES.txt' writing manifest file 'pointpillars.egg-info/SOURCES.txt' running build_ext building 'voxel_op' extension gcc -pthread -B /home/test/anaconda3/envs/pointpillars/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/TH -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/THC -I/home/test/anaconda3/envs/pointpillars/include/python3.6m -c voxelization/voxelization.cpp -o build/temp.linux-x86_64-3.6/voxelization/voxelization.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=voxel_op -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/test/anaconda3/envs/pointpillars/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/TH -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/THC -I/home/test/anaconda3/envs/pointpillars/include/python3.6m -c voxelization/voxelization_cpu.cpp -o build/temp.linux-x86_64-3.6/voxelization/voxelization_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=voxel_op -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /usr/bin/nvcc -DWITH_CUDA -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/TH -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/THC -I/home/test/anaconda3/envs/pointpillars/include/python3.6m -c voxelization/voxelization_cuda.cu -o build/temp.linux-x86_64-3.6/voxelization/voxelization_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=voxel_op -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_61,code=sm_61 -std=c++11 nvcc fatal : Unsupported gpu architecture 'compute_61' error: command '/usr/bin/nvcc' failed with exit status 1

@Ergou-Liu
Copy link
Author

my GPU is 1080ti,it's fit for 'compute_61'

@salaarhamza
Copy link

python setup.py develop running develop running egg_info writing pointpillars.egg-info/PKG-INFO writing dependency_links to pointpillars.egg-info/dependency_links.txt writing top-level names to pointpillars.egg-info/top_level.txt reading manifest file 'pointpillars.egg-info/SOURCES.txt' writing manifest file 'pointpillars.egg-info/SOURCES.txt' running build_ext building 'voxel_op' extension gcc -pthread -B /home/test/anaconda3/envs/pointpillars/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/TH -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/THC -I/home/test/anaconda3/envs/pointpillars/include/python3.6m -c voxelization/voxelization.cpp -o build/temp.linux-x86_64-3.6/voxelization/voxelization.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=voxel_op -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/test/anaconda3/envs/pointpillars/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/TH -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/THC -I/home/test/anaconda3/envs/pointpillars/include/python3.6m -c voxelization/voxelization_cpu.cpp -o build/temp.linux-x86_64-3.6/voxelization/voxelization_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=voxel_op -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /usr/bin/nvcc -DWITH_CUDA -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/TH -I/home/test/anaconda3/envs/pointpillars/lib/python3.6/site-packages/torch/include/THC -I/home/test/anaconda3/envs/pointpillars/include/python3.6m -c voxelization/voxelization_cuda.cu -o build/temp.linux-x86_64-3.6/voxelization/voxelization_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=voxel_op -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_61,code=sm_61 -std=c++11 nvcc fatal : Unsupported gpu architecture 'compute_61' error: command '/usr/bin/nvcc' failed with exit status 1

I am facing the same error and there seems to be a problem with setting up the environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants