Error, RuntimeError: CUDA error: initialization error when execute _C.metrics.unbatched_triangle_distance_forward_cuda(
gushengbo opened this issue · 4 comments
File "/home/shengbo/ICON-master/lib/common/seg3d_lossless.py", line 169, in _forward_faster
occupancys = self.batch_eval(coords, **kwargs)
File "/home/shengbo/ICON-master/lib/common/seg3d_lossless.py", line 138, in batch_eval
occupancys = self.query_func(**kwargs, points=coords2D)
File "/home/shengbo/ICON-master/lib/common/train_util.py", line 434, in query_func
preds = netG.query(features=features,
File "/home/shengbo/ICON-master/lib/net/HGPIFuNet.py", line 307, in query
point_feat_out = point_feat_extractor.query(
File "/home/shengbo/ICON-master/lib/dataset/PointFeat.py", line 44, in query
residues, pts_ind, _ = point_to_mesh_distance(points, self.triangles)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/kaolin/metrics/trianglemesh.py", line 75, in point_to_mesh_distance
cur_dist, cur_face_idx, cur_dist_type = _UnbatchedTriangleDistanceCuda.apply(
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/kaolin/metrics/trianglemesh.py", line 119, in forward
_C.metrics.unbatched_triangle_distance_forward_cuda(
RuntimeError: CUDA error: initialization error
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
my CUDA is 10.2, it's avaliable
Hi @gushengbo , please provide full installation logs, usually for this kind of errors, your cuda is not matching your torch
Hi @Caenorst , in this installation:
torch is 1.10.0, CUDA 10.2, but I Off-line install kaolin with .whl file.
now, I install last kaolin through git clone and install ninja, but get another error. I think these errors all come from one.
function "isnan(float)"
function "std::isnan(float)"
argument types are: (float)
/usr/local/cuda/include/thrust/detail/complex/catrigf.h(294): error: more than one instance of overloaded function "thrust::detail::isnan" matches the argument list:
function "isnan(float)"
function "std::isnan(float)"
argument types are: (float)
/usr/local/cuda/include/thrust/detail/complex/catrigf.h(298): error: more than one instance of overloaded function "thrust::detail::isnan" matches the argument list:
function "isnan(float)"
function "std::isnan(float)"
argument types are: (float)
/usr/local/cuda/include/thrust/detail/complex/catrigf.h(301): error: more than one instance of overloaded function "thrust::detail::isnan" matches the argument list:
function "isnan(float)"
function "std::isnan(float)"
argument types are: (float)
/usr/local/cuda/include/thrust/detail/complex/catrigf.h(377): error: more than one instance of overloaded function "thrust::detail::isinf" matches the argument list:
function "isinf(float)"
function "std::isinf(float)"
argument types are: (float)
/usr/local/cuda/include/thrust/detail/complex/catrigf.h(410): error: more than one instance of overloaded function "thrust::detail::isnan" matches the argument list:
function "isnan(float)"
function "std::isnan(float)"
argument types are: (float)
/usr/local/cuda/include/thrust/detail/complex/catrigf.h(410): error: more than one instance of overloaded function "thrust::detail::isnan" matches the argument list:
function "isnan(float)"
function "std::isnan(float)"
argument types are: (float)
/usr/local/cuda/include/thrust/detail/complex/catrigf.h(411): error: more than one instance of overloaded function "thrust::detail::isinf" matches the argument list:
function "isinf(float)"
function "std::isinf(float)"
argument types are: (float)
/usr/local/cuda/include/thrust/detail/complex/catrigf.h(413): error: more than one instance of overloaded function "thrust::detail::isinf" matches the argument list:
function "isinf(float)"
function "std::isinf(float)"
argument types are: (float)
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
56 errors detected in the compilation of "/tmp/tmpxft_00004d8b_00000000-6_minkowski_conv.cpp1.ii".
[6/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/query.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/query.cpp -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/query.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/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/query.cpp:16:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[7/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/convolution.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/convolution.cpp -o /home/shengbo/ICON-master/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
FAILED: /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/convolution.o
c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/convolution.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/convolution.cpp -o /home/shengbo/ICON-master/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++
In file included from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/convolution.cpp:23:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/convolution.cpp: In function ‘std::tuple<at::Tensor, int> kaolin::ConvTranspose3d_forward(at::Tensor, at::Tensor, uint32_t, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, uint32_t)’:
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/convolution.cpp:416:26: error: converting to ‘std::tuple<at::Tensor, int>’ from initializer list would use explicit constructor ‘constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) [with _U1 = at::Tensor&; _U2 = int&; = void; _T1 = at::Tensor; _T2 = int]’
return {outputs, Plevel};
^
[8/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/tile_to_packed.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/tile_to_packed.cpp -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/tile_to_packed.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/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/tile_to_packed.cpp:15:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[9/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/feature_grids.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp -o /home/shengbo/ICON-master/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/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp:16:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
In file included from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp:16:
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp: In function ‘at::Tensor kaolin::to_dense_forward(at::Tensor, int, at::Tensor, at::Tensor)’:
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp:67:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
TORCH_CHECK(num_features == psize);
^
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:205:64: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:460:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/feature_grids.cpp:67:3: note: in expansion of macro ‘TORCH_CHECK’
TORCH_CHECK(num_features == psize);
^
[10/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/metrics/unbatched_triangle_distance.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/metrics/unbatched_triangle_distance.cpp -o /home/shengbo/ICON-master/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++
In file included from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/metrics/unbatched_triangle_distance.cpp:16:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[11/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/mesh/mesh_intersection.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/mesh/mesh_intersection.cpp -o /home/shengbo/ICON-master/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++
In file included from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/mesh/mesh_intersection.cpp:16:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[12/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /home/shengbo/ICON-master/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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
FAILED: /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.o
/usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu -o /home/shengbo/ICON-master/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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu(659): error: more than one instance of overloaded function "log2" matches the argument list:
function "log2(double)"
function "log2(float)"
argument types are: (int)
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu(660): error: more than one instance of overloaded function "log2" matches the argument list:
function "log2(double)"
function "log2(float)"
argument types are: (int)
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/conversions/unbatched_mcube/unbatched_mcube_cuda.cu(661): error: more than one instance of overloaded function "log2" matches the argument list:
function "log2(double)"
function "log2(float)"
argument types are: (int)
3 errors detected in the compilation of "/tmp/tmpxft_00004d59_00000000-6_unbatched_mcube_cuda.cpp1.ii".
[13/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/point_utils.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/point_utils.cpp -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/point_utils.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/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/point_utils.cpp:16:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[14/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/render/mesh/dibr_soft_mask.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/render/mesh/dibr_soft_mask.cpp -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/render/mesh/dibr_soft_mask.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/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/render/mesh/dibr_soft_mask.cpp:16:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[15/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc.cpp -o /home/shengbo/ICON-master/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++
In file included from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/conversions/mesh_to_spc/mesh_to_spc.cpp:18:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[16/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/metrics/sided_distance.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/metrics/sided_distance.cpp -o /home/shengbo/ICON-master/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++
In file included from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/metrics/sided_distance.cpp:41:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[17/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/render/mesh/deftet.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/render/mesh/deftet.cpp -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/render/mesh/deftet.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/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/render/mesh/deftet.cpp:18:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[18/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/packed_simple_sum_cuda.cu -o /home/shengbo/ICON-master/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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[19/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/render/mesh/deftet_cuda.cu -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/render/mesh/deftet_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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[20/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/feature_grids_cuda.cu -o /home/shengbo/ICON-master/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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[21/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/generate_points.cu -o /home/shengbo/ICON-master/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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[22/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/mesh/mesh_intersection_cuda.cu -o /home/shengbo/ICON-master/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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[23/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/metrics/unbatched_triangle_distance_cuda.cu -o /home/shengbo/ICON-master/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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[24/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/tile_to_packed_cuda.cu -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/tile_to_packed_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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[25/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/render/mesh/dibr_soft_mask_cuda.cu -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/render/mesh/dibr_soft_mask_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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[26/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/metrics/sided_distance_cuda.cu -o /home/shengbo/ICON-master/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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[27/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/convolution_cuda.cu -o /home/shengbo/ICON-master/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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[28/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/query_cuda.cu -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/query_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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/query_cuda.cu: In lambda function:
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/query_cuda.cu:86:50: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES_AND_HALF(query_coords.type(), "query_cuda", ([&] {
^
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:213:1: note: declared here
DeprecatedTypeProperties & type() const {
^
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/query_cuda.cu:86:105: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:178:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/query_cuda.cu: In lambda function:
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/query_cuda.cu:111:50: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES_AND_HALF(query_coords.type(), "query_multiscale_cuda", ([&] {
^
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:213:1: note: declared here
DeprecatedTypeProperties & type() const {
^
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/query_cuda.cu:111:105: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:178:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^
[29/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/scan_octrees.cu -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/scan_octrees.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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
[30/37] c++ -MMD -MF /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/bindings.o.d -pthread -B /home/shengbo/anaconda3/envs/icon/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/bindings.cpp -o /home/shengbo/ICON-master/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++
In file included from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9:0,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/extension.h:4,
from /home/shengbo/ICON-master/kaolin/kaolin/csrc/bindings.cpp:16:
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:67: warning: type attributes ignored after type is already defined [-Wattributes]
enum class TORCH_API Float32MatmulPrecision {HIGHEST, HIGH, MEDIUM};
^
[31/37] /usr/local/cuda/bin/nvcc -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/shengbo/ICON-master/kaolin/third_party/cub -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/TH -I/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/shengbo/anaconda3/envs/icon/include/python3.8 -c -c /home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu -o /home/shengbo/ICON-master/kaolin/build/temp.linux-x86_64-cpython-38/kaolin/csrc/ops/spc/point_utils_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_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h(25): warning: attribute "visibility" does not apply here
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Context.h:25:99: warning: type attributes ignored after type is already defined [-Wattributes]
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu: In lambda function:
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu:206:46: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES_AND_HALF(feats_in.type(), "interpolate_trilinear_cuda", ([&] {
^
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:213:1: note: declared here
DeprecatedTypeProperties & type() const {
^
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu:206:101: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:178:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu: In lambda function:
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu:231:44: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES_AND_HALF(coeffs.type(), "coords_to_trilinear_cuda", ([&] {
^
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:213:1: note: declared here
DeprecatedTypeProperties & type() const {
^
/home/shengbo/ICON-master/kaolin/kaolin/csrc/ops/spc/point_utils_cuda.cu:231:99: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations]
/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:178:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1808, in _run_ninja_build
subprocess.run(
File "/home/shengbo/anaconda3/envs/icon/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 286, in
setup(
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
super().run_command(command)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 765, in build_extensions
build_ext.build_extensions(self)
File "/home/shengbo/anaconda3/envs/icon/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/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 468, in build_extensions
self._build_extensions_serial()
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 494, in _build_extensions_serial
self.build_extension(ext)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
_build_ext.build_extension(self, ext)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 549, in build_extension
objects = self.compiler.compile(
File "/home/shengbo/anaconda3/envs/icon/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/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1487, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/shengbo/anaconda3/envs/icon/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
there are my system:
cluster
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89
torch 1.12.1+cu102
torchaudio 0.12.1+cu102
torchmetrics 0.11.0
torchvision 0.13.1+cu102
Now I successfully install kaolin==0.12.0 with ninja, but I get another bug when I run the code.
(icon) shengbo@gaia:~/ICON-master$ python -m apps.train -cfg ./configs/train/icon-filter.yaml -test
PyMeshLab 0.1.7 based on MeshLab 2020.12d
mesh............. True
ICON:
w/ Global Image Encoder: True
Image Features used by MLP: ['normal_F', 'normal_B']
Geometry Features used by MLP: ['sdf', 'cmap', 'norm', 'vis']
Dim of Image Features (local): 6
Dim of Geometry Features (ICON): 7
Dim of MLP's first layer: 13
GPU available: True, used: True
TPU available: None, using: 0 TPU cores
Resume MLP weights from ./data/ckpt/icon-filter.ckpt
Resume normal model from ./data/ckpt/normal.ckpt
load from ./data/cape/test.txt
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0,1,2,3]
cuda::::::: True
Testing: 0it [00:00, ?it/s]Traceback (most recent call last):
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/shengbo/ICON-master/apps/train.py", line 144, in
trainer.test(model=model, datamodule=datamodule)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 915, in test
results = self.__test_given_model(model, test_dataloaders)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 973, in __test_given_model
results = self.fit(model)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 499, in fit
self.dispatch()
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 540, in dispatch
self.accelerator.start_testing(self)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/accelerators/accelerator.py", line 76, in start_testing
self.training_type_plugin.start_testing(trainer)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 118, in start_testing
self._results = trainer.run_test()
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 786, in run_test
eval_loop_results, _ = self.run_evaluation()
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 725, in run_evaluation
output = self.evaluation_loop.evaluation_step(batch, batch_idx, dataloader_idx)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/trainer/evaluation_loop.py", line 160, in evaluation_step
output = self.trainer.accelerator.test_step(args)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/accelerators/accelerator.py", line 195, in test_step
return self.training_type_plugin.test_step(*args)
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 134, in test_step
return self.lightning_module.test_step(*args, **kwargs)
File "/home/shengbo/ICON-master/apps/ICON.py", line 572, in test_step
sdf = self.reconEngine(opt=self.cfg,
File "/home/shengbo/anaconda3/envs/icon/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/shengbo/ICON-master/lib/common/seg3d_lossless.py", line 147, in forward
return self._forward_faster(**kwargs)
File "/home/shengbo/ICON-master/lib/common/seg3d_lossless.py", line 169, in _forward_faster
occupancys = self.batch_eval(coords, **kwargs)
File "/home/shengbo/ICON-master/lib/common/seg3d_lossless.py", line 138, in batch_eval
occupancys = self.query_func(**kwargs, points=coords2D)
File "/home/shengbo/ICON-master/lib/common/train_util.py", line 434, in query_func
preds = netG.query(features=features,
File "/home/shengbo/ICON-master/lib/net/HGPIFuNet.py", line 307, in query
point_feat_out = point_feat_extractor.query(
File "/home/shengbo/ICON-master/lib/dataset/PointFeat.py", line 44, in query
residues, pts_ind, _ = point_to_mesh_distance(points, self.triangles)
File "/home/shengbo/ICON-master/kaolin/kaolin/metrics/trianglemesh.py", line 81, in point_to_mesh_distance
cur_dist, cur_face_idx, cur_dist_type = _UnbatchedTriangleDistanceCuda.apply(
File "/home/shengbo/ICON-master/kaolin/kaolin/metrics/trianglemesh.py", line 125, in forward
_C.metrics.unbatched_triangle_distance_forward_cuda(
RuntimeError: unbatched_triangle_distance not built with CUDA
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89
kaolin 0.12.0 /home/shengbo/ICON-master/kaolin
torch 1.12.1+cu102
torchaudio 0.12.1+cu102
torchmetrics 0.11.0
torchvision 0.13.1+cu102
I am in cluster.
I find my gcc is too low
Ubuntu 5.4.0-6ubuntu1~16.04.12