NVIDIA / MinkowskiEngine

Minkowski Engine is an auto-diff neural network library for high-dimensional sparse tensors
https://nvidia.github.io/MinkowskiEngine
Other
2.47k stars 367 forks source link

Deploy in jetson #544

Open CheungBH opened 1 year ago

CheungBH commented 1 year ago

Hello. Thanks for your great work. I am going to deploy your work to jetson nano & nx. Are there any references or documents? I am trying pip install your libraries using pip install -U MinkowskiEngine --install-option="--blas=openblas" -v --no-deps in jetson nx, but an error occurs:

nvidia@nvidia-desktop:~/Desktop/EventCameraNet$ pip install -U MinkowskiEngine --install-option="--blas=openblas" -v --no-deps /home/nvidia/.local/lib/python3.6/site-packages/pip/_internal/commands/install.py:245: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option. cmdoptions.check_install_build_global(options) Using pip 21.3.1 from /home/nvidia/.local/lib/python3.6/site-packages/pip (python 3.6) Defaulting to user installation because normal site-packages is not writeable Collecting MinkowskiEngine Downloading MinkowskiEngine-0.5.4.tar.gz (246 kB) |████████████████████████████████| 246 kB 1.9 MB/s
Running command python setup.py egg_info WARNING: Skipping MinkowskiEngine as it is not installed.

| CUDA compilation set |

Using BLAS=openblas Using the default compiler running egg_info creating /tmp/pip-pip-egg-info-aobry1lj/MinkowskiEngine.egg-info writing /tmp/pip-pip-egg-info-aobry1lj/MinkowskiEngine.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-aobry1lj/MinkowskiEngine.egg-info/dependency_links.txt writing requirements to /tmp/pip-pip-egg-info-aobry1lj/MinkowskiEngine.egg-info/requires.txt writing top-level names to /tmp/pip-pip-egg-info-aobry1lj/MinkowskiEngine.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-aobry1lj/MinkowskiEngine.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-aobry1lj/MinkowskiEngine.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/tmp/pip-pip-egg-info-aobry1lj/MinkowskiEngine.egg-info/SOURCES.txt' /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_contenttype' warnings.warn(msg) Preparing metadata (setup.py) ... done Skipping wheel build for MinkowskiEngine, due to binaries being disabled for it. Installing collected packages: MinkowskiEngine Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-juwfehr/minkowskienginedece62cff2564462817dcbf668c7729f/setup.py'"'"'; file='"'"'/tmp/pip-install-juwfehr/minkowskiengine_dece62cff2564462817dcbf668c7729f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-xhp5bhlm/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/nvidia/.local/include/python3.6m/MinkowskiEngine --blas=openblas WARNING: Skipping MinkowskiEngine as it is not installed.

| CUDA compilation set         |
--------------------------------

Using BLAS=openblas
Using the default compiler
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.6
creating build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensor.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPruning.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/__init__.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/diagnostics.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine
creating build/lib.linux-aarch64-3.6/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/summary.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/coords.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/gradcheck.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/torchsummary.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/__init__.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/collation.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/utils
creating build/lib.linux-aarch64-3.6/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/resnet_block.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/__init__.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/senet_block.py -> build/lib.linux-aarch64-3.6/MinkowskiEngine/modules
running build_ext
building 'MinkowskiEngineBackend._C' extension
creating /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6
creating /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp
creating /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_
creating /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f
creating /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src
creating /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/pybind
Emitting ninja build file /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/21] c++ -MMD -MF /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/math_functions_cpu.o.d -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/math_functions_cpu.cpp -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/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=1 -std=c++14
[2/21] /usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/pooling_max_kernel.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/pooling_max_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
FAILED: /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/pooling_max_kernel.o
/usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/pooling_max_kernel.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/pooling_max_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
Killed
[3/21] /usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/coordinate_map_gpu.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/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 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
FAILED: /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/coordinate_map_gpu.o
/usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/coordinate_map_gpu.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/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 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int8_t, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(355): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(404): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=__nv_bool, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(505): here

Killed
[4/21] /usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/convolution_kernel.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/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 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
FAILED: /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/convolution_kernel.o
/usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/convolution_kernel.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/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 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
Killed
[5/21] /usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/coordinate_map_manager.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/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 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
FAILED: /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/coordinate_map_manager.o
/usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/coordinate_map_manager.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/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 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int8_t, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(355): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(404): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=__nv_bool, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(505): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/coordinate_map_cpu.hpp(58): warning: variable "float_type" was declared but never referenced
          detected during:
            instantiation of "std::pair<at::Tensor, at::Tensor> minkowski::CoordinateMapCPU<coordinate_type, TemplatedAllocator>::field_map(const coordinate_field_type *, minkowski::CoordinateMapCPU<coordinate_type, TemplatedAllocator>::size_type) const [with coordinate_type=int32_t, TemplatedAllocator=std::allocator, coordinate_field_type=float]"
/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/coordinate_map_manager.cpp(329): here
            instantiation of "std::pair<at::Tensor, at::Tensor> minkowski::CoordinateMapManager<coordinate_type, coordinate_field_type, TemplatedAllocator, CoordinateMapType>::field_to_sparse_map(const minkowski::CoordinateMapKey *, const minkowski::CoordinateMapKey *) [with coordinate_type=int32_t, coordinate_field_type=float, TemplatedAllocator=std::allocator, CoordinateMapType=minkowski::CoordinateMapCPU]"
/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/coordinate_map_manager.cpp(1448): here

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

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

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

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

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

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

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

Killed
[6/21] /usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/math_functions_gpu.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/math_functions_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
[7/21] /usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/pooling_avg_kernel.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/pooling_avg_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/pooling_avg_kernel.cu(146): warning: variable "is_int64" was declared but never referenced

[8/21] /usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/convolution_transpose_gpu.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/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 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int8_t, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(355): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(404): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=__nv_bool, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(505): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int8_t, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(358): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(404): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=bool, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(505): here

[9/21] /usr/local/cuda/bin/nvcc  -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/TH -I/home/nvidia/.local/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src -I/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty -I/usr/include/python3.6m -c -c /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/convolution_gpu.cu -o /tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/build/temp.linux-aarch64-3.6/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/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 -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=1 -gencode=arch=compute_72,code=compute_72 -gencode=arch=compute_72,code=sm_72 -std=c++14
/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int8_t, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(355): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(404): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "__nv_bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=__nv_bool, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(505): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int8_t, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(358): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=int, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(404): here

/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/src/3rdparty/cudf/utilities/legacy/wrapper_types.hpp(83): warning: invalid narrowing conversion from "bool" to "signed char"
          detected during instantiation of "cudf::detail::wrapper<T, type_id>::wrapper(from_type) [with T=int8_t, type_id=(gdf_dtype)7, from_type=bool, dtype=(gdf_dtype)7, <unnamed>=(void *)nullptr]"
(505): here

ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/nvidia/.local/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1672, in _run_ninja_build
    env=env)
  File "/usr/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' 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 1, in <module>
  File "/tmp/pip-install-juwfehr_/minkowskiengine_dece62cff2564462817dcbf668c7729f/setup.py", line 358, in <module>
    python_requires=">=3.6",
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
    self.run_command('build')
  File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 78, in run
    _build_ext.run(self)
  File "/home/nvidia/.local/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/usr/lib/python3.6/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/home/nvidia/.local/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 709, in build_extensions
    build_ext.build_extensions(self)
  File "/home/nvidia/.local/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "/usr/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/usr/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 199, in build_extension
    _build_ext.build_extension(self, ext)
  File "/usr/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
    depends=ext.depends)
  File "/home/nvidia/.local/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 539, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/home/nvidia/.local/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1360, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/home/nvidia/.local/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1682, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
Running setup.py install for MinkowskiEngine ... error

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-juwfehr_/minkowskienginedece62cff2564462817dcbf668c7729f/setup.py'"'"'; file='"'"'/tmp/pip-install-juwfehr/minkowskiengine_dece62cff2564462817dcbf668c7729f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-xhp5bhlm/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/nvidia/.local/include/python3.6m/MinkowskiEngine --blas=openblas Check the logs for full command output.

Do you have any suggestions?

dhanujatw-cell commented 2 months ago

I faced the same issue and i was able to debug the reason but still not sure about the solution. as you can see in your log .sub process gets killed. the reason is that the memory issue.i analyzed this in a large server where i could install correctly. it consume 21 GB during the installation process in your case jetson does not have that much of memory. one solution could be to have swap memory. if you try this and work please let me know