MinkowskiEngine icon indicating copy to clipboard operation
MinkowskiEngine copied to clipboard

Installing MinkowskiEngine as develop mode (pip install --editable .)

Open YJYJLee opened this issue 2 years ago • 9 comments

Hi, I am trying to build [email protected] as develop mode for the research purpose. I tried the command python setup.py install and succeed in installing it and checked MinkowskiEngine being well imported.

However, when I try installing in editable mode with the command pip install --editable ., I keep getting the following error.

Using pip 21.2.4 from /home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/pip (python 3.8)
Obtaining file:///home/yejin/PointCloud/MinkowskiEngine
Running command python setup.py egg_info
WARNING: Skipping MinkowskiEngine as it is not installed.
--------------------------------
| CUDA compilation set         |
--------------------------------

Using BLAS=openblas
Using the default compiler
running egg_info
creating /tmp/pip-pip-egg-info-oo3bjo1t/MinkowskiEngine.egg-info
writing /tmp/pip-pip-egg-info-oo3bjo1t/MinkowskiEngine.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-oo3bjo1t/MinkowskiEngine.egg-info/dependency_links.txt
writing requirements to /tmp/pip-pip-egg-info-oo3bjo1t/MinkowskiEngine.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-oo3bjo1t/MinkowskiEngine.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-oo3bjo1t/MinkowskiEngine.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-oo3bjo1t/MinkowskiEngine.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-pip-egg-info-oo3bjo1t/MinkowskiEngine.egg-info/SOURCES.txt'
Requirement already satisfied: torch in /home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages (from MinkowskiEngine==0.5.4) (1.9.0)
Requirement already satisfied: numpy in /home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages (from MinkowskiEngine==0.5.4) (1.19.2)
Requirement already satisfied: typing_extensions in /home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages (from torch->MinkowskiEngine==0.5.4) (3.10.0.2)
Installing collected packages: MinkowskiEngine
  Running setup.py develop for MinkowskiEngine
    Running command /home/yejin/anaconda3/envs/minkowskiengine/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/yejin/PointCloud/MinkowskiEngine/setup.py'"'"'; __file__='"'"'/home/yejin/PointCloud/MinkowskiEngine/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
    WARNING: Skipping MinkowskiEngine as it is not installed.
    --------------------------------
    | CUDA compilation set         |
    --------------------------------

Using BLAS=openblas
Using the default compiler
running develop
running egg_info
writing MinkowskiEngine.egg-info/PKG-INFO
writing dependency_links to MinkowskiEngine.egg-info/dependency_links.txt
writing requirements to MinkowskiEngine.egg-info/requires.txt
writing top-level names to MinkowskiEngine.egg-info/top_level.txt
reading manifest file 'MinkowskiEngine.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'MinkowskiEngine.egg-info/SOURCES.txt'
running build_ext
building 'MinkowskiEngineBackend._C' extension
creating /home/yejin/PointCloud/MinkowskiEngine/build
creating /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8
creating /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home
creating /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin
creating /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud
creating /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine
creating /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src
creating /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/pybind
Emitting ninja build file /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Using envvar MAX_JOBS (1) as the number of workers...
[1/21] c++ -MMD -MF /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/math_functions_cpu.o.d -pthread -B /home/yejin/anaconda3/envs/minkowskiengine/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/math_functions_cpu.cpp -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/math_functions_cpu.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++
[2/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/math_functions_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/math_functions_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[3/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_cpu.hpp(58): warning: variable "float_type" was declared but never referenced
          detected during:
            instantiation of "std::pair<at::Tensor, at::Tensor> minkowski::CoordinateMapCPU<coordinate_type, TemplatedAllocator>::field_map(const coordinate_field_type *, minkowski::CoordinateMapCPU<coordinate_type, TemplatedAllocator>::size_type) const [with coordinate_type=int32_t, TemplatedAllocator=std::allocator, coordinate_field_type=float]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(329): here
            instantiation of "std::pair<at::Tensor, at::Tensor> minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::field_to_sparse_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=std::allocator, CoordinateMapType=minkowski::CoordinateMapCPU]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(1451): here

/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning: returning reference to local temporary
          detected during instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=std::allocator, CoordinateMapType=minkowski::CoordinateMapCPU]"
(1451): here

/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning: returning reference to local temporary
          detected during instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(401): here

/home/yejin/PointCloud/MinkowskiEngine/src/kernel_region.hpp(428): warning: calling a __host__ function from a __host__ __device__ function is not allowed
          detected during:
            instantiation of "minkowski::gpu_kernel_region<coordinate_type>::gpu_kernel_region(const minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(205): here
            instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator<char>> minkowski::detail::kernel_map_functor<coordinate_type, TemplatedAllocator, minkowski::CoordinateMapGPU, minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator<char>>>::operator()(const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, minkowski::CUDAKernelMapMode::Mode, minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(753): here
            instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(401): here

/home/yejin/PointCloud/MinkowskiEngine/src/kernel_region.hpp(428): warning: calling a __host__ function from a __host__ __device__ function is not allowed
          detected during:
            instantiation of "minkowski::gpu_kernel_region<coordinate_type>::gpu_kernel_region(const minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(205): here
            instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator<char>> minkowski::detail::kernel_map_functor<coordinate_type, TemplatedAllocator, minkowski::CoordinateMapGPU, minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator<char>>>::operator()(const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, minkowski::CUDAKernelMapMode::Mode, minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(753): here
            instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(401): here

/home/yejin/PointCloud/MinkowskiEngine/src/kernel_region.hpp(428): warning: calling a __host__ function from a __host__ __device__ function is not allowed
          detected during:
            instantiation of "minkowski::gpu_kernel_region<coordinate_type>::gpu_kernel_region(const minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(205): here
            instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator<char>> minkowski::detail::kernel_map_functor<coordinate_type, TemplatedAllocator, minkowski::CoordinateMapGPU, minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator<char>>>::operator()(const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, minkowski::CUDAKernelMapMode::Mode, minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(753): here
            instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(401): here

/home/yejin/PointCloud/MinkowskiEngine/src/kernel_region.hpp(428): warning: calling a __host__ function from a __host__ __device__ function is not allowed
          detected during:
            instantiation of "minkowski::gpu_kernel_region<coordinate_type>::gpu_kernel_region(const minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(205): here
            instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator<char>> minkowski::detail::kernel_map_functor<coordinate_type, TemplatedAllocator, minkowski::CoordinateMapGPU, minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator<char>>>::operator()(const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator> &, minkowski::CUDAKernelMapMode::Mode, minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(753): here
            instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(401): here

/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning: returning reference to local temporary
          detected during instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, __nv_bool, __nv_bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::c10_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(404): here

/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning: returning reference to local temporary
          detected during instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, bool, bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=std::allocator, CoordinateMapType=minkowski::CoordinateMapCPU]"
(1451): here

/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning: returning reference to local temporary
          detected during instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, bool, bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::default_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(401): here

/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning: returning reference to local temporary
          detected during instantiation of "const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type &minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, const minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type &, minkowski::RegionType::Type, const at::Tensor &, bool, bool) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=minkowski::detail::c10_allocator, CoordinateMapType=minkowski::CoordinateMapGPU]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu(404): here

/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp: In instantiation of ‘const kernel_map_type& minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey*, const minkowski::CoordinateMapKey*, const stride_type&, const stride_type&, const stride_type&, minkowski::RegionType::Type, const at::Tensor&, bool, bool) [with coordinate_type = int; coordinate_field_type = float; TemplatedAllocator = std::allocator; CoordinateMapType = minkowski::CoordinateMapCPU; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type = minkowski::cpu_kernel_map; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type = std::vector<unsigned int, std::allocator<unsigned int> >]’:
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp:1451:16:   required from here
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp:717:260: warning: returning reference to temporary [-Wreturn-local-addr]
       return detail::empty_map_functor<coordinate_type, TemplatedAllocator,
                                                                                                                                                                                                                                                                    ^
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp: In instantiation of ‘const kernel_map_type& minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey*, const minkowski::CoordinateMapKey*, const stride_type&, const stride_type&, const stride_type&, minkowski::RegionType::Type, const at::Tensor&, bool, bool) [with coordinate_type = int; coordinate_field_type = float; TemplatedAllocator = minkowski::detail::default_allocator; CoordinateMapType = minkowski::CoordinateMapGPU; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type = minkowski::gpu_kernel_map<unsigned int, minkowski::detail::default_allocator<char> >; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type = std::vector<unsigned int, std::allocator<unsigned int> >]’:
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu:401:16:   required from here
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp:717:260: warning: returning reference to temporary [-Wreturn-local-addr]
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp: In instantiation of ‘const kernel_map_type& minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map(const minkowski::CoordinateMapKey*, const minkowski::CoordinateMapKey*, const stride_type&, const stride_type&, const stride_type&, minkowski::RegionType::Type, const at::Tensor&, bool, bool) [with coordinate_type = int; coordinate_field_type = float; TemplatedAllocator = minkowski::detail::c10_allocator; CoordinateMapType = minkowski::CoordinateMapGPU; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::kernel_map_type = minkowski::gpu_kernel_map<unsigned int, minkowski::detail::c10_allocator<char> >; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type = std::vector<unsigned int, std::allocator<unsigned int> >]’:
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cu:404:16:   required from here
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.cpp:717:260: warning: returning reference to temporary [-Wreturn-local-addr]
[4/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/yejin/PointCloud/MinkowskiEngine/src/kernel_region.hpp(428): warning: calling a __host__ function from a __host__ __device__ function is not allowed
          detected during:
            instantiation of "minkowski::gpu_kernel_region<coordinate_type>::gpu_kernel_region(const minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.cu(625): here
            instantiation of "minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::self_type minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_region(minkowski::cpu_kernel_region<coordinate_type> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_type &) const [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.cu(2460): here

/home/yejin/PointCloud/MinkowskiEngine/src/kernel_region.hpp(428): warning: calling a __host__ function from a __host__ __device__ function is not allowed
          detected during:
            instantiation of "minkowski::gpu_kernel_region<coordinate_type>::gpu_kernel_region(const minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.cu(625): here
            instantiation of "minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::self_type minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_region(minkowski::cpu_kernel_region<coordinate_type> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_type &) const [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.cu(2460): here

/home/yejin/PointCloud/MinkowskiEngine/src/kernel_region.hpp(428): warning: calling a __host__ function from a __host__ __device__ function is not allowed
          detected during:
            instantiation of "minkowski::gpu_kernel_region<coordinate_type>::gpu_kernel_region(const minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.cu(625): here
            instantiation of "minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::self_type minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_region(minkowski::cpu_kernel_region<coordinate_type> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_type &) const [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.cu(2460): here

/home/yejin/PointCloud/MinkowskiEngine/src/kernel_region.hpp(428): warning: calling a __host__ function from a __host__ __device__ function is not allowed
          detected during:
            instantiation of "minkowski::gpu_kernel_region<coordinate_type>::gpu_kernel_region(const minkowski::cpu_kernel_region<coordinate_type> &) [with coordinate_type=int32_t]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.cu(625): here
            instantiation of "minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::self_type minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_region(minkowski::cpu_kernel_region<coordinate_type> &, const minkowski::CoordinateMapGPU<coordinate_type, TemplatedAllocator>::stride_type &) const [with coordinate_type=int32_t, TemplatedAllocator=minkowski::detail::default_allocator]"
/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.cu(2460): here

[5/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/convolution_kernel.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/convolution_kernel.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/yejin/PointCloud/MinkowskiEngine/src/convolution_kernel.cu(334): warning: integer conversion resulted in a change of sign

/home/yejin/PointCloud/MinkowskiEngine/src/convolution_kernel.cu(573): warning: integer conversion resulted in a change of sign

/home/yejin/PointCloud/MinkowskiEngine/src/convolution_kernel.cu(334): warning: integer conversion resulted in a change of sign

/home/yejin/PointCloud/MinkowskiEngine/src/convolution_kernel.cu(573): warning: integer conversion resulted in a change of sign

[6/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/convolution_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/convolution_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[7/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/convolution_transpose_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/convolution_transpose_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[8/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/pooling_avg_kernel.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/pooling_avg_kernel.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/yejin/PointCloud/MinkowskiEngine/src/pooling_avg_kernel.cu(146): warning: variable "is_int64" was declared but never referenced

[9/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/pooling_max_kernel.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/pooling_max_kernel.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[10/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/local_pooling_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/local_pooling_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[11/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/local_pooling_transpose_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/local_pooling_transpose_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[12/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/global_pooling_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/global_pooling_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[13/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/broadcast_kernel.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/broadcast_kernel.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[14/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/broadcast_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/broadcast_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[15/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/pruning_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/pruning_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[16/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/interpolation_gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/interpolation_gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
[17/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/spmm.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/yejin/PointCloud/MinkowskiEngine/src/spmm.cu(102): warning: variable "is_int64" was declared but never referenced

/home/yejin/PointCloud/MinkowskiEngine/src/spmm.cu(364): warning: variable "is_int64" was declared but never referenced

/home/yejin/PointCloud/MinkowskiEngine/src/spmm.cu(473): warning: variable "num_unique_keys" was set but never used
          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]"
(601): here

/home/yejin/PointCloud/MinkowskiEngine/src/spmm.cu(473): warning: variable "num_unique_keys" was set but never used
          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]"
(601): here

[18/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/gpu.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/gpu.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/home/yejin/PointCloud/MinkowskiEngine/src/gpu.cu(104): warning: function "minkowski::format_size" was declared but never referenced

[19/21] c++ -MMD -MF /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/quantization.o.d -pthread -B /home/yejin/anaconda3/envs/minkowskiengine/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/quantization.cpp -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/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/yejin/PointCloud/MinkowskiEngine/src/allocators.cuh:39:0,
                 from /home/yejin/PointCloud/MinkowskiEngine/src/kernel_region.hpp:40,
                 from /home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map.hpp:30,
                 from /home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_cpu.hpp:28,
                 from /home/yejin/PointCloud/MinkowskiEngine/src/quantization.cpp:32:
/home/yejin/PointCloud/MinkowskiEngine/src/gpu.cuh:149:0: warning: "THRUST_CHECK" redefined
 #define THRUST_CHECK(condition)                                                \

In file included from /home/yejin/PointCloud/MinkowskiEngine/src/coordinate.hpp:30:0,
                 from /home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map.hpp:29,
                 from /home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_cpu.hpp:28,
                 from /home/yejin/PointCloud/MinkowskiEngine/src/quantization.cpp:32:
/home/yejin/PointCloud/MinkowskiEngine/src/utils.hpp:169:0: note: this is the location of the previous definition
 #define THRUST_CHECK(condition) condition;

/home/yejin/PointCloud/MinkowskiEngine/src/quantization.cpp: In function ‘std::vector<std::vector<int, std::allocator<int> > > minkowski::quantize_label(const int*, const int*, int, int, int)’:
/home/yejin/PointCloud/MinkowskiEngine/src/quantization.cpp:177:16: warning: variable ‘it’ set but not used [-Wunused-but-set-variable]
     const auto it = map.find(key);
                ^~
[20/21] c++ -MMD -MF /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/direct_max_pool.o.d -pthread -B /home/yejin/anaconda3/envs/minkowskiengine/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/src/direct_max_pool.cpp -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/direct_max_pool.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++
[21/21] /usr/local/cuda/bin/nvcc  -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/TH -I/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/yejin/PointCloud/MinkowskiEngine/src -I/home/yejin/PointCloud/MinkowskiEngine/src/3rdparty -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -I/home/yejin/anaconda3/envs/minkowskiengine/include/python3.8 -c -c /home/yejin/PointCloud/MinkowskiEngine/pybind/minkowski.cu -o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/pybind/minkowski.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 -Xcompiler=-fno-gnu-unique -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_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/MinkowskiEngineBackend
g++ -pthread -shared -B /home/yejin/anaconda3/envs/minkowskiengine/compiler_compat -L/home/yejin/anaconda3/envs/minkowskiengine/lib -Wl,-rpath=/home/yejin/anaconda3/envs/minkowskiengine/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/math_functions_cpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/math_functions_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_manager.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/coordinate_map_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/convolution_kernel.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/convolution_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/convolution_transpose_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/pooling_avg_kernel.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/pooling_max_kernel.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/local_pooling_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/local_pooling_transpose_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/global_pooling_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/broadcast_kernel.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/broadcast_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/pruning_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/interpolation_gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/spmm.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/gpu.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/quantization.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/yejin/PointCloud/MinkowskiEngine/src/direct_max_pool.o /home/yejin/PointCloud/MinkowskiEngine/build/temp.linux-x86_64-3.8/pybind/minkowski.o -L/home/yejin/anaconda3/envs/minkowskiengine/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda/lib64 -lcusparse -lopenblas -lopenblas -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.8/MinkowskiEngineBackend/_C.cpython-38-x86_64-linux-gnu.so
copying build/lib.linux-x86_64-3.8/MinkowskiEngineBackend/_C.cpython-38-x86_64-linux-gnu.so -> MinkowskiEngineBackend
error: could not create 'MinkowskiEngineBackend/_C.cpython-38-x86_64-linux-gnu.so': No such file or directory
ERROR: Command errored out with exit status 1: /home/yejin/anaconda3/envs/minkowskiengine/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/yejin/PointCloud/MinkowskiEngine/setup.py'"'"'; __file__='"'"'/home/yejin/PointCloud/MinkowskiEngine/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

I checked there exists MinkowskiEngineBackend/_C.cpython-38-x86_64-linux-gnu.so in the build directory. I followed instruction in README.md using conda environment. Below is the result of running command wget -q https://raw.githubusercontent.com/NVIDIA/MinkowskiEngine/master/MinkowskiEngine/diagnostics.py ; python diagnostics.py

==========System==========
Linux-4.15.0-166-generic-x86_64-with-glibc2.10
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
3.8.5 (default, Sep  4 2020, 07:30:14)
[GCC 7.3.0]
==========Pytorch==========
1.9.0
torch.cuda.is_available(): True
==========NVIDIA-SMI==========
/usr/bin/nvidia-smi
Driver Version 495.29.05
CUDA Version 11.5
VBIOS Version 88.00.5A.00.03
Image Version G500.0500.00.05
GSP Firmware Version N/A
==========NVCC==========
/usr/local/cuda-10.2/bin/nvcc
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
==========CC==========
/usr/bin/c++
c++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

==========MinkowskiEngine==========
MinkowskiEngine not installed

Could you give me some help with it?

YJYJLee avatar Feb 22 '22 07:02 YJYJLee

Hey @YJYJLee , can you tell me how did you manage to install Minkowski Engine? I just can't install it anyway I try

thiagodma avatar Feb 27 '22 15:02 thiagodma

setup.py develop and pip install -e give me the same error "error: could not create 'MinkowskiEngineBackend/_C.cpython-38-x86_64-linux-gnu.so': No such file or directory"

SFMDI avatar May 07 '22 08:05 SFMDI

Hey I am facing the exact same error. Anyone got a clue how to solve this?

vardeep-sandhu avatar Jun 24 '22 12:06 vardeep-sandhu

This dockerfile works for me.

FROM pytorch/pytorch:1.9.1-cuda11.1-cudnn8-devel

WORKDIR /app

##############################################
# You should modify this to match your GPU compute capability
# https://developer.nvidia.com/cuda-gpus#compute
ENV TORCH_CUDA_ARCH_LIST="8.6"
##############################################

ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CUDA_HOME=/usr/local/cuda-11.1
ENV MAX_JOBS=1

# Install dependencies
RUN apt-get update
RUN apt-get install -y git ninja-build cmake build-essential libopenblas-dev \
    xterm xauth openssh-server tmux wget mate-desktop-environment-core

RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*

# activate base conda env
SHELL ["conda", "run", "-n", "base", "/bin/bash", "-c"]

RUN pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps --install-option="--force_cuda" --install-option="--blas=openblas"

thiagodma avatar Jun 24 '22 12:06 thiagodma

This dockerfile works for me.

FROM pytorch/pytorch:1.9.1-cuda11.1-cudnn8-devel

WORKDIR /app

##############################################
# You should modify this to match your GPU compute capability
# https://developer.nvidia.com/cuda-gpus#compute
ENV TORCH_CUDA_ARCH_LIST="8.6"
##############################################

ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CUDA_HOME=/usr/local/cuda-11.1
ENV MAX_JOBS=1

# Install dependencies
RUN apt-get update
RUN apt-get install -y git ninja-build cmake build-essential libopenblas-dev \
    xterm xauth openssh-server tmux wget mate-desktop-environment-core

RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*

# activate base conda env
SHELL ["conda", "run", "-n", "base", "/bin/bash", "-c"]

RUN pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps --install-option="--force_cuda" --install-option="--blas=openblas"

Could you please explain how did you run it? Thank you

samanemami avatar Nov 16 '22 09:11 samanemami

So for everyone who noticed this issue, just creating an empty folder called MinkowskiEngineBackend under the repo root and then doing another pip install -e works for me. I guess the issue caused by that pip will not create the folder for the built extension by default.

Kipsora avatar Jan 01 '23 04:01 Kipsora