RuntimeError: Error compiling objects for extension [cub]
See original GitHub issueIssue installing kaolin in Linux Ubuntu nvcc is
Cuda compilation tools, release 11.1, V11.1.105 Build cuda_11.1.TC455_06.29190527_0
cuda
11.1
Here all the error.
I followed this instruction https://kaolin.readthedocs.io/en/latest/notes/installation.html and I also manually install the Cpython 29.20 https://pypi.org/project/Cython/0.29.20/
Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
running develop
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running egg_info
creating kaolin.egg-info
writing kaolin.egg-info/PKG-INFO
writing dependency_links to kaolin.egg-info/dependency_links.txt
writing requirements to kaolin.egg-info/requires.txt
writing top-level names to kaolin.egg-info/top_level.txt
writing manifest file 'kaolin.egg-info/SOURCES.txt'
reading manifest file 'kaolin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'kaolin.egg-info/SOURCES.txt'
running build_ext
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/utils/cpp_extension.py:813: UserWarning: The detected CUDA version (11.1) has a minor version mismatch with the version that was used to compile PyTorch (11.3). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'kaolin._C' extension
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/metrics
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/mesh_to_spc
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/unbatched_mcube
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/mesh
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/render
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/render/mesh
creating /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/render/spc
Emitting ninja build file /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/35] /usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.o
/usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
/home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc_cuda.cu:21:10: fatal error: cub/device/device_scan.cuh: No such file or directory
21 | #include <cub/device/device_scan.cuh>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/35] /usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/generate_points.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/generate_points.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/generate_points.o
/usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/generate_points.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/generate_points.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
In file included from /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/generate_points.cu:21:
/home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/../../spc_utils.cuh:23:10: fatal error: cub/device/device_scan.cuh: No such file or directory
23 | #include <cub/device/device_scan.cuh>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[3/35] /usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o
/usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
/home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu:26:10: fatal error: cub/cub.cuh: No such file or directory
26 | #include <cub/cub.cuh>
| ^~~~~~~~~~~~~
compilation terminated.
[4/35] /usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/convolution_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
FAILED: /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/convolution_cuda.o
/usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/convolution_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
/home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu:24:10: fatal error: cub/device/device_scan.cuh: No such file or directory
24 | #include <cub/device/device_scan.cuh>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[5/35] c++ -MMD -MF /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/mesh/mesh_intersection.o.d -pthread -B /home/alberto/anaconda3/envs/pvd_kaolin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/mesh/mesh_intersection.cpp -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/mesh/mesh_intersection.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -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++
[6/35] c++ -MMD -MF /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube.o.d -pthread -B /home/alberto/anaconda3/envs/pvd_kaolin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube.cpp -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -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++
[7/35] c++ -MMD -MF /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/packed_simple_sum.o.d -pthread -B /home/alberto/anaconda3/envs/pvd_kaolin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/packed_simple_sum.cpp -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/packed_simple_sum.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -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++
[8/35] c++ -MMD -MF /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/metrics/sided_distance.o.d -pthread -B /home/alberto/anaconda3/envs/pvd_kaolin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/metrics/sided_distance.cpp -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/metrics/sided_distance.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -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++
[9/35] c++ -MMD -MF /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/metrics/unbatched_triangle_distance.o.d -pthread -B /home/alberto/anaconda3/envs/pvd_kaolin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/metrics/unbatched_triangle_distance.cpp -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/metrics/unbatched_triangle_distance.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -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++
[10/35] c++ -MMD -MF /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/feature_grids.o.d -pthread -B /home/alberto/anaconda3/envs/pvd_kaolin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/feature_grids.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -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++
In file included from /home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8,
from /home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp:16:
/home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp: In function ‘at::Tensor kaolin::to_dense_forward(at::Tensor, int, at::Tensor, at::Tensor)’:
/home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp:67:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint’ {aka ‘unsigned int’} [-Wsign-compare]
67 | TORCH_CHECK(num_features == psize);
| ~~~~~~~~~~~~~^~~~~~~~
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:205:64: note: in definition of macro ‘C10_UNLIKELY’
205 | #define C10_UNLIKELY(expr) (__builtin_expect(static_cast<bool>(expr), 0))
| ^~~~
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:460:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
460 | if (C10_UNLIKELY_OR_CONST(!(cond))) { \
| ^~~~~~~~~~~~~~~~~~~~~
/home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp:67:3: note: in expansion of macro ‘TORCH_CHECK’
67 | TORCH_CHECK(num_features == psize);
| ^~~~~~~~~~~
[11/35] c++ -MMD -MF /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc.o.d -pthread -B /home/alberto/anaconda3/envs/pvd_kaolin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc.cpp -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -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++
[12/35] c++ -MMD -MF /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/convolution.o.d -pthread -B /home/alberto/anaconda3/envs/pvd_kaolin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/convolution.cpp -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/convolution.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -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++
[13/35] /usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/spc/feature_grids_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/feature_grids_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
[14/35] /usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/mesh/mesh_intersection_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/mesh/mesh_intersection_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
[15/35] /usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/ops/packed_simple_sum_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/packed_simple_sum_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
[16/35] /usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/metrics/unbatched_triangle_distance_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/metrics/unbatched_triangle_distance_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
[17/35] /usr/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/metrics/sided_distance_cuda.cu -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/metrics/sided_distance_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=compute_75 -gencode=arch=compute_75,code=sm_75 -std=c++14
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
[18/35] c++ -MMD -MF /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/bindings.o.d -pthread -B /home/alberto/anaconda3/envs/pvd_kaolin/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/TH -I/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/include/THC -I/home/alberto/anaconda3/envs/pvd_kaolin/include/python3.8 -c -c /home/alberto/Documents/PartDiffusion/code/kaolin/kaolin/csrc/bindings.cpp -o /home/alberto/Documents/PartDiffusion/code/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/bindings.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -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/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1808, in _run_ninja_build
subprocess.run(
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "setup.py", line 283, in <module>
setup(
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
self.run_command(cmd)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 765, in build_extensions
build_ext.build_extensions(self)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 466, in build_extensions
self._build_extensions_serial()
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 492, in _build_extensions_serial
self.build_extension(ext)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 547, in build_extension
objects = self.compiler.compile(
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 586, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1487, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/alberto/anaconda3/envs/pvd_kaolin/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1824, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
before I tried to set up CUB: export CUB_HOME=/usr/include/cuda-* since I think it is here

Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
RuntimeError: Error compiling objects for extension #910
when I python setup.py install to install 0.4.0 .It failed .how can I solve it? Traceback (most recent call last):
Read more >RuntimeError: Error compiling objects for extension while ...
I just finished installing the tensorflow object detection API so I have pycocotools and other c++ build tools required. Are there more ...
Read more >Source code for torch.utils.cpp_extension - MMCV
Please use {pytorch_compiler} to to compile your extension. ... there isn't a good way to get it here. error_prefix='Error compiling objects for extension') ......
Read more >NVIDIA - Bountysource
RuntimeError: CUDA error: an illegal memory access was encountered ... How can I ass cublas? Build ... RuntimeError: Error compiling objects for extension...
Read more >Changelog | Thrust
NVIDIA/thrust#1760: A compile-time error is now emitted when a __device__ -only lambda's return type is queried from host code (requires libcu++ ≥ 1.9.0)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @albertotono , thank you for you interest in Kaolin
From this line:
I can tell your cuda version is not matcihng pytorch version (you probably want to update your CUDA or use a suitable pytorch version.
In case you can’t, you want to follow the installation guidelines and set the environment variable
CUB_HOME=/path/to/kaolin/third_party/cub/Thanks @Caenorst it is working, I am able to install Kaolin.
FYI I am receiving this message now
and when I run the test this message:
==== 12596 passed, 1456 skipped, 108336 warnings in 473.29s (0:07:53)====I think I can close it now.