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

cuda10 is not compatible with torch below 1.0 #22

Open
Anniessq opened this issue Nov 17, 2019 · 10 comments
Open

cuda10 is not compatible with torch below 1.0 #22

Anniessq opened this issue Nov 17, 2019 · 10 comments

Comments

@Anniessq
Copy link

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!

@crazy-bot
Copy link

I have successfully run the code with cuda 10

@Yochengliu
Copy link
Owner

Yochengliu commented Dec 11, 2019

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

@Anniessq
Copy link
Author

I have successfully run the code with cuda 10

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

@sheshap
Copy link

sheshap commented Mar 9, 2020

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

@LuckyQingq
Copy link

I have successfully run the code with cuda 10

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

@crazy-bot
Copy link

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

@Holycomfort
Copy link

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

@pixar0407
Copy link

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
Copy link

@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?

@meamm
Copy link

meamm commented Dec 20, 2021

@pixar0407 Have you solved this problem?

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

I also encountered the same error

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

8 participants