Relation-Shape-CNN icon indicating copy to clipboard operation
Relation-Shape-CNN copied to clipboard

cuda10 is not compatible with torch below 1.0

Open Anniessq opened this issue 6 years ago • 10 comments

Dear author: I want to ask that if your code run at cuda10? If can't, should I change your code to torch1.0,or change my cuda to lower version?

Thank your for you work! Looking forward to your reply!

Anniessq avatar Nov 17 '19 02:11 Anniessq

I have successfully run the code with cuda 10

crazy-bot avatar Dec 11 '19 02:12 crazy-bot

Great! I'm not sure the results can be reproduced using cuda 10.

Yochengliu avatar Dec 11 '19 03:12 Yochengliu

I have successfully run the code with cuda 10

May I ask you which version of pytorch have you installed ?

Anniessq avatar Dec 30 '19 08:12 Anniessq

I have successfully run the code with cuda 10

Please let us know what are the configurations you used to run it on cuda 10

sheshap avatar Mar 09 '20 20:03 sheshap

I have successfully run the code with cuda 10

Could you give us the configurations you use? Thank you ahead!

LuckyQingq avatar May 11 '20 02:05 LuckyQingq

I have deleted the conda environment. As far I remember it was pytorch 1.3.1

crazy-bot avatar May 14 '20 21:05 crazy-bot

My solution is (with cuda10.1):

  1. rm -rf build
  2. mkdir build && cd build
  3. cmake -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda ..
  4. make

Holycomfort avatar Jul 14 '20 04:07 Holycomfort

My solution is (with cuda10.1):

  1. rm -rf build
  2. mkdir build && cd build
  3. cmake -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda ..
  4. make

@Holycomfort Can you let me know your python version?

I got this error

raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")

my configuration is cuda : 10.0.110 torch : 1.4.0 python : 3.7.10 conda : 4.8.3

thank you.

pixar0407 avatar Apr 04 '21 07:04 pixar0407

@crazy-bot

I have deleted the conda environment. As far I remember it was pytorch 1.3.1

hello, did you have any problem with using torch 1.3.1 related to ffi error? i got this error

Traceback (most recent call last): File "/home/ygkim/point_cloud/Relation-Shape-CNN/utils/build_ffi.py", line 4, in from torch.utils.ffi import create_extension File "/home/ygkim/anaconda3/envs/rscnn4/lib/python3.7/site-packages/torch/utils/ffi/init.py", line 1, in raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.") ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

people tell me that this error comes from torch version mis-match. they say we should use torch version 0.4.1... how did you do it?

pixar0407 avatar Apr 04 '21 08:04 pixar0407

@pixar0407 Have you solved this problem?

raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")

I also encountered the same error

meamm avatar Dec 20 '21 11:12 meamm