ERROR: Command errored out with exit status 1:
command: /home/ubantu/anaconda3/envs/py36/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-rwngglkz/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-rwngglkz/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-wmsoy7cl
cwd: /tmp/pip-req-build-rwngglkz/
Complete output (177 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/torchsparse
copying torchsparse/point_tensor.py -> build/lib.linux-x86_64-3.6/torchsparse
copying torchsparse/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse
copying torchsparse/sparse_tensor.py -> build/lib.linux-x86_64-3.6/torchsparse
creating build/lib.linux-x86_64-3.6/torchsparse/utils
copying torchsparse/utils/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse/utils
copying torchsparse/utils/helpers.py -> build/lib.linux-x86_64-3.6/torchsparse/utils
copying torchsparse/utils/kernel_region.py -> build/lib.linux-x86_64-3.6/torchsparse/utils
creating build/lib.linux-x86_64-3.6/torchsparse/nn
copying torchsparse/nn/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse/nn
creating build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/sparseconv.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/voxelize.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/count.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/pooling.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/devox.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/activation.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/hash.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/query.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/convert_neighbor_map.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/downsample.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
creating build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/pooling.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/activation.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/batchnorm.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/conv.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
running build_ext
building 'torchsparse_cuda' extension
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hashmap
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others
Emitting ninja build file /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hashmap/hashmap_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hashmap/hashmap_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hashmap/hashmap_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/hashmap/hashmap_cpu.cpp: In member function ‘int HashTableCPU::insert_vals(const int64_t*, const int64_t*, int)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/hashmap/hashmap_cpu.cpp:37:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
[2/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hash/hash_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[3/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hashmap/hashmap.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hashmap/hashmap.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[4/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/convert_neighbor_map_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[5/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[6/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_deterministic_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_deterministic_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[7/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/convolution/convolution_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[8/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/count_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[9/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[10/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_deterministic.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_deterministic.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_deterministic.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_deterministic.o
c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_deterministic.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_deterministic.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_deterministic.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_deterministic.cpp: In function ‘at::Tensor deterministic_devoxelize_forward(at::Tensor, at::Tensor, at::Tensor)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_deterministic.cpp:14:7: warning: unused variable ‘b’ [-Wunused-variable]
int b = feat.size(0);
^
c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
[11/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_cpu.o
c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_cpu.cpp: In function ‘at::Tensor cpu_devoxelize_forward(at::Tensor, at::Tensor, at::Tensor)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_cpu.cpp:14:7: warning: unused variable ‘b’ [-Wunused-variable]
int b = feat.size(0);
^
c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
[12/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/torchsparse_bindings_gpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o
c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/torchsparse_bindings_gpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
[13/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hash/hash_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[14/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/count.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[15/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hash/hash.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[16/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/convert_neighbor_map_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[17/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox.cpp: In function ‘at::Tensor devoxelize_forward(at::Tensor, at::Tensor, at::Tensor)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox.cpp:15:7: warning: unused variable ‘b’ [-Wunused-variable]
int b = feat.size(0);
^
[18/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/convert_neighbor_map.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[19/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/convolution/convolution_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[20/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/convolution/convolution.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[21/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/count_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[22/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[23/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion_cpu.cpp: In function ‘at::Tensor cpu_insertion_backward(at::Tensor, at::Tensor, at::Tensor, int)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion_cpu.cpp:39:7: warning: unused variable ‘N1’ [-Wunused-variable]
int N1 = counts.size(0);
^~
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1400, in _run_ninja_build
check=True)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-rwngglkz/setup.py", line 70, in <module>
zip_safe=False,
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/setuptools/__init__.py", line 163, in setup
return distutils.core.setup(**attrs)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 290, in run
self.run_command('build')
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 87, in run
_build_ext.run(self)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 580, in build_extensions
build_ext.build_extensions(self)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 194, in build_extensions
self.build_extension(ext)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
depends=ext.depends)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 423, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1140, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1413, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension
----------------------------------------
ERROR: Failed building wheel for torchsparse
Running setup.py clean for torchsparse
Failed to build torchsparse
DEPRECATION: Could not build wheels for torchsparse which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
Installing collected packages: torchsparse
Running setup.py install for torchsparse ... error
ERROR: Command errored out with exit status 1:
command: /home/ubantu/anaconda3/envs/py36/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-rwngglkz/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-rwngglkz/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-dl_tmugw/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubantu/anaconda3/envs/py36/include/python3.6m/torchsparse
cwd: /tmp/pip-req-build-rwngglkz/
Complete output (179 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/torchsparse
copying torchsparse/point_tensor.py -> build/lib.linux-x86_64-3.6/torchsparse
copying torchsparse/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse
copying torchsparse/sparse_tensor.py -> build/lib.linux-x86_64-3.6/torchsparse
creating build/lib.linux-x86_64-3.6/torchsparse/utils
copying torchsparse/utils/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse/utils
copying torchsparse/utils/helpers.py -> build/lib.linux-x86_64-3.6/torchsparse/utils
copying torchsparse/utils/kernel_region.py -> build/lib.linux-x86_64-3.6/torchsparse/utils
creating build/lib.linux-x86_64-3.6/torchsparse/nn
copying torchsparse/nn/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse/nn
creating build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/sparseconv.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/voxelize.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/count.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/pooling.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/devox.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/activation.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/hash.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/query.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/convert_neighbor_map.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
copying torchsparse/nn/functional/downsample.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/functional
creating build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/__init__.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/pooling.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/activation.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/batchnorm.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
copying torchsparse/nn/modules/conv.py -> build/lib.linux-x86_64-3.6/torchsparse/nn/modules
running build_ext
building 'torchsparse_cuda' extension
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hashmap
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation
creating /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others
Emitting ninja build file /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hashmap/hashmap_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hashmap/hashmap_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hashmap/hashmap_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/hashmap/hashmap_cpu.cpp: In member function ‘int HashTableCPU::insert_vals(const int64_t*, const int64_t*, int)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/hashmap/hashmap_cpu.cpp:37:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
[2/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hash/hash_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[3/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hashmap/hashmap.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hashmap/hashmap.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[4/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/convert_neighbor_map_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[5/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[6/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_deterministic_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_deterministic_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[7/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/convolution/convolution_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[8/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/count_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[9/25] /usr/local/cuda-10.1/bin/nvcc -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion_gpu.cu -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
[10/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/convolution/convolution_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution_cpu.o
c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/convolution/convolution_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
[11/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/torchsparse_bindings_gpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o
c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/torchsparse_bindings_gpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/torchsparse_bindings_gpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
[12/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/convolution/convolution.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution.o
c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/convolution/convolution.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/convolution/convolution.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
c++: internal compiler error: 已杀死 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
[13/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hash/hash_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[14/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_cpu.cpp: In function ‘at::Tensor cpu_devoxelize_forward(at::Tensor, at::Tensor, at::Tensor)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_cpu.cpp:14:7: warning: unused variable ‘b’ [-Wunused-variable]
int b = feat.size(0);
^
[15/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_deterministic.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_deterministic.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox_deterministic.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_deterministic.cpp: In function ‘at::Tensor deterministic_devoxelize_forward(at::Tensor, at::Tensor, at::Tensor)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox_deterministic.cpp:14:7: warning: unused variable ‘b’ [-Wunused-variable]
int b = feat.size(0);
^
[16/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/convert_neighbor_map.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[17/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/hash/hash.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/hash/hash.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[18/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/interpolation/devox.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox.cpp: In function ‘at::Tensor devoxelize_forward(at::Tensor, at::Tensor, at::Tensor)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/interpolation/devox.cpp:15:7: warning: unused variable ‘b’ [-Wunused-variable]
int b = feat.size(0);
^
[19/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/count.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[20/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/convert_neighbor_map_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/convert_neighbor_map_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[21/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/count_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/count_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[22/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion_cpu.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion_cpu.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion_cpu.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion_cpu.cpp: In function ‘at::Tensor cpu_insertion_backward(at::Tensor, at::Tensor, at::Tensor, int)’:
/tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion_cpu.cpp:39:7: warning: unused variable ‘N1’ [-Wunused-variable]
int N1 = counts.size(0);
^~
[23/25] c++ -MMD -MF /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion.o.d -pthread -B /home/ubantu/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/TH -I/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/ubantu/anaconda3/envs/py36/include/python3.6m -c -c /tmp/pip-req-build-rwngglkz/torchsparse/src/others/insertion.cpp -o /tmp/pip-req-build-rwngglkz/build/temp.linux-x86_64-3.6/torchsparse/src/others/insertion.o -g -O3 -fopenmp -lgomp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=torchsparse_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1400, in _run_ninja_build
check=True)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-rwngglkz/setup.py", line 70, in <module>
zip_safe=False,
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/setuptools/__init__.py", line 163, in setup
return distutils.core.setup(**attrs)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 87, in run
_build_ext.run(self)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 580, in build_extensions
build_ext.build_extensions(self)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 194, in build_extensions
self.build_extension(ext)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
depends=ext.depends)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 423, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1140, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/ubantu/anaconda3/envs/py36/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1413, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension
----------------------------------------
ERROR: Command errored out with exit status 1: /home/ubantu/anaconda3/envs/py36/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-rwngglkz/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-rwngglkz/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-dl_tmugw/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubantu/anaconda3/envs/py36/include/python3.6m/torchsparse Check the logs for full command output.