Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

MinkowskiEngine/src/gpu.cu(104): warning: function "minkowski::format_size" was declared but never referenced #568

Open
bring-nirachornkul opened this issue Nov 3, 2023 · 0 comments

Comments

@bring-nirachornkul
Copy link

I can't install MinkowskiEngine in my WSL

Here is the error message :

(human3d_cuda113) glassman555@DESKTOP-L3N16T5:/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine$ python setup.py install --blas=openblas --blas_include_dirs="${CONDA_PREFIX}/include"
WARNING: Skipping MinkowskiEngine as it is not installed.
--------------------------------
| CUDA compilation set         |
--------------------------------

Using BLAS=openblas
Using g++-9 for c++ compilation
running install
/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
writing MinkowskiEngine.egg-info/PKG-INFO
writing dependency_links to MinkowskiEngine.egg-info/dependency_links.txt
writing requirements to MinkowskiEngine.egg-info/requires.txt
writing top-level names to MinkowskiEngine.egg-info/top_level.txt
reading manifest file 'MinkowskiEngine.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'MinkowskiEngine.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/diagnostics.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPruning.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensor.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
copying ./MinkowskiEngine/__init__.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine
creating build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/collation.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/coords.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/gradcheck.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/summary.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/__init__.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/utils
creating build/lib.linux-x86_64-cpython-310/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/resnet_block.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/senet_block.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/__init__.py -> build/lib.linux-x86_64-cpython-310/MinkowskiEngine/modules
running build_ext
building 'MinkowskiEngineBackend._C' extension
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT/PhD
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT/PhD/Project
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT/PhD/Project/Human3D
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT/PhD/Project/Human3D/third_party
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src
creating /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/pybind
Emitting ninja build file /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/21] g++-9 -MMD -MF /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/direct_max_pool.o.d -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/glassman555/miniconda3/envs/human3d_cuda113/include -fPIC -O2 -isystem /home/glassman555/miniconda3/envs/human3d_cuda113/include -fPIC -I/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/torch/include -I/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/torch/include/TH -I/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src -I/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/3rdparty -I/home/glassman555/miniconda3/envs/human3d_cuda113/include -I/home/glassman555/miniconda3/envs/human3d_cuda113/include/python3.10 -c -c /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/direct_max_pool.cpp -o /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/direct_max_pool.o -fopenmp -O3 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
[2/21] /usr/local/cuda-11.3/bin/nvcc  -I/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/torch/include -I/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/torch/include/TH -I/home/glassman555/miniconda3/envs/human3d_cuda113/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src -I/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/3rdparty -I/home/glassman555/miniconda3/envs/human3d_cuda113/include -I/home/glassman555/miniconda3/envs/human3d_cuda113/include/python3.10 -c -c /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/gpu.cu -o /mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/build/temp.linux-x86_64-cpython-310/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/gpu.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' --expt-relaxed-constexpr --expt-extended-lambda -O3 -Xcompiler=-fno-gnu-unique -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_62,code=sm_62 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_72,code=sm_72 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=sm_86 -ccbin g++-9 -std=c++14
/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/gpu.cu(104): warning: function "minkowski::format_size" was declared but never referenced

/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/gpu.cu(104): warning: function "minkowski::format_size" was declared but never referenced

/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/gpu.cu(104): warning: function "minkowski::format_size" was declared but never referenced


/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/gpu.cu(104): warning: function "minkowski::format_size" was declared but never referenced

/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/gpu.cu(104): warning: function "minkowski::format_size" was declared but never referenced

/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine/src/gpu.cu(104): warning: function "minkowski::format_size" was declared but never referenced

[for 30 minutes now]

Desktop (please complete the following information):

  • OS: WSL (Ubuntu 20.04
  • Python version: 3.9
  • Pytorch version: 1.72
  • CUDA version: 11.3
  • NVIDIA Driver version: 537.42
  • Minkowski Engine version Latest from you GitHub (11/02/23)
  • Output of the following command. (If you installed the latest MinkowskiEngine, paste the output of python -c "import MinkowskiEngine as ME; ME.print_diagnostics()".
wget -q https://raw.githubusercontent.com/NVIDIA/MinkowskiEngine/master/MinkowskiEngine/diagnostics.py ; python diagnostics.py

(human3d_cuda113) glassman555@DESKTOP-L3N16T5:/mnt/d/UNT/PhD/Project/Human3D/third_party/MinkowskiEngine$ wget -q https://raw.githubusercontent.com/NVIDIA/MinkowskiEngine/master/MinkowskiEngine/diagnostics.py ; python diagnostics.py
==========System==========
Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
3.10.9 (main, Jan 11 2023, 15:21:40) [GCC 11.2.0]
==========Pytorch==========
1.12.1+cu113
torch.cuda.is_available(): True
==========NVIDIA-SMI==========
/usr/lib/wsl/lib/nvidia-smi
Driver Version 537.42
CUDA Version 12.2
VBIOS Version 94.02.26.80.c8
Image Version G001.0000.03.03
GSP Firmware Version N/A
==========NVCC==========
/usr/local/cuda-11.3/bin/nvcc
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Mar_21_19:15:46_PDT_2021
Cuda compilation tools, release 11.3, V11.3.58
Build cuda_11.3.r11.3/compiler.29745058_0
==========CC==========
CC=g++-9
/usr/bin/g++-9
g++-9 (Ubuntu 9.5.0-1ubuntu1~22.04) 9.5.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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

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

No branches or pull requests

1 participant