-
Notifications
You must be signed in to change notification settings - Fork 4
fatal error: cuda_runtime.h: No such file or directory #3
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
Comments
Hello Klimov, your CUDA setup looks good to me. There are a number of people who cannot install In the meantime: Can you clone the repository and run |
(Not sure about sudo but setup.py needs access for /usr/local/lib/python3.6/dist-packages/test-easy-install-11925.write-test) Offtop - i need to leave my computer for some time so it looks like I can only answer tomorrow |
Two possible solutions:
|
Hi! I'm sorry for delay. It's looks like it's completely my fault. I have two cuda folders - cuda-9.1 and cuda-9.0. I created symlink to 9.1 folder by hands. And there is no cuda_runtime.h inside cuda-9.1 folder! But cuda-9.0 has it. I failed to compile torch-unique with cuda-9.0 because of gcc7 but it's temporary, i hope. |
I changed default gcc version to gcc-6 and installed cuda-9.1 properly. Also i reinstall pytorch via pip3 with cuda9.1.
Maybe my torch version too high?
|
|
I cloned repository and tried to compile some stuff in cpp and cuda folders Cpp looks ok:
CUDA fails
|
This may be related: pytorch/extension-cpp#14 |
Hello!
First of all i'm sorry for my poor English.
I just tried to install torch-unique and received following message:
I understand that i have some problem with proper cuda paths but i just cannot figure out how to solve it. Can you help me?
I have following lines in my .zshrc:
Also i made
ln -s cuda-9.1 cuda
inside my/usr/local
directory, so i have a valid/usr/local/cuda/
path.As i can see Torch/Tensorflow stuff works well so at least some of my paths are ok.
I can provide any additional information if it is needed. Sorry for disturbing you.
The text was updated successfully, but these errors were encountered: