NVIDIA / MinkowskiEngine

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

Failed to install the latest MinkowskiEngine #586

Open xje123456 opened 5 months ago

xje123456 commented 5 months ago

Auther,I have some problems,could you help me?

OS: Ubuntu 22.04 Cuda: 11.8 Gcc version: 7.5.0、9.4.0

error as follow

/root/MinkowskiEngine/src/spmm.cu: In instantiation of 'minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()>::<lambda()> [with th_int_type = int]': /root/MinkowskiEngine/src/spmm.cu:203:0: required from 'struct minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()> [with th_int_type = int]::<lambda()>' /root/MinkowskiEngine/src/spmm.cu:203:0: required from 'minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool)::<lambda()> [with th_int_type = int]' /root/MinkowskiEngine/src/spmm.cu:203:0: required from 'struct minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool) [with th_int_type = int; int64_t = long int]::<lambda()>' /root/MinkowskiEngine/src/spmm.cu:203:0: required from 'at::Tensor minkowski::coo_spmm(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, const at::Tensor&, int64_t, bool) [with th_int_type = int; int64_t = long int]' /root/MinkowskiEngine/src/spmm.cu:335:232: required from here /root/MinkowskiEngine/src/spmm.cu:203:1428: internal compiler error: in maybe_undo_parenthesized_ref, at cp/semantics.c:1740 AT_DISPATCH_FLOATING_TYPES(vals.scalar_type(), "coo_spmm", [&] { ^
Please submit a full bug report, with preprocessed source if appropriate. See https://gcc.gnu.org/bugs/ for instructions. error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1 (pts) root@autodl-container-b6e5119aae-8e42a0aa:~/MinkowskiEngine#