Skip to content
New issue

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

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

Already on GitHub? # to your account

question about pointops #18

Open
jintiannixuexile opened this issue May 9, 2024 · 4 comments
Open

question about pointops #18

jintiannixuexile opened this issue May 9, 2024 · 4 comments

Comments

@jintiannixuexile
Copy link

after install pointops,
ImportError: /data/lab108/dxf/anaconda3/envs/p2c/lib/python3.7/site-packages/pointops-0.0.0-py3.7-linux-x86_64.egg/pointops_cuda.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN8pybind116detail11type_casterIN2at6TensorEvE4loadENS_6handleEb
thanks

@CuiRuikai
Copy link
Owner

This issue is caused by pointops lib, and it is very common, but I do not have an exact solution to this issue.
This lib is adopted from https://github.com/POSTECH-CVLab/point-transformer/tree/master/lib/pointops
The difference is that I commented all #include <THC/THC.h> in the source code.
The reason is <THC/THC.h> is removed from pytorch/cuda from a previous version, might be cuda 10.x.
I can compile this without problems. after commented this line.
You can copy the original version from point transformer repo if necessary.
It might be helpful to have a look on their issue page. There are many similar issues.
POSTECH-CVLab/point-transformer#53

A possible solution is install pytorch 1.12 with cuda 11.6.

@kefusong
Copy link

I have encountered this error before. Perhaps you compiled pointops using a different version of PyTorch. When you change your PyTorch version, you should delete your compiled files and recompile from scratch.

@jintiannixuexile
Copy link
Author

Could you tell me your environment configuration, I can't run it with the author's pytorch 1.12 and cuda 11.6

我以前遇到过这个错误。也许您使用不同版本的 PyTorch 编译了 pointops。更改 PyTorch 版本时,应删除已编译的文件并从头开始重新编译。

@kefusong
Copy link

I am utilizing the RTX 4080 for this task. My environment is configured with the following versions: Python 3.9, Open3D 0.14.1, PyTorch 1.13.1, and CUDA 11.7.

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

No branches or pull requests

3 participants