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

No module named 'pointops_cuda' #23

Closed
onikiri17 opened this issue Aug 26, 2024 · 5 comments
Closed

No module named 'pointops_cuda' #23

onikiri17 opened this issue Aug 26, 2024 · 5 comments

Comments

@onikiri17
Copy link

I've attempted to install PyTorch 1.12 with CUDA 11.6, along with several alternative versions, and recompiled. Additionally, I've tried to compile the setup.py file independently, but I continue to face the error described in the title. Would anyone happen to have encountered a similar situation? Could you kindly share how it might be resolved? Thank you in advance for any assistance.

@CuiRuikai
Copy link
Owner

Could you please provide your error information?
The pointops lib was adopted from Point Transformer. It is indeed difficult to compile.
You can possibly try:
POSTECH-CVLab/point-transformer#56
POSTECH-CVLab/point-transformer#82
POSTECH-CVLab/point-transformer#73
etc.

@github-staff github-staff deleted a comment from CuiRuikai Aug 27, 2024
@xingjinderhuoche
Copy link

I also met "ModuleNotFoundError: No module named 'pointops_cuda' "problem. And I only need "pointops_cuda.furthestsampling_cuda(b, n_max, xyz, offset, new_offset, tmp, idx)" and " pointops_cuda.knnquery_cuda(m, nsample, xyz, new_xyz, offset, new_offset, idx, dist2)" function。Could you please provide the code of these two functions。Thanks a lot!

@xingjinderhuoche
Copy link

I found that these two functions are quite complicated, is c++, I look at other methods.

@dperozzi
Copy link
Contributor

This issue is solved by doing the following

cd extensions/pointops
FORCE_CUDA=1 python setup.py install

Hope this helps!

@xingjinderhuoche
Copy link

Thanks!

This issue is solved by doing the following

cd extensions/pointops
FORCE_CUDA=1 python setup.py install

Hope this helps!

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

6 participants
@CuiRuikai @onikiri17 @xingjinderhuoche @dperozzi and others