-
Notifications
You must be signed in to change notification settings - Fork 345
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
Can't install with CUDA 12.1 #543
Comments
I'm having the same issue |
I am also experiencing this issue |
I haven't tried compiling it for cuda 12.x but my best bet is that you need to correctly link and include |
I've also encountered that problem. Ubuntu 22.04, CUDA 12.2, nvcc cuda_12.2.r12.2, PyTorch 2.1.0 I've managed to install it by fixing all errors by adding some headers to 4 files. 1 - .../MinkowskiEngine/src/convolution_kernel.cuh Add header: 2 - .../MinkowskiEngine/src/coordinate_map_gpu.cu Add headers:
3 - .../MinkowskiEngine/src/spmm.cu Add headers:
4 - .../MinkowskiEngine/src/3rdparty/concurrent_unordered_map.cuh Add header: I'm installing it in venv through If it is the correct solution may be better to add it to the main readme file about CUDA 12.1+ installation |
This reverts commit 1da0e3f.
see also: NVIDIA#543
It doesn't work in Ubuntu20.04, cuda 12.1, pytorch 2.2.2+cu121 |
It works for me,my environment is Ubuntu20.04, cuda 12.2, torchvision 0.13,pytorch_lightning 1.6.0, and so on. |
The same thing didn't work for me. Have you found a solution? |
Does this work on Google Colab? because ti don't work for me it give me the error: Does this work on Google Colab? Because it doesn't work for me; it gives me an error: WARNING: Skipping MinkowskiEngine as it is not installed.| CUDA compilation set |/content/drive/MyDrive/MinkowskiEngine-master/setup.py:201: DeprecationWarning:
import numpy.distutils.system_info as sysinfo Using BLAS=openblas
!!
!! creating build/temp.linux-x86_64-cpython-310 Remark: The warnings can be suppressed with "-diag-suppress " /content/drive/MyDrive/MinkowskiEngine-master/src/convolution_kernel.cu(573): warning #68-D: integer conversion resulted in a change of sign /content/drive/MyDrive/MinkowskiEngine-master/src/convolution_kernel.cu(334): warning #68-D: integer conversion resulted in a change of sign Remark: The warnings can be suppressed with "-diag-suppress " /content/drive/MyDrive/MinkowskiEngine-master/src/convolution_kernel.cu(573): warning #68-D: integer conversion resulted in a change of sign INFO: nvcc: /content/drive/MyDrive/MinkowskiEngine-master/src/convolution_transpose_gpu.cu Remark: The warnings can be suppressed with "-diag-suppress " /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed INFO: nvcc: /content/drive/MyDrive/MinkowskiEngine-master/src/coordinate_map_manager.cu Remark: The warnings can be suppressed with "-diag-suppress " /content/drive/MyDrive/MinkowskiEngine-master/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /content/drive/MyDrive/MinkowskiEngine-master/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_tensor_stride() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_kernel_size() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(430): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_dilation() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(431): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_offset() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/coordinate_map_cpu.hpp(58): warning #177-D: variable "float_type" was declared but never referenced Remark: The warnings can be suppressed with "-diag-suppress " /content/drive/MyDrive/MinkowskiEngine-master/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /content/drive/MyDrive/MinkowskiEngine-master/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(428): warning #20014-D: calling a host function from a host device function is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/coordinate_map_manager.cpp(717): warning #430-D: returning reference to local temporary /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_tensor_stride() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(429): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_kernel_size() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(430): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_dilation() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed /content/drive/MyDrive/MinkowskiEngine-master/src/kernel_region.hpp(431): warning #20011-D: calling a host function("minkowski::cpu_kernel_region ::device_offset() const") from a host device function("minkowski::gpu_kernel_region ::gpu_kernel_region") is not allowed INFO: x86_64-linux-gnu-gcc: /content/drive/MyDrive/MinkowskiEngine-master/src/direct_max_pool.cpp Remark: The warnings can be suppressed with "-diag-suppress " INFO: nvcc: /content/drive/MyDrive/MinkowskiEngine-master/src/interpolation_gpu.cu Remark: The warnings can be suppressed with "-diag-suppress " /content/drive/MyDrive/MinkowskiEngine-master/src/spmm.cu(358): warning #177-D: variable "is_int64" was declared but never referenced INFO: nvcc: pybind/minkowski.cu |
I have two docker containers based on ubuntu 20.04.
First I define my graphics card architecture:
And simple pip installation:
But I always get error with thrust
When I try to compile my project using cmake I get same thrust error as on pip installation of Minkowski.
I tried solving this issue by manualy including headers
#include <thrust/execution_policy.h>
inconcurrent_unordered_map.cuh
but then i ended up with error.I do have installed libtorch 2.0.1 in 2nd container.
The text was updated successfully, but these errors were encountered: