NVIDIA / MinkowskiEngine

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

it seems like the MinkowskiEngine is not compatible with CUDA 12 #594

Open djx6666 opened 6 months ago

djx6666 commented 6 months ago

/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device" return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity, ^

1 error detected in the compilation of "/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/broadcast_gpu.cu". error: command '/usr/local/cuda-12.1/bin/nvcc' failed with exit code 2

kaoutar-elmouh commented 5 months ago

helle @djx6666 Have you found the solution?

ijliu commented 3 months ago

/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/3rdparty/concurrent_unordered_map.cuh(503): error: namespace "thrust" has no member "device" return thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity, ^

1 error detected in the compilation of "/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/broadcast_gpu.cu". error: command '/usr/local/cuda-12.1/bin/nvcc' failed with exit code 2

543

596

I encountered a similar issue, and I found some valuable information here. I've now successfully compiled in a cuda12.4 + g++11 environment.

chadrs2 commented 1 month ago

@ijliu , have you tried successfully compiling with a docker container? If so, could you send out that Dockerfile?

ijliu commented 1 month ago

@ijliu , have you tried successfully compiling with a docker container? If so, could you send out that Dockerfile?

Sorry, I haven't compiled in docker before, so I can't provide you with the relevant Dockerfile.