-
Notifications
You must be signed in to change notification settings - Fork 377
Unable to compile pointnet2 #108
Comments
@EricWiener What is your gpu model? It is common to have promlem because RTX 30 series gpus works with cuda 11 or higher. Most of the people does not aware of that |
@MBaranPeker I have a Nvidia RTX 2070 8 GB |
Anybody have a fix for this? Also running CUDA 11.1, Python3.7, RTX 3090, Pytorch 1.7.0. |
Found a fix:
The issue here is that the extra_compile_args doesn't accept relative paths correctly (probably because the working directory changes). We need to make sure headers is an absolute path. |
I want to ask how to change all instances of AT_CHECK to TORCH_CHECK inside all the source files inside pointnet2/_ext_src/src and pointnet2/_ext_src/include. This is due to an API change in PyTorch? |
yes my gpu is RTX 3080, do you know how to run the code in 3080gpu? |
SO Great! thank you!and I success run my code(Imvotenet). |
Great! I have solved this problem, my GPU is RTX3080, Pytorch 1.7.1 |
CUDAExtension( Should be changed to CUDAExtension( |
I have change all instances of AT_CHECK to TORCH_CHECK, and rewrite setup.py but still got error like this: |
Thanks |
Awesome! worked nicely, Kudos to you!! |
That fix works for torch 1.10, thanks a lot!!! |
@daxiongpro All the mentions in the extension source not the source of pytorch as a whole. Run this in your pointnet2 directiory.
|
That works for me. Maybe it because that cuda version question, New cuda version uses the TORCH_CHECK instead of the AT_CHECK. |
operation system is win or Linux? |
Thank U! |
When running:
I get the error:
Here's my
conda list
:If you have any advice, I'd really appreciate it. Please let me know if you need more information.
The text was updated successfully, but these errors were encountered: