Closed murrdpirate closed 4 years ago
Oops, just saw the note about using pytorch 1.6. Unfortunately, even after upgrading to 1.6 (and trying 1.7), I still get the same error.
Interestingly, I was able to build ME 0.5 on my Jetson AGX with no problems. Tried to replicate python and pytorch versions on my x86-64 machines, but no luck.
Hmm, the setup.py file in MinkowskiEngine does not specify fopenmp for nvcc compilation.
On my machine, pytorch is not adding -fopenmp
on nvcc compilation my ubuntu 20.04 CUDA 11 pytorch 1.6. Same for all other test rigs 18.04, CUDA 10.2.
...
[2/16] /usr/local/cuda/bin/nvcc -I/home/chrischoy/anaconda3/envs/py3-mouse/lib/python3.8/site-packages/torch/include -I/home/chrischoy/anaconda3/envs/py3-mouse/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/chrischoy/anaconda3/envs/py3-mouse/lib/python3.8/site-packages/torch/include/TH -I/home/chrischoy/anaconda3/envs/py3-mouse/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/chrischoy/projects/MinkowskiEngine/src -I/home/chrischoy/projects/MinkowskiEngine/src/3rdparty -I/home/chrischoy/anaconda3/envs/py3-mouse/include/python3.8 -c -c /home/chrischoy/projects/MinkowskiEngine/src/gpu.cu -o /home/chrischoy/projects/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/chrischoy/projects/MinkowskiEngine/src/gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --extended-lambda -ccbin=g++-7 -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
...
Appears to work fine for me when I use Anaconda on my system. And since it also works without Anaconda on my ARM system, I'm guessing I have something wrong on my end.
Same issue here with Ubuntu 18.04, CUDA 10.2 and pytroch 1.6, I don't use Ninja, maybe that's the issue?
error: Command "/usr/local/cuda/bin/nvcc -I/home/ChauletN/.cache/pypoetry/virtualenvs/torch-points3d-AKCjwQtX-py3.7/lib/python3.7/site-packages/torch/include -I/home/ChauletN/.cache/pypoetry/virtualenvs/torch-points3d-AKCjwQtX-py3.7/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ChauletN/.cache/pypoetry/virtualenvs/torch-points3d-AKCjwQtX-py3.7/lib/python3.7/site-packages/torch/include/TH -I/home/ChauletN/.cache/pypoetry/virtualenvs/torch-points3d-AKCjwQtX-py3.7/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-o_lvk6sf/src -I/tmp/pip-req-build-o_lvk6sf/src/3rdparty -I/home/ChauletN/.cache/pypoetry/virtualenvs/torch-points3d-AKCjwQtX-py3.7/include -I/home/ChauletN/.pyenv/versions/3.7.8/include/python3.7m -c /tmp/pip-req-build-o_lvk6sf/src/quantization.cpp -o build/temp.linux-x86_64-3.7/tmp/pip-req-build-o_lvk6sf/src/quantization.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14" failed with exit status 1
Yes, I can confirm, building with Ninja fixes the issue. @chrischoy you probably want to make it mandatory (or fix this weird problem that make add -fopenmp to the compilation flags...)
same issue, Ubuntu 18.04, CUDA 11.2, pytorch 1.8.1 - wasn't using ninja; then installed 1.10.2 and -fopenmp
issue disappeared.
I agree - should make it clear in README that ninja
is a pre-req
Hi @plusk01 ,
I believe pytorch c extensions use ninja by default. What do you mean by making ninja prereq?
Hi @chrischoy - on my Ubuntu 18.04 machine i did not have ninja
installed, so it (presumably) defaulted to cmake. There seems to be something broken with the cmake build because I got the "unknown option -fopenmp" error. Once I installed ninja v1.10.2 (from binaries) everything worked. So I guess the suggestion is to either note ninja
as a (potential) requirement in the readme or fix the underlying issue - i tried poking around with the build for a bit and couldn't figure out who is passing -fopenmp
to nvcc
, and then found the comment from @nicolas-chaulet above.
Thanks, I specified the ninja installation in the README as well as the setup script with BuildExtension.with_options(use_ninja=True)
.
Hello, I spent the whole afternoon, but it still hasn't been installed. Who can help me take a look? I would be very grateful. I have installed ninja.
The process is as follows:
(py3-mink) root@interactive60100:~# pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps --install-option="--blas_include_dirs=${CONDA_PREFIX}/include" --install-option="--blas=openblas"
WARNING: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
Using pip 22.1.2 from /root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/pip (python 3.8)
Collecting git+https://github.com/NVIDIA/MinkowskiEngine
Cloning https://github.com/NVIDIA/MinkowskiEngine to /tmp/pip-req-build-evdat5lw
Running command git version
git version 2.17.1
Running command git clone --filter=blob:none https://github.com/NVIDIA/MinkowskiEngine /tmp/pip-req-build-evdat5lw
Cloning into '/tmp/pip-req-build-evdat5lw'...
Checking out files: 0% (2/244)
Checking out files: 1% (3/244)
Checking out files: 2% (5/244)
Checking out files: 3% (8/244)
Checking out files: 4% (10/244)
Checking out files: 5% (13/244)
Checking out files: 6% (15/244)
Checking out files: 7% (18/244)
Checking out files: 8% (20/244)
Checking out files: 9% (22/244)
Checking out files: 10% (25/244)
Checking out files: 11% (27/244)
Checking out files: 12% (30/244)
Checking out files: 13% (32/244)
Checking out files: 14% (35/244)
Checking out files: 15% (37/244)
Checking out files: 16% (40/244)
Checking out files: 17% (42/244)
Checking out files: 18% (44/244)
Checking out files: 19% (47/244)
Checking out files: 20% (49/244)
Checking out files: 21% (52/244)
Checking out files: 22% (54/244)
Checking out files: 23% (57/244)
Checking out files: 24% (59/244)
Checking out files: 25% (61/244)
Checking out files: 26% (64/244)
Checking out files: 27% (66/244)
Checking out files: 28% (69/244)
Checking out files: 29% (71/244)
Checking out files: 30% (74/244)
Checking out files: 31% (76/244)
Checking out files: 32% (79/244)
Checking out files: 33% (81/244)
Checking out files: 34% (83/244)
Checking out files: 35% (86/244)
Checking out files: 36% (88/244)
Checking out files: 37% (91/244)
Checking out files: 38% (93/244)
Checking out files: 39% (96/244)
Checking out files: 40% (98/244)
Checking out files: 41% (101/244)
Checking out files: 42% (103/244)
Checking out files: 43% (105/244)
Checking out files: 44% (108/244)
Checking out files: 45% (110/244)
Checking out files: 46% (113/244)
Checking out files: 47% (115/244)
Checking out files: 48% (118/244)
Checking out files: 49% (120/244)
Checking out files: 50% (122/244)
Checking out files: 51% (125/244)
Checking out files: 52% (127/244)
Checking out files: 53% (130/244)
Checking out files: 54% (132/244)
Checking out files: 55% (135/244)
Checking out files: 56% (137/244)
Checking out files: 57% (140/244)
Checking out files: 58% (142/244)
Checking out files: 59% (144/244)
Checking out files: 60% (147/244)
Checking out files: 61% (149/244)
Checking out files: 62% (152/244)
Checking out files: 63% (154/244)
Checking out files: 64% (157/244)
Checking out files: 65% (159/244)
Checking out files: 66% (162/244)
Checking out files: 67% (164/244)
Checking out files: 68% (166/244)
Checking out files: 69% (169/244)
Checking out files: 70% (171/244)
Checking out files: 71% (174/244)
Checking out files: 72% (176/244)
Checking out files: 73% (179/244)
Checking out files: 74% (181/244)
Checking out files: 75% (183/244)
Checking out files: 76% (186/244)
Checking out files: 77% (188/244)
Checking out files: 78% (191/244)
Checking out files: 79% (193/244)
Checking out files: 80% (196/244)
Checking out files: 81% (198/244)
Checking out files: 82% (201/244)
Checking out files: 83% (203/244)
Checking out files: 84% (205/244)
Checking out files: 85% (208/244)
Checking out files: 86% (210/244)
Checking out files: 87% (213/244)
Checking out files: 88% (215/244)
Checking out files: 89% (218/244)
Checking out files: 90% (220/244)
Checking out files: 91% (223/244)
Checking out files: 92% (225/244)
Checking out files: 93% (227/244)
Checking out files: 94% (230/244)
Checking out files: 95% (232/244)
Checking out files: 96% (235/244)
Checking out files: 97% (237/244)
Checking out files: 98% (240/244)
Checking out files: 99% (242/244)
Checking out files: 100% (244/244)
Checking out files: 100% (244/244), done.
Running command git rev-parse HEAD
7867296920d055539aec295c0c41d06a4309b876
Resolved https://github.com/NVIDIA/MinkowskiEngine to commit 7867296920d055539aec295c0c41d06a4309b876
Running command python setup.py egg_info
WARNING: Skipping MinkowskiEngine as it is not installed.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
--------------------------------
| CUDA compilation set |
--------------------------------
Using BLAS=openblas
Using the default compiler
running egg_info
creating /tmp/pip-pip-egg-info-r3d5acw1/MinkowskiEngine.egg-info
writing /tmp/pip-pip-egg-info-r3d5acw1/MinkowskiEngine.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-r3d5acw1/MinkowskiEngine.egg-info/dependency_links.txt
writing requirements to /tmp/pip-pip-egg-info-r3d5acw1/MinkowskiEngine.egg-info/requires.txt
writing top-level names to /tmp/pip-pip-egg-info-r3d5acw1/MinkowskiEngine.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-r3d5acw1/MinkowskiEngine.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-r3d5acw1/MinkowskiEngine.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-pip-egg-info-r3d5acw1/MinkowskiEngine.egg-info/SOURCES.txt'
/tmp/pip-req-build-evdat5lw/setup.py:198: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
import numpy.distutils.system_info as sysinfo
Preparing metadata (setup.py) ... done
Skipping wheel build for MinkowskiEngine, due to binaries being disabled for it.
Installing collected packages: MinkowskiEngine
Running command Running setup.py install for MinkowskiEngine
WARNING: Skipping MinkowskiEngine as it is not installed.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
--------------------------------
| CUDA compilation set |
--------------------------------
Using BLAS=openblas
Using the default compiler
running install
/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/__init__.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensor.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/diagnostics.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPruning.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine
creating build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/__init__.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/gradcheck.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/summary.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/collation.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/coords.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/utils
creating build/lib.linux-x86_64-cpython-38/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/__init__.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/senet_block.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/resnet_block.py -> build/lib.linux-x86_64-cpython-38/MinkowskiEngine/modules
running build_ext
building 'MinkowskiEngineBackend._C' extension
creating /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38
creating /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp
creating /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw
creating /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src
creating /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/pybind
Emitting ninja build file /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/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-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_kernel.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/broadcast_kernel.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_kernel.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_kernel.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/broadcast_kernel.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
Killed
[2/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
/tmp/pip-req-build-evdat5lw/src/gpu.cu(104): warning: function "minkowski::format_size" was declared but never referenced
[3/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_kernel.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/convolution_kernel.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_kernel.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_kernel.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/convolution_kernel.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
Killed
[4/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/broadcast_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_gpu.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/broadcast_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/broadcast_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
Killed
[5/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/convolution_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_gpu.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/convolution_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
Killed
[6/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/coordinate_map_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_gpu.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/coordinate_map_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
Killed
[7/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/local_pooling_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/local_pooling_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/local_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/local_pooling_gpu.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/local_pooling_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/local_pooling_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/local_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
Killed
[8/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_manager.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/coordinate_map_manager.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_manager.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_manager.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_manager.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/coordinate_map_manager.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/coordinate_map_manager.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
Killed
[9/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/interpolation_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/interpolation_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/interpolation_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/interpolation_gpu.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/interpolation_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/interpolation_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/interpolation_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
Killed
[10/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_transpose_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/convolution_transpose_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_transpose_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
FAILED: /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_transpose_gpu.o
/usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_transpose_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/convolution_transpose_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/convolution_transpose_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
Killed
[11/21] c++ -MMD -MF /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/direct_max_pool.o.d -pthread -B /root/miniconda3/envs/py3-mink/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/direct_max_pool.cpp -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/direct_max_pool.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[12/21] /usr/local/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/global_pooling_gpu.o.d -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/TH -I/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/tmp/pip-req-build-evdat5lw/src -I/tmp/pip-req-build-evdat5lw/src/3rdparty -I/root/miniconda3/envs/py3-mink/include -I/root/miniconda3/envs/py3-mink/include/python3.8 -c -c /tmp/pip-req-build-evdat5lw/src/global_pooling_gpu.cu -o /tmp/pip-req-build-evdat5lw/build/temp.linux-x86_64-cpython-38/tmp/pip-req-build-evdat5lw/src/global_pooling_gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1667, in _run_ninja_build
subprocess.run(
File "/root/miniconda3/envs/py3-mink/lib/python3.8/subprocess.py", line 516, 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-evdat5lw/setup.py", line 317, in <module>
setup(
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands
self.run_command(cmd)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/command/install.py", line 692, in run
self.run_command('build')
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/command/build.py", line 24, in run
super().run()
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 708, in build_extensions
build_ext.build_extensions(self)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 466, in build_extensions
self._build_extensions_serial()
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 492, in _build_extensions_serial
self.build_extension(ext)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 547, in build_extension
objects = self.compiler.compile(
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 529, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1354, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/root/miniconda3/envs/py3-mink/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1683, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
error: subprocess-exited-with-error
× Running setup.py install for MinkowskiEngine did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /root/miniconda3/envs/py3-mink/bin/python -u -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-evdat5lw/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' install --record /tmp/pip-record-edp3hpts/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda3/envs/py3-mink/include/python3.8/MinkowskiEngine --blas_include_dirs=/root/miniconda3/envs/py3-mink/include --blas=openblas
cwd: /tmp/pip-req-build-evdat5lw/
Running setup.py install for MinkowskiEngine ... error
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> MinkowskiEngine
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
@haiduo I have the same issue. Did you resolve it?
@haiduo I have the same issue. Did you resolve it?
Yes, you can refer to https://github.com/NVIDIA/MinkowskiEngine/issues/495#issuecomment-1249202390
@haiduo Thank you. It works now.
I can build the current
master
branch, butv0.5
fails for me.I have:
Here's some notable output of running
python setup.py build
: