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

installing pointops #24

Open
XiShuFan opened this issue Dec 17, 2023 · 7 comments
Open

installing pointops #24

XiShuFan opened this issue Dec 17, 2023 · 7 comments

Comments

@XiShuFan
Copy link

I have same pytorch and cuda versions on Windows and Ubuntu.

Pointops could be installed correctly and worked correctly on Windows, but when I use Ubuntu, it could be installed correctly but worked incorrectly.

To be detail, pointops_cuda functions throws "CUDA error: no kernel image is available for execution on the device"

People who encountered this problem could try to install original pointops from https://github.com/POSTECH-CVLab/point-transformer/tree/master/lib, that works for me.

@VGTHuang
Copy link

Thank you! It is most helpful. Installing pointops from the repository works. During installing, the error

“THC/THC.h”: No such file or directory

could be solved by removing all

include <THC/THC.h>

@XiShuFan
Copy link
Author

Thank you! It is most helpful. Installing pointops from the repository works. During installing, the error

“THC/THC.h”: No such file or directory

could be solved by removing all

include <THC/THC.h>

Thanks for your solution for "THC/THC.h”: No such file or directory"
Yes, I encountered the same problem with pytorch 1.13 and cuda 11.3
I solved this problem with pytorch 1.7.1 and cuda 11.0

pip install torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html

@aanandaathmaram
Copy link

File "setup.py", line 9, in
flag for flag in opt.split() if flag != '-Wstrict-prototypes'
AttributeError: 'NoneType' object has no attribute 'split'

Any way to tackle this issue?

@limhoyeon
Copy link
Owner

@aanandaathmaram
have you solved this issue now?

@aanandaathmaram
Copy link

@aanandaathmaram
have you solved this issue now?

Not yet

@limhoyeon
Copy link
Owner

I think that you should recheck the pytorch - cuda - python version.
How about following each version to pytorch/pytorch:1.7.1-cuda11.0-cudnn8-devel(ubuntu, pytorch 1.7.1) docker settings?

@smoothumut
Copy link

removing all lines about including THC in pointops library solve my issue also

include <THC/THC.h>

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

5 participants