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

Fix Darwin&CPU build #438

Closed evelkey closed 2 years ago

evelkey commented 2 years ago

Build for Darwin platform and CPU-only has been broken for a long time, now it is fixed and should work by simply running --cpu-only or having no GPU and using --blas=mkl for acceleration.

Tested with both torch versions 1.10 and current master. This PR fixes https://github.com/NVIDIA/MinkowskiEngine/issues/106.

evelkey commented 2 years ago

@chrischoy Can you please review this PR?

chrischoy commented 2 years ago

Thanks for the contribution!