-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
After some small changes to setup.py I managed to install torchsparse on osx arm64 (M1). Some more changes to avoid hardcoded device="cuda:0" and cuda calls in backends.init has test.py finally fail with
AttributeError: module 'torchsparse.backend' has no attribute 'build_kernel_map_subm_hashmap'
Looking at pybind_cpu.cpp and pybind_cuda.cu this is not surprising, since only the CUDA version defines build_kernel_map_subm_hashmap.
Similarly, examples/backbones.py fails with AttributeError: module 'torchsparse.backend' has no attribute 'GPUHashTable', which is only defined in pybind_cuda.cu again.
Can torchsparse be used on a machine without nvcc, considering there doesn't seem to be a CPU implementation for these functions?
Expected Behavior
No response
Environment
- GCC: Apple clang version 14.0.3 (clang-1403.0.22.14.1)
- NVCC: N/A
- PyTorch: 2.1.0
- PyTorch CUDA: N/A
- TorchSparse: 2.1.0Anything else?
Potentially related to #255.
Metadata
Metadata
Assignees
Labels
No labels