For anyone who has trouble installing MinkowskiEngine during setup, this may be helpful
Opened this issue · 3 comments
When installing MinkowskiEngine during setup, I had the following error:
RuntimeError: The current installed version of g++ (10.2.1) is greater than the maximum required version by CUDA 11.3 (10.0.0). Please make sure to use an adequate version of g++ (>=5.0.0, <=10.0.0).
After trying different approaches, finally the following solution works for me:
NVIDIA/MinkowskiEngine#529 (comment)
Plus, if you are using GCP like me, you may encounter the same error as above for other packages as well. To solve the root cause, you may consider using a lower gcc/g++ version (e.g., 9.5.0). But, you don't have to uninstall the existing gcc/g++. Instead, you can use spack to manage different versions of gcc/g++. Check out the solution here for details:
https://jchuynh.medium.com/how-to-solve-cuda-incompatibility-with-high-versions-of-gcc-f47ef966bb15
hello
I'm trying to install 'MinkowskiEngine' on Google Colab, but it shows an error. Do you know how to solve it, considering that this problem only occurs when I use the GPU? When I work on the CPU, it installs without any issues
this is th error:
'''
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine
WARNING: Skipping MinkowskiEngine as it is not installed.
| CUDA compilation set |
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/setup.py:201: DeprecationWarning:
numpy.distutils
is deprecated since NumPy 1.23.0, as a result
of the deprecation of distutils
itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use setuptools < 60.0
for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
import numpy.distutils.system_info as sysinfo
Using BLAS=openblas
Using the default compiler
running install
/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer, pypa/build or
other standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
running bdist_egg
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
/usr/local/lib/python3.10/dist-packages/torch/utils/cpp_extension.py:499: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
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'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPruning.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensor.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/init.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/diagnostics.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
creating build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/collation.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/coords.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/gradcheck.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/summary.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
creating build/lib.linux-x86_64-cpython-310/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/init.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/resnet_block.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/senet_block.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/modules
running build_ext
/usr/local/lib/python3.10/dist-packages/torch/utils/cpp_extension.py:418: UserWarning: The detected CUDA version (12.2) has a minor version mismatch with the version that was used to compile PyTorch (12.1). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
/usr/local/lib/python3.10/dist-packages/torch/utils/cpp_extension.py:428: UserWarning: There are no x86_64-linux-gnu-g++ version bounds defined for CUDA version 12.2
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'MinkowskiEngineBackend._C' extension
INFO: C compiler: x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/content
creating build/temp.linux-x86_64-cpython-310/content/drive
creating build/temp.linux-x86_64-cpython-310/content/drive/MyDrive
creating build/temp.linux-x86_64-cpython-310/content/drive/MyDrive/Mask3D-main
creating build/temp.linux-x86_64-cpython-310/content/drive/MyDrive/Mask3D-main/third_party
creating build/temp.linux-x86_64-cpython-310/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine
creating build/temp.linux-x86_64-cpython-310/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src
creating build/temp.linux-x86_64-cpython-310/pybind
INFO: compile options: '-I/usr/local/lib/python3.10/dist-packages/torch/include -I/usr/local/lib/python3.10/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.10/dist-packages/torch/include/TH -I/usr/local/lib/python3.10/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src -I/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/3rdparty -I/usr/include/python3.10 -c'
extra options: 'cxx nvcc'
/usr/local/lib/python3.10/dist-packages/torch/utils/cpp_extension.py:1967: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation.
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
warnings.warn(
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/broadcast_gpu.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/broadcast_kernel.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/convolution_gpu.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/convolution_kernel.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/convolution_kernel.cu(335): warning #68-D: integer conversion resulted in a change of sign
size_t n_active_in_volume, shared_mem_size = -1;
^
Remark: The warnings can be suppressed with "-diag-suppress "
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/convolution_kernel.cu(574): warning #68-D: integer conversion resulted in a change of sign
size_t n_active_in_volume, shared_mem_size = -1;
^
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/convolution_transpose_gpu.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/convolution_kernel.cu(335): warning #68-D: integer conversion resulted in a change of sign
size_t n_active_in_volume, shared_mem_size = -1;
^
Remark: The warnings can be suppressed with "-diag-suppress "
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/convolution_kernel.cu(574): warning #68-D: integer conversion resulted in a change of sign
size_t n_active_in_volume, shared_mem_size = -1;
^
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_gpu.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed
: base_type{other.region_type(), other.coordinate_size(),
^
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]" at line 627 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_gpu.cu
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]" at line 2462 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_gpu.cu
Remark: The warnings can be suppressed with "-diag-suppress "
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed
: base_type{other.region_type(), other.coordinate_size(),
^
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]" at line 627 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_gpu.cu
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]" at line 2462 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_gpu.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed
: base_type{other.region_type(), other.coordinate_size(),
^
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]" at line 627 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_gpu.cu
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]" at line 2462 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_gpu.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed
: base_type{other.region_type(), other.coordinate_size(),
^
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]" at line 627 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_gpu.cu
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]" at line 2462 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_gpu.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary
return detail::empty_map_functor<coordinate_type, TemplatedAllocator,
^
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]" at line 1451
Remark: The warnings can be suppressed with "-diag-suppress "
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary
return detail::empty_map_functor<coordinate_type, TemplatedAllocator,
^
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]" at line 401 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary
return detail::empty_map_functor<coordinate_type, TemplatedAllocator,
^
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]" at line 404 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_tensor_stride() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_kernel_size() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(430): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_dilation() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(431): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_offset() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_cpu.hpp(58): warning #177-D: variable "float_type" was declared but never referenced
at::ScalarType const float_type =
^
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]" at line 329 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp
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]" at line 1451 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp
Remark: The warnings can be suppressed with "-diag-suppress "
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary
return detail::empty_map_functor<coordinate_type, TemplatedAllocator,
^
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]" at line 1451
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary
return detail::empty_map_functor<coordinate_type, TemplatedAllocator,
^
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]" at line 401 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed
: base_type{other.region_type(), other.coordinate_size(),
^
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]" at line 205 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator> 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>>::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]" at line 753 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp
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]" at line 401 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed
: base_type{other.region_type(), other.coordinate_size(),
^
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]" at line 205 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator> 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>>::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]" at line 753 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp
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]" at line 401 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed
: base_type{other.region_type(), other.coordinate_size(),
^
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]" at line 205 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator> 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>>::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]" at line 753 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp
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]" at line 401 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed
: base_type{other.region_type(), other.coordinate_size(),
^
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]" at line 205 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
instantiation of "minkowski::gpu_kernel_map<minkowski::type_wrapper<uint32_t, int32_t, float>::index_type, TemplatedAllocator> 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>>::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]" at line 753 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp
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]" at line 401 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary
return detail::empty_map_functor<coordinate_type, TemplatedAllocator,
^
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]" at line 404 of /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_tensor_stride() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_kernel_size() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(430): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_dilation() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/kernel_region.hpp(431): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_offset() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed
/content/drive/MyDrive/Mask3D-main/third_party/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 >]’:
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp:1451:16: required from here
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp:717:260: warning: returning reference to temporary [-Wreturn-local-addr]
717 | return detail::empty_map_functor<coordinate_type, TemplatedAllocator,
| ^
/content/drive/MyDrive/Mask3D-main/third_party/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 >; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type = std::vector<unsigned int, std::allocator >]’:
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu:401:16: required from here
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp:717:260: warning: returning reference to temporary [-Wreturn-local-addr]
/content/drive/MyDrive/Mask3D-main/third_party/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 >; minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::stride_type = std::vector<unsigned int, std::allocator >]’:
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cu:404:16: required from here
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/coordinate_map_manager.cpp:717:260: warning: returning reference to temporary [-Wreturn-local-addr]
INFO: x86_64-linux-gnu-gcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/direct_max_pool.cpp
/usr/local/lib/python3.10/dist-packages/torch/utils/cpp_extension.py:1967: UserWarning: TORCH_CUDA_ARCH_LIST is not set, all archs for visible cards are included for compilation.
If this is not desired, please set os.environ['TORCH_CUDA_ARCH_LIST'].
warnings.warn(
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/global_pooling_gpu.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/gpu.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/gpu.cu(104): warning #177-D: function "minkowski::format_size" was declared but never referenced
static std::string format_size(uint64_t size) {
^
Remark: The warnings can be suppressed with "-diag-suppress "
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/interpolation_gpu.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/local_pooling_gpu.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/local_pooling_transpose_gpu.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_cpu.cpp
nvcc fatal : Unknown option '-fopenmp'
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/pooling_avg_kernel.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu: In function ‘void minkowski::sort_coo_gpu(cusparseHandle_t, int, int, int, int*, int*, allocator_type&)’:
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu:181:69: warning: ‘cusparseStatus_t cusparseCreateIdentityPermutation(cusparseHandle_t, int, int*)’ is deprecated: The routine will be removed in the next major release [-Wdeprecated-declarations]
181 | CUSPARSE_CHECK(cusparseCreateIdentityPermutation(handle, nnz, P));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/cuda/include/cusparse.h:4060:1: note: declared here
4060 | cusparseCreateIdentityPermutation(cusparseHandle_t handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu: In instantiation of ‘void minkowski::sort_coo_gpu(cusparseHandle_t, int, int, int, int*, int*, allocator_type&) [with allocator_type = minkowski::detail::default_allocator; cusparseHandle_t = cusparseContext*]’:
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu:189:210: required from here
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu:181:69: warning: ‘cusparseStatus_t cusparseCreateIdentityPermutation(cusparseHandle_t, int, int*)’ is deprecated: The routine will be removed in the next major release [-Wdeprecated-declarations]
181 | CUSPARSE_CHECK(cusparseCreateIdentityPermutation(handle, nnz, P));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/cuda/include/cusparse.h:4060:1: note: declared here
4060 | cusparseCreateIdentityPermutation(cusparseHandle_t handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu:181:69: warning: ‘cusparseStatus_t cusparseCreateIdentityPermutation(cusparseHandle_t, int, int*)’ is deprecated: The routine will be removed in the next major release [-Wdeprecated-declarations]
181 | CUSPARSE_CHECK(cusparseCreateIdentityPermutation(handle, nnz, P));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/cuda/include/cusparse.h:4060:1: note: declared here
4060 | cusparseCreateIdentityPermutation(cusparseHandle_t handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu:181:69: warning: ‘cusparseStatus_t cusparseCreateIdentityPermutation(cusparseHandle_t, int, int*)’ is deprecated: The routine will be removed in the next major release [-Wdeprecated-declarations]
181 | CUSPARSE_CHECK(cusparseCreateIdentityPermutation(handle, nnz, P));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/cuda/include/cusparse.h:4060:1: note: declared here
4060 | cusparseCreateIdentityPermutation(cusparseHandle_t handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu: In instantiation of ‘void minkowski::sort_coo_gpu(cusparseHandle_t, int, int, int, int*, int*, allocator_type&) [with allocator_type = minkowski::detail::c10_allocator; cusparseHandle_t = cusparseContext*]’:
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu:193:202: required from here
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu:181:69: warning: ‘cusparseStatus_t cusparseCreateIdentityPermutation(cusparseHandle_t, int, int*)’ is deprecated: The routine will be removed in the next major release [-Wdeprecated-declarations]
181 | CUSPARSE_CHECK(cusparseCreateIdentityPermutation(handle, nnz, P));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/cuda/include/cusparse.h:4060:1: note: declared here
4060 | cusparseCreateIdentityPermutation(cusparseHandle_t handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu:181:69: warning: ‘cusparseStatus_t cusparseCreateIdentityPermutation(cusparseHandle_t, int, int*)’ is deprecated: The routine will be removed in the next major release [-Wdeprecated-declarations]
181 | CUSPARSE_CHECK(cusparseCreateIdentityPermutation(handle, nnz, P));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/cuda/include/cusparse.h:4060:1: note: declared here
4060 | cusparseCreateIdentityPermutation(cusparseHandle_t handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_gpu.cu:181:69: warning: ‘cusparseStatus_t cusparseCreateIdentityPermutation(cusparseHandle_t, int, int*)’ is deprecated: The routine will be removed in the next major release [-Wdeprecated-declarations]
181 | CUSPARSE_CHECK(cusparseCreateIdentityPermutation(handle, nnz, P));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/cuda/include/cusparse.h:4060:1: note: declared here
4060 | cusparseCreateIdentityPermutation(cusparseHandle_t handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/pooling_max_kernel.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/pruning_gpu.cu
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/quantization.cpp
nvcc fatal : Unknown option '-fopenmp'
INFO: nvcc: /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/spmm.cu
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/spmm.cu(96): warning #177-D: variable "is_int64" was declared but never referenced
constexpr bool is_int64 = std::is_same<th_int_type, int64_t>::value;
^
Remark: The warnings can be suppressed with "-diag-suppress "
/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/spmm.cu(358): warning #177-D: variable "is_int64" was declared but never referenced
constexpr bool is_int64 = std::is_same<th_int_type, int64_t>::value;
^
INFO: nvcc: pybind/minkowski.cu
error: Command "/usr/local/cuda/bin/nvcc -I/usr/local/lib/python3.10/dist-packages/torch/include -I/usr/local/lib/python3.10/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.10/dist-packages/torch/include/TH -I/usr/local/lib/python3.10/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src -I/content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/3rdparty -I/usr/include/python3.10 -c /content/drive/MyDrive/Mask3D-main/third_party/MinkowskiEngine/src/math_functions_cpu.cpp -o build/temp.linux-x86_64-cpython-310/content/drive/MyDrive/Mask3D-main/third_party/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++17" failed with exit status 1
@nekoshadow1 do you have any idea to solve it?