MinkowskiEngine
MinkowskiEngine copied to clipboard
MinkowskiEngine-0.5.2/src/coordinate_map_cpu.hpp:221:11: error: ‘#pragma omp atomic capture’ uses two different expressions for memory
I just download MinkowskiEngine-0.5.2 from github release and run
python setup.py install --blas=openblas --force_cuda
then it comes
g++-7 -pthread -shared /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/math_functions_cpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/math_functions_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/coordinate_map_manager.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/coordinate_map_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/convolution_kernel.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/convolution_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/convolution_transpose_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/pooling_avg_kernel.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/pooling_max_kernel.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/local_pooling_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/local_pooling_transpose_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/global_pooling_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/broadcast_kernel.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/broadcast_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/pruning_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/interpolation_gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/spmm.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/gpu.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/quantization.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/direct_max_pool.o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/pybind/minkowski.o -L/home/chx/pyenv/minkovenv/lib/python3.6/site-packages/torch/lib -L/usr/local/cuda-11.1/lib64 -lcusparse -lopenblas -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-3.6/MinkowskiEngineBackend/_C.cpython-36m-x86_64-linux-gnu.so
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/math_functions_cpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/math_functions_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/coordinate_map_manager.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/coordinate_map_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/convolution_kernel.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/convolution_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/convolution_transpose_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/pooling_avg_kernel.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/pooling_max_kernel.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/local_pooling_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/local_pooling_transpose_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/global_pooling_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/broadcast_kernel.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/broadcast_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/pruning_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/interpolation_gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/spmm.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/gpu.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/quantization.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/direct_max_pool.o: No such file or directory
g++-7: error: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/pybind/minkowski.o: No such file or directory
Then in order to generate .o files ,I run manually ninja:
ninja -f ./build/temp.linux-x86_64-3.6/build.ninja -j 8
And it failed and print:
[2/21] g++-7 -MMD -MF /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/M...'-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/quantization.o
g++-7 -MMD -MF /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/quantization.o.d -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/chx/pyenv/minkovenv/lib/python3.6/site-packages/torch/include -I/home/chx/pyenv/minkovenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/chx/pyenv/minkovenv/lib/python3.6/site-packages/torch/include/TH -I/home/chx/pyenv/minkovenv/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-11.1/include -I/home/chx/phd/MinkowskiEngine-0.5.2/src -I/home/chx/phd/MinkowskiEngine-0.5.2/src/3rdparty -I/home/chx/pyenv/minkovenv/include -I/usr/local/python3.6/include/python3.6m -c -c /home/chx/phd/MinkowskiEngine-0.5.2/src/quantization.cpp -o /home/chx/phd/MinkowskiEngine-0.5.2/build/temp.linux-x86_64-3.6/home/chx/phd/MinkowskiEngine-0.5.2/src/quantization.o -fopenmp -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/chx/phd/MinkowskiEngine-0.5.2/src/quantization.cpp:32:0:
/home/chx/phd/MinkowskiEngine-0.5.2/src/coordinate_map_cpu.hpp: In function ‘std::vector<at::Tensor> minkowski::detail::interpolation_map_weight_kernel(uint32_t, uint32_t, const Dtype*, const MapType&, const stride_type&)’:
/home/chx/phd/MinkowskiEngine-0.5.2/src/coordinate_map_cpu.hpp:221:11: error: ‘#pragma omp atomic capture’ uses two different expressions for memory
}
My OS is :Ubuntu 16.04 torch : 1.8.1 with cuda11.1 cuda:11.1 g++:7.1.0
The first error seems like pytorch did not use ninja automatically for compilation. Please use the latest master, which forces ninja for compilation, instead of the release version.
git clone https://github.com/NVIDIA/MinkowskiEngine.git
The second error is a GCC version error. Please use GCC >= 7.4.0
Also, pytorch 1.8.1 + CUDA11.X is buggy. Please follow the conda installation instruction to use either 1.8.1 with CUDA 10.2 or 1.7.1 with CUDA 11.
Thank you for your reply! However ,when I switch GCC to 7.5.0 and torch 1.8.1 with cuda 10.2,it comes another problem
[18/21] /usr/local/cuda-10.2/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/build/temp.linux-x86_64-3.6/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.o.d -I/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include -I/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/TH -I/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src -I/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/3rdparty -I/home/chx/pyenv/torchenv/include -I/usr/local/python3.6/include/python3.6m -c -c /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu -o /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/build/temp.linux-x86_64-3.6/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -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 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -ccbin g++ -std=c++14
FAILED: /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/build/temp.linux-x86_64-3.6/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.o
/usr/local/cuda-10.2/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/build/temp.linux-x86_64-3.6/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.o.d -I/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include -I/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/TH -I/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src -I/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/3rdparty -I/home/chx/pyenv/torchenv/include -I/usr/local/python3.6/include/python3.6m -c -c /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu -o /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/build/temp.linux-x86_64-3.6/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.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'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -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 -gencode=arch=compute_61,code=compute_61 -gencode=arch=compute_61,code=sm_61 -ccbin g++ -std=c++14
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu(102): warning: variable "is_int64" was declared but never referenced
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu(358): warning: variable "is_int64" was declared but never referenced
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu(465): warning: variable "num_unique_keys" was declared but never referenced
detected during instantiation of "std::vector<at::Tensor, std::allocator<at::Tensor>> minkowski::coo_spmm_average<th_int_type>(const at::Tensor &, const at::Tensor &, int64_t, int64_t, const at::Tensor &, int64_t) [with th_int_type=int32_t]"
(593): here
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu(465): warning: variable "num_unique_keys" was declared but never referenced
detected during instantiation of "std::vector<at::Tensor, std::allocator<at::Tensor>> minkowski::coo_spmm_average<th_int_type>(const at::Tensor &, const at::Tensor &, int64_t, int64_t, const at::Tensor &, int64_t) [with th_int_type=int32_t]"
(593): here
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu: In instantiation of ‘minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()>::<lambda()> [with th_int_type = int]’:
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu:206:0: required from ‘struct minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()> [with th_int_type = int]::<lambda()>’
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu:206:0: required from ‘minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()> [with th_int_type = int]’
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu:206:0: required from ‘struct minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool) [with th_int_type = int; int64_t = long int]::<lambda()>’
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu:206:0: required from ‘at::Tensor minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool) [with th_int_type = int; int64_t = long int]’
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu:338:232: required from here
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/spmm.cu:206:1348: internal compiler error: in maybe_undo_parenthesized_ref, at cp/semantics.c:1740
AT_DISPATCH_FLOATING_TYPES(vals.scalar_type(), "coo_spmm", [&] {
^
0x6c1209 maybe_undo_parenthesized_ref(tree_node*)
../../gcc/cp/semantics.c:1739
0x7064a8 cp_fold
../../gcc/cp/cp-gimplify.c:2180
0x70730c cp_fold_maybe_rvalue
../../gcc/cp/cp-gimplify.c:2042
0x7061b6 cp_fold
../../gcc/cp/cp-gimplify.c:2149
0x69da0f cp_build_binary_op(unsigned int, tree_code, tree_node*, tree_node*, int)
../../gcc/cp/typeck.c:5260
0x5e472c build_new_op_1
../../gcc/cp/call.c:5978
0x5e520e build_new_op(unsigned int, tree_code, int, tree_node*, tree_node*, tree_node*, tree_node**, int)
../../gcc/cp/call.c:6022
0x695882 build_x_binary_op(unsigned int, tree_code, tree_node*, tree_code, tree_node*, tree_code, tree_node**, int)
../../gcc/cp/typeck.c:3941
0x61e38f tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../gcc/cp/pt.c:17001
0x61e338 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../gcc/cp/pt.c:16998
0x61f506 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../gcc/cp/pt.c:17312
0x61fe40 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../gcc/cp/pt.c:17660
0x61f665 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../gcc/cp/pt.c:16897
0x61e0f9 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../gcc/cp/pt.c:17137
0x614ad7 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
../../gcc/cp/pt.c:16732
0x614ad7 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/cp/pt.c:16613
0x614915 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/cp/pt.c:15874
0x614965 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/cp/pt.c:15860
0x6147fb tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/cp/pt.c:16090
0x615395 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/cp/pt.c:16060
and this:
In file included from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:13:0,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/direct_max_pool.cpp:30:
/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h: In function ‘constexpr bool at::should_include_kernel_dtype(const char*, c10::ScalarType)’:
/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:24:23: error: redefinition of ‘constexpr bool at::should_include_kernel_dtype(const char*, c10::ScalarType)’
inline constexpr bool should_include_kernel_dtype(
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/direct_max_pool.cpp:27:0:
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/dispatcher.hpp:24:23: note: ‘constexpr bool at::should_include_kernel_dtype(const char*, c10::ScalarType)’ previously defined here
inline constexpr bool should_include_kernel_dtype(const char *kernel_tag_str, In file included from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/ATen/ATen.h:13:0,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/direct_max_pool.cpp:30:
/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h: In function ‘constexpr bool at::should_include_kernel_dtype(const char*, c10::ScalarType)’:
/home/chx/pyenv/torchenv/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:24:23: error: redefinition of ‘constexpr bool at::should_include_kernel_dtype(const char*, c10::ScalarType)’
inline constexpr bool should_include_kernel_dtype(
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/direct_max_pool.cpp:27:0:
/tmp/pip-install-i3mzudkc/minkowskiengine_9a929f3efb904c95b40a0041ec1260e6/src/dispatcher.hpp:24:23: note: ‘constexpr bool at::should_include_kernel_dtype(const char*, c10::ScalarType)’ previously defined here
inline constexpr bool should_include_kernel_dtype(const char *kernel_tag_str,
It seems like you are not using the latest master. Copy paste this command to get it
git clone https://github.com/NVIDIA/MinkowskiEngine.git
I get the lateset version and the second problem disappeared ,but the first one still exists.
https://github.com/NVIDIA/MinkowskiEngine/issues/342#issuecomment-816646829 Hi, I also get this problem, I wonder how you sovle this, thanks
https://github.com/NVIDIA/MinkowskiEngine/issues/342#issuecomment-816646829 Hi, I also get this problem