Minuet icon indicating copy to clipboard operation
Minuet copied to clipboard

[BUG] Cannot find implementation of CUDASparseConvolutionForward

Open galiyu opened this issue 1 year ago • 2 comments

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 avatar Jun 24 '24 06:06 galiyu

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

galiyu avatar Jun 24 '24 06:06 galiyu

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.

Kipsora avatar Jun 25 '24 19:06 Kipsora