Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot find implementation of CUDASparseConvolutionForward #3

Open
galiyu opened this issue Jun 24, 2024 · 2 comments
Open

[BUG] Cannot find implementation of CUDASparseConvolutionForward #3

galiyu opened this issue Jun 24, 2024 · 2 comments

Comments

@galiyu
Copy link

galiyu commented Jun 24, 2024

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
Copy link
Author

galiyu commented Jun 24, 2024

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
Copy link
Collaborator

Kipsora commented Jun 25, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants