PointPillars icon indicating copy to clipboard operation
PointPillars copied to clipboard

nvcc fatal : Unsupported gpu architecture 'compute_61'

Open Ergou-Liu opened this issue 2 years ago • 2 comments

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 avatar Jan 10 '23 03:01 Ergou-Liu

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

Ergou-Liu avatar Jan 11 '23 02:01 Ergou-Liu

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.

salaarhamza avatar Apr 10 '24 12:04 salaarhamza