UofT-EcoSystem / Minuet

[EuroSys'24] Minuet: Accelerating 3D Sparse Convolutions on GPUs
Apache License 2.0
68 stars 2 forks source link

[BUG] Cannot find implementation of CUDASparseConvolutionForward #3

Open galiyu opened 2 weeks ago

galiyu commented 2 weeks ago

RuntimeError: [Minuet] [/home/yu/work/Minuet/csrc/minuet/torch/cuda_sparse_convolution_forward.cu (212)] Cannot find implementation of CUDASparseConvolutionForward

How can I fix this bug? While Minuet was built successfully.

galiyu commented 2 weeks ago

From minuet/nn/functional/convolution.py", line 151, in sparse_convolution_forward return _C.cuda_sparse_convolution_forward( RuntimeError: [Minuet] [/home/yu/work/Minuet/csrc/minuet/torch/cuda_sparse_convolution_forward.cu (212)] Cannot find implementation of CUDASparseConvolutionForward

Kipsora commented 1 week ago

Hello @galiyu, may I know the data types of the coordinates and the features? Minuet, by default, only supports int32 or int64 coordinates, and float32 features. The other data types can be supported by adding it to enabled_arguments.h, they are not optimized for.

For example, if you want to use float64 features, then you need to modify to:

#define MINUET_FOR_ALL_F_TYPES(MACRO, ...) \
  MACRO(__VA_ARGS__, double)

and then reinstall Minuet again.