-
Notifications
You must be signed in to change notification settings - Fork 80
Error running 'python setup.py bdist_wheel' #58
Description
(pointgroup) [sjalui@c38a-s33 spconv]$ python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
running build_ext
/blue/agapakie/sjalui/PointGroup/lib/spconv/build/lib.linux-x86_64-cpython-37
Release
-- Caffe2: CUDA detected: 11.4
-- Caffe2: CUDA nvcc is: /apps/compilers/cuda/11.4.3/bin/nvcc
-- Caffe2: CUDA toolkit directory: /apps/compilers/cuda/11.4.3
-- Caffe2: Header version is: 11.4
CMake Warning (dev) at /home/sjalui/.conda/envs/pointgroup/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (CUDNN) does
not match the name of the calling package (Caffe2). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:107 (find_package_handle_standard_args)
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:88 (include)
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:40 (find_package)
CMakeLists.txt:25 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found cuDNN: v7.6.5 (include: /home/sjalui/.conda/envs/pointgroup/include, library: /home/sjalui/.conda/envs/pointgroup/lib/libcudnn.so)
-- Autodetected CUDA architecture(s): 7.5
-- Added CUDA NVCC flags for: -gencode;arch=compute_75,code=sm_75
CMake Warning (dev) at /home/sjalui/.conda/envs/pointgroup/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args (torch) does
not match the name of the calling package (Torch). This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Call Stack (most recent call first):
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:93 (find_package_handle_standard_args)
CMakeLists.txt:25 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- pybind11 v2.3.dev0
-- Configuring done
CMake Warning (dev) in src/spconv/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104"
for policy details. Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "spconv".
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in src/spconv/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104"
for policy details. Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "spconv".
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in src/utils/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104"
for policy details. Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "spconv_nms".
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) in src/utils/CMakeLists.txt:
Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104"
for policy details. Use the cmake_policy command to set the policy and
suppress this warning.
CUDA_ARCHITECTURES is empty for target "spconv_nms".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /blue/agapakie/sjalui/PointGroup/lib/spconv/build/temp.linux-x86_64-cpython-37
Consolidate compiler generated dependencies of target spconv_nms
Consolidate compiler generated dependencies of target spconv
[ 7%] Building CUDA object src/utils/CMakeFiles/spconv_nms.dir/nms.cu.o
[ 23%] Building CXX object src/spconv/CMakeFiles/spconv.dir/indice.cc.o
[ 23%] Building CXX object src/spconv/CMakeFiles/spconv.dir/all.cc.o
[ 30%] Building CUDA object src/spconv/CMakeFiles/spconv.dir/indice.cu.o
[ 38%] Linking CUDA shared library ../../../lib.linux-x86_64-cpython-37/spconv/libspconv_nms.so
[ 38%] Built target spconv_nms
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h: In function ‘void tv::check_torch_dtype(const at::Tensor&)’:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, double>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h: In function ‘void tv::check_torch_dtype(const at::Tensor&)’:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, double>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: note: suggested alternative:
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, double>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:50: error: wrong number of template arguments (1, should be 2)
auto val = std::is_same<std::remove_const_t, double>::value;
^
In file included from /usr/include/c++/4.8.2/bits/move.h:57:0,
from /usr/include/c++/4.8.2/bits/stl_pair.h:59,
from /usr/include/c++/4.8.2/bits/stl_algobase.h:64,
from /usr/include/c++/4.8.2/bits/char_traits.h:39,
from /usr/include/c++/4.8.2/ios:40,
from /usr/include/c++/4.8.2/ostream:38,
from /usr/include/c++/4.8.2/iostream:39,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/geometry.h:18,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:15:
/usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’
struct is_same;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, float>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, float>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
Consolidate compiler generated dependencies of target spconv_utils
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:50: error: wrong number of template arguments (1, should be 2)
auto val = std::is_same<std::remove_const_t, float>::value;
^
In file included from /usr/include/c++/4.8.2/bits/move.h:57:0,
from /usr/include/c++/4.8.2/bits/stl_pair.h:59,
from /usr/include/c++/4.8.2/bits/stl_algobase.h:64,
from /usr/include/c++/4.8.2/bits/char_traits.h:39,
from /usr/include/c++/4.8.2/ios:40,
from /usr/include/c++/4.8.2/ostream:38,
from /usr/include/c++/4.8.2/iostream:39,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/geometry.h:18,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:15:
/usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’
struct is_same;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, int>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, int>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: note: suggested alternative:
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, double>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:50: error: wrong number of template arguments (1, should be 2)
auto val = std::is_same<std::remove_const_t, int>::value;
^
In file included from /usr/include/c++/4.8.2/bits/move.h:57:0,
from /usr/include/c++/4.8.2/bits/stl_pair.h:59,
from /usr/include/c++/4.8.2/bits/stl_algobase.h:64,
from /usr/include/c++/4.8.2/bits/char_traits.h:39,
from /usr/include/c++/4.8.2/ios:40,
from /usr/include/c++/4.8.2/ostream:38,
from /usr/include/c++/4.8.2/iostream:39,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/geometry.h:18,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:15:
/usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’
struct is_same;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, at::Half>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, at::Half>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:50: error: wrong number of template arguments (1, should be 2)
auto val = std::is_same<std::remove_const_t, at::Half>::value;
^
In file included from /usr/include/c++/4.8.2/bits/move.h:57:0,
from /usr/include/c++/4.8.2/bits/stl_pair.h:59,
from /usr/include/c++/4.8.2/bits/stl_algobase.h:64,
from /usr/include/c++/4.8.2/bits/char_traits.h:39,
from /usr/include/c++/4.8.2/ios:40,
from /usr/include/c++/4.8.2/ostream:38,
from /usr/include/c++/4.8.2/iostream:39,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/geometry.h:18,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:15:
/usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’
struct is_same;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h: In function ‘tv::TensorView tv::torch2tv(const at::Tensor&)’:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: error: ‘remove_const_t’ is not a member of ‘st
’
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: error: ‘remove_const_t’ is not a member of ‘st
’
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:21,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:32:50: error: wrong number of template arguments (1, should be 2)
auto val = std::is_same<std::remove_const_t, double>::value;
^
In file included from /usr/include/c++/4.8.2/bits/move.h:57:0,
from /usr/include/c++/4.8.2/bits/stl_pair.h:59,
from /usr/include/c++/4.8.2/utility:70,
from /usr/include/c++/4.8.2/algorithm:60,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/tensorview/tensorview.h:16,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/maxpool.h:17,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:19,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’
struct is_same;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/spconv_ops.h:22:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/indice.cc:17:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:35: error: parse error in template argument list
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:27: error: expected primary-expression before ‘(’ token
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, float>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: note: suggested alternative:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:64: error: expected primary-expression before ‘)’ token
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, float>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:37:50: error: wrong number of template arguments (1, should be 2)
auto val = std::is_same<std::remove_const_t, float>::value;
^
In file included from /usr/include/c++/4.8.2/bits/move.h:57:0,
from /usr/include/c++/4.8.2/bits/stl_pair.h:59,
from /usr/include/c++/4.8.2/utility:70,
from /usr/include/c++/4.8.2/algorithm:60,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/tensorview/tensorview.h:16,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/maxpool.h:17,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:19,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’
struct is_same;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, int>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, int>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:42:50: error: wrong number of template arguments (1, should be 2)
auto val = std::is_same<std::remove_const_t, int>::value;
^
In file included from /usr/include/c++/4.8.2/bits/move.h:57:0,
from /usr/include/c++/4.8.2/bits/stl_pair.h:59,
from /usr/include/c++/4.8.2/utility:70,
from /usr/include/c++/4.8.2/algorithm:60,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/tensorview/tensorview.h:16,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/maxpool.h:17,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:19,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’
struct is_same;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, at::Half>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: error: ‘remove_const_t’ is not a member of ‘st
’
auto val = std::is_same<std::remove_const_t, at::Half>::value;
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:29: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:47:50: error: wrong number of template arguments (1, should be 2)
auto val = std::is_same<std::remove_const_t, at::Half>::value;
^
In file included from /usr/include/c++/4.8.2/bits/move.h:57:0,
from /usr/include/c++/4.8.2/bits/stl_pair.h:59,
from /usr/include/c++/4.8.2/utility:70,
from /usr/include/c++/4.8.2/algorithm:60,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/tensorview/tensorview.h:16,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/maxpool.h:17,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:19,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/usr/include/c++/4.8.2/type_traits:823:12: error: provided for ‘template<class, class> struct std::is_same’
struct is_same;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h: In function ‘tv::TensorView tv::torch2tv(const at::Tensor&)’:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: error: ‘remove_const_t’ is not a member of ‘st
’
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: error: ‘remove_const_t’ is not a member of ‘st
’
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:40: note: suggested alternative:
In file included from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/ArrayRef.h:19:0,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/ScalarType.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/core/Scalar.h:9,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/core/Type.h:8,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Type.h:2,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/torch/script.h:3,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:20,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/torch/include/c10/util/C++17.h:39:77: note: ‘c10::guts::remove_const_t’
template using remove_const_t = typename std::remove_const::type;
^
In file included from /blue/agapakie/sjalui/PointGroup/lib/spconv/include/spconv/pool_ops.h:21:0,
from /blue/agapakie/sjalui/PointGroup/lib/spconv/src/spconv/all.cc:16:
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:35: error: parse error in template argument list
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:27: error: expected primary-expression before ‘(’ token
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
/blue/agapakie/sjalui/PointGroup/lib/spconv/include/torch_utils.h:64:64: error: expected primary-expression before ‘)’ token
return tv::TensorView(tensor.data<std::remove_const_t>(), shape);
^
gmake[2]: *** [src/spconv/CMakeFiles/spconv.dir/indice.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [src/spconv/CMakeFiles/spconv.dir/all.cc.o] Error 1
gmake[1]: *** [src/spconv/CMakeFiles/spconv.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 46%] Building CXX object src/utils/CMakeFiles/spconv_utils.dir/all.cc.o
[ 53%] Linking CXX shared library ../../../lib.linux-x86_64-cpython-37/spconv/spconv_utils.cpython-37m-x86_64-linux-gnu.so
[ 53%] Built target spconv_utils
gmake: *** [all] Error 2
Traceback (most recent call last):
File "setup.py", line 87, in
zip_safe=False,
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/init.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 136, in run
self.run_command(cmd_name)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "setup.py", line 39, in run
self.build_extension(ext)
File "setup.py", line 71, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/home/sjalui/.conda/envs/pointgroup/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j4']' returned non-zero exit status 2.
Can anybody help me, please!