MinkowskiEngine icon indicating copy to clipboard operation
MinkowskiEngine copied to clipboard

it seems like the MinkowskiEngine is not compatible with CUDA 12

Open djx6666 opened this issue 1 year ago • 6 comments

/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

djx6666 avatar May 30 '24 13:05 djx6666

helle @djx6666 Have you found the solution?

kaoutar-elmouh avatar Jun 06 '24 20:06 kaoutar-elmouh

/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.

ijliu avatar Aug 17 '24 13:08 ijliu

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

chadrs2 avatar Oct 16 '24 18:10 chadrs2

@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.

ijliu avatar Oct 17 '24 01:10 ijliu

/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/3rdparty/concurrent_unordered_map.cuh(503): 错误:命名空间“thrust”没有成员“device”返回thrust::count_if(thrust::device, m_hashtbl_values, m_hashtbl_values + m_capacity, ^ 在编译“/home/wuhao/djx/oneformer3d/MinkowskiEngine/src/broadcast_gpu.cu”时检测到 1 个错误。错误:命令‘/usr/local/cuda-12.1/bin/nvcc’失败,退出代码为 2

#543 #596 我遇到了类似的问题,在这里找到了一些有价值的信息。我现在已经在 cuda12.4 + g++11 环境中成功编译。

How did you solve this problem,could you please tell me?

Richard-luckyc avatar Jan 23 '25 07:01 Richard-luckyc

/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.

Love you ^_^, help a lot

ranhaogong avatar Oct 26 '25 12:10 ranhaogong