Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip uninstall minkowskiengine won't work for me #580

Open
sandun21 opened this issue Feb 10, 2024 · 2 comments
Open

pip uninstall minkowskiengine won't work for me #580

sandun21 opened this issue Feb 10, 2024 · 2 comments

Comments

@sandun21
Copy link

When i tried to install Minkowski Engine on my linux machine it gives error as mentioned below. Similar for the library ctcdecode too. I have torch==2.2.0 with cuda 12.1 installed. When I tried to installed with older pytorch and cuda versions it promots the long error message saying mismatch between system and pytorch cuda versions. Thankyou in advance.


Desktop (please complete the following information):

  • OS: [e.g. Ubuntu 18.04]
  • Python version: [e.g. 3.10.12
  • Pytorch version: [e.g. 2.2.0]
  • CUDA version: [e.g. 12.3]
  • Minkowski Engine version [e.g. 0.5.4]

`(RegTR) hasitha@hunnas:$ pip uninstall minkowskiengine
WARNING: Skipping minkowskiengine as it is not installed.
(RegTR) hasitha@hunnas:
$ pip install -U git+https://github.com/NVIDIA/MinkowskiEngine --no-deps
Collecting git+https://github.com/NVIDIA/MinkowskiEngine
Cloning https://github.com/NVIDIA/MinkowskiEngine to /tmp/pip-req-build-nxz_kim5
Running command git clone --filter=blob:none --quiet https://github.com/NVIDIA/MinkowskiEngine /tmp/pip-req-build-nxz_kim5
Resolved https://github.com/NVIDIA/MinkowskiEngine to commit 02fc608
Preparing metadata (setup.py) ... done
Building wheels for collected packages: MinkowskiEngine
Building wheel for MinkowskiEngine (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [295 lines of output]
WARNING: Skipping MinkowskiEngine as it is not installed.
--------------------------------
| CUDA compilation set |
--------------------------------

  Using BLAS=openblas
  Using the default compiler
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-cpython-310
  creating build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiNetwork.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/MinkowskiTensor.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/diagnostics.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/__init__.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
  creating build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
  copying ./MinkowskiEngine/utils/summary.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/quantization.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/coords.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/__init__.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
  creating 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/__init__.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
  /home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/utils/cpp_extension.py:415: UserWarning: The detected CUDA version (12.3) 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))
  /home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/utils/cpp_extension.py:425: UserWarning: There are no x86_64-linux-gnu-g++ version bounds defined for CUDA version 12.3
    warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
  building 'MinkowskiEngineBackend._C' extension
  creating /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310
  creating /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp
  creating /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5
  creating /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src
  creating /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/pybind
  Emitting ninja build file /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/build.ninja...
  Compiling objects...
  Using envvar MAX_JOBS (12) as the number of workers...
  [1/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/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 <warning-number>"
  
  [2/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/interpolation_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/interpolation_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  FAILED: /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/interpolation_gpu.o
  /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/interpolation_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/interpolation_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device"
        return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity,
                                        ^
  
  1 error detected in the compilation of "/tmp/pip-req-build-nxz_kim5/src/interpolation_gpu.cu".
  [3/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/convolution_transpose_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/convolution_transpose_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  FAILED: /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/convolution_transpose_gpu.o
  /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/convolution_transpose_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/convolution_transpose_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device"
        return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity,
                                        ^
  
  1 error detected in the compilation of "/tmp/pip-req-build-nxz_kim5/src/convolution_transpose_gpu.cu".
  [4/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/global_pooling_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/global_pooling_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  FAILED: /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/global_pooling_gpu.o
  /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/global_pooling_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/global_pooling_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device"
        return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity,
                                        ^
  
  1 error detected in the compilation of "/tmp/pip-req-build-nxz_kim5/src/global_pooling_gpu.cu".
  [5/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/convolution_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/convolution_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  FAILED: /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/convolution_gpu.o
  /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/convolution_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/convolution_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device"
        return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity,
                                        ^
  
  1 error detected in the compilation of "/tmp/pip-req-build-nxz_kim5/src/convolution_gpu.cu".
  [6/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/broadcast_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/broadcast_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  FAILED: /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/broadcast_gpu.o
  /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/broadcast_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/broadcast_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device"
        return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity,
                                        ^
  
  1 error detected in the compilation of "/tmp/pip-req-build-nxz_kim5/src/broadcast_gpu.cu".
  [7/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  FAILED: /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.o
  /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device"
        return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity,
                                        ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(246): error: namespace "thrust" has no member "remove_if"
          thrust::remove_if(thrust::device, valid_begin,
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(346): error: namespace "thrust" has no member "remove_if"
          thrust::remove_if(thrust::device,
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(462): error: namespace "thrust" has no member "remove_if"
          thrust::remove_if(thrust::device,
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(673): error: namespace "thrust" has no member "remove_if"
          thrust::remove_if(thrust::device,
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(772): error: namespace "thrust" has no member "unique"
          thrust::unique(thrust::device, d_batch_indices, d_batch_indices + N);
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(860): error: namespace "thrust" has no member "unique"
          thrust::unique(thrust::device, d_batch_indices, d_batch_indices + N);
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(1116): error: namespace "thrust" has no member "remove_if"
          thrust::remove_if(
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(1288): error: namespace "thrust" has no member "remove_if"
          thrust::remove_if(thrust::device, valid_begin,
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(1581): error: namespace "thrust" has no member "remove_if"
            thrust::remove_if(
                    ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(1714): error: namespace "thrust" has no member "remove_if"
            thrust::remove_if(thrust::device, begin,
                    ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(1857): error: namespace "thrust" has no member "remove_if"
          thrust::remove_if(thrust::device, begin,
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(2163): error: namespace "thrust" has no member "remove_if"
          thrust::remove_if(thrust::device,
                  ^
  
  /tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu(2243): error: namespace "thrust" has no member "remove_if"
          thrust::remove_if(thrust::device,
                  ^
  
  14 errors detected in the compilation of "/tmp/pip-req-build-nxz_kim5/src/coordinate_map_gpu.cu".
  [8/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/local_pooling_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/local_pooling_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  FAILED: /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/local_pooling_gpu.o
  /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/local_pooling_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/local_pooling_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device"
        return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity,
                                        ^
  
  1 error detected in the compilation of "/tmp/pip-req-build-nxz_kim5/src/local_pooling_gpu.cu".
  [9/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/coordinate_map_manager.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/coordinate_map_manager.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  FAILED: /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/coordinate_map_manager.o
  /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/coordinate_map_manager.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/coordinate_map_manager.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device"
        return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity,
                                        ^
  
  /tmp/pip-req-build-nxz_kim5/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 <warning-number>"
  
  /tmp/pip-req-build-nxz_kim5/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 /tmp/pip-req-build-nxz_kim5/src/coordinate_map_manager.cu
  
  /tmp/pip-req-build-nxz_kim5/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 /tmp/pip-req-build-nxz_kim5/src/coordinate_map_manager.cu
  
  1 error detected in the compilation of "/tmp/pip-req-build-nxz_kim5/src/coordinate_map_manager.cu".
  [10/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/local_pooling_transpose_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/local_pooling_transpose_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  FAILED: /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/local_pooling_transpose_gpu.o
  /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/local_pooling_transpose_gpu.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/local_pooling_transpose_gpu.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device"
        return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity,
                                        ^
  
  1 error detected in the compilation of "/tmp/pip-req-build-nxz_kim5/src/local_pooling_transpose_gpu.cu".
  [11/21] c++ -MMD -MF /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/direct_max_pool.o.d -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/direct_max_pool.cpp -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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++17
  [12/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/broadcast_kernel.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/broadcast_kernel.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  [13/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/src/convolution_kernel.o.d -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/TH -I/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-nxz_kim5/src -I/tmp/pip-req-build-nxz_kim5/src/3rdparty -I/home/hasitha/virtualenvs/virtualenv/RegTR/include -I/usr/include/python3.10 -c -c /tmp/pip-req-build-nxz_kim5/src/convolution_kernel.cu -o /tmp/pip-req-build-nxz_kim5/build/temp.linux-x86_64-cpython-310/tmp/pip-req-build-nxz_kim5/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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++17
  /tmp/pip-req-build-nxz_kim5/src/convolution_kernel.cu(334): 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 <warning-number>"
  
  /tmp/pip-req-build-nxz_kim5/src/convolution_kernel.cu(573): warning #68-D: integer conversion resulted in a change of sign
      size_t n_active_in_volume, shared_mem_size = -1;
                                                   ^
  
  /tmp/pip-req-build-nxz_kim5/src/convolution_kernel.cu(334): 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 <warning-number>"
  
  /tmp/pip-req-build-nxz_kim5/src/convolution_kernel.cu(573): warning #68-D: integer conversion resulted in a change of sign
      size_t n_active_in_volume, shared_mem_size = -1;
                                                   ^
  
  ninja: build stopped: subcommand failed.
  Traceback (most recent call last):
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2096, in _run_ninja_build
      subprocess.run(
    File "/usr/lib/python3.10/subprocess.py", line 526, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '12']' returned non-zero exit status 1.
  
  The above exception was the direct cause of the following exception:
  
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-req-build-nxz_kim5/setup.py", line 320, in <module>
      setup(
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 368, in run
      self.run_command("build")
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 131, in run
      self.run_command(cmd_name)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/dist.py", line 963, in run_command
      super().run_command(command)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 88, in run
      _build_ext.run(self)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
      self.build_extensions()
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 871, in build_extensions
      build_ext.build_extensions(self)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
      self._build_extensions_serial()
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 249, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
      objects = self.compiler.compile(
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 684, in unix_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1774, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "/home/hasitha/virtualenvs/virtualenv/RegTR/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2112, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for MinkowskiEngine
Running setup.py clean for MinkowskiEngine
Failed to build MinkowskiEngine
ERROR: Could not build wheels for MinkowskiEngine, which is required to install pyproject.toml-based projects
(RegTR) hasitha@hunnas:$ which python
/home/hasitha/virtualenvs/virtualenv/RegTR/bin/python
(RegTR) hasitha@hunnas:
$ python3 -c "import torch; print(torch.version)"
2.2.0+cu121`

@francotheengineer
Copy link

I have never been able to build ME with Cuda 12+. I have tried to do this in official Nvidia docker image. It simply isn't supported AFAIK.
You can build with Cuda 11.8 and PyTorch 2.0.1 or 2.1 AFAIK.

@xje123456
Copy link

I have never been able to build ME with Cuda 12+. I have tried to do this in official Nvidia docker image. It simply isn't supported AFAIK. You can build with Cuda 11.8 and PyTorch 2.0.1 or 2.1 AFAIK.

I build with Cuda 11.8 ,but it had some problem
/root/MinkowskiEngine/src/spmm.cu: In instantiation of 'minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()>::<lambda()> [with th_int_type = int]':
/root/MinkowskiEngine/src/spmm.cu:203:0: required from 'struct minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()> [with th_int_type = int]::<lambda()>'
/root/MinkowskiEngine/src/spmm.cu:203:0: required from 'minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()> [with th_int_type = int]'
/root/MinkowskiEngine/src/spmm.cu:203:0: required from 'struct minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool) [with th_int_type = int; int64_t = long int]::<lambda()>'
/root/MinkowskiEngine/src/spmm.cu:203:0: required from 'at::Tensor minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool) [with th_int_type = int; int64_t = long int]'
/root/MinkowskiEngine/src/spmm.cu:335:232: required from here
/root/MinkowskiEngine/src/spmm.cu:203:1428: internal compiler error: in maybe_undo_parenthesized_ref, at cp/semantics.c:1740
AT_DISPATCH_FLOATING_TYPES(vals.scalar_type(), "coo_spmm", [&] {
^
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.
error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1
(pts) root@autodl-container-b6e5119aae-8e42a0aa:~/MinkowskiEngine#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants