-
Notifications
You must be signed in to change notification settings - Fork 739
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
fatal error run bash insatll.sh #156
Comments
@xuleyoung i meet the same question, how to solve it |
@xuleyoung @Zhuysheng did you find the solution ? |
@osamagharbi maybe you can try pytorch version 1.0.0, it solved my problem. |
but it gives another error: running install I don't know why this path "/usr/local/cuda-9.0/lib64/libcudnn.so.7/include" will be given, where to change it? |
The Master branch now is working with |
|
pytorch 1.1.0, cuda 10, python 27 works |
pytorch 1.0.0, cuda 9.0, python 3.6 works |
Had the same issue. Changing cuda with https://github.com/phohenecker/switch-cuda/blob/master/switch-cuda.sh |
pytorch 1.3.1, cuda 10, python 36 nopes |
Ubuntu 16.04 - Driver: 440.33
|
pytorch 1.0.0, CUDA 9.0, gcc=5.3.1, g++=5.3.1 works |
@cgokce @jjkislele Hi, I use pytorch1.0.0 Cuda10.0, it works. |
python3.6-cuda9.0-cudnn7.6-pytorch0.4.1-gcc5.5.0 nopes |
pytorch 1.4.0, cuda 10.1, python 36 works |
works for me! :) |
ubuntu 18.04, python 3.6, torch 1.0.0, cuda 9.0 works for me. |
您发给我的信件已经收到,我会尽快给您答复! ---------------- 席超星
|
python 3.9 pytorch 1.1 cuda 11.2 - FAILS |
您发给我的信件已经收到,我会尽快给您答复! ---------------- 席超星
|
1 similar comment
您发给我的信件已经收到,我会尽快给您答复! ---------------- 席超星
|
o my god!!! |
hi what did you use for pytorch version? |
hi, can you tell me the in which environment did you run this code |
conda install pytorch==1.2.0 torchvision==0.4.0 -c pytorch |
Hi, when I run bash install.sh
There are some problems, I don't know how to solve it, please help me, Thank you.
unning install_lib
running build_ext
building 'correlation_cuda' extension
gcc -pthread -B /media/data2/xly/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/TH -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/media/data2/xly/anaconda3/envs/py36/include/python3.6m -c correlation_cuda.cc -o build/temp.linux-x86_64-3.6/correlation_cuda.o -std=c++11 -DTORCH_EXTENSION_NAME=correlation_cuda
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
correlation_cuda.cc:4:35: fatal error: ATen/cuda/CUDAContext.h: No such file or directory
#include <ATen/cuda/CUDAContext.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
running install
running bdist_egg
running egg_info
writing resample2d_cuda.egg-info/PKG-INFO
writing dependency_links to resample2d_cuda.egg-info/dependency_links.txt
writing top-level names to resample2d_cuda.egg-info/top_level.txt
reading manifest file 'resample2d_cuda.egg-info/SOURCES.txt'
writing manifest file 'resample2d_cuda.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'resample2d_cuda' extension
gcc -pthread -B /media/data2/xly/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/TH -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/media/data2/xly/anaconda3/envs/py36/include/python3.6m -c resample2d_cuda.cc -o build/temp.linux-x86_64-3.6/resample2d_cuda.o -std=c++11 -DTORCH_EXTENSION_NAME=resample2d_cuda
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/usr/local/cuda/bin/nvcc -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/TH -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/media/data2/xly/anaconda3/envs/py36/include/python3.6m -c resample2d_kernel.cu -o build/temp.linux-x86_64-3.6/resample2d_kernel.o -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -DTORCH_EXTENSION_NAME=resample2d_cuda --compiler-options '-fPIC' -std=c++11
resample2d_kernel.cu:3:35: fatal error: ATen/cuda/CUDAContext.h: No such file or directory
#include <ATen/cuda/CUDAContext.h>
^
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
running install
running bdist_egg
running egg_info
writing channelnorm_cuda.egg-info/PKG-INFO
writing dependency_links to channelnorm_cuda.egg-info/dependency_links.txt
writing top-level names to channelnorm_cuda.egg-info/top_level.txt
reading manifest file 'channelnorm_cuda.egg-info/SOURCES.txt'
writing manifest file 'channelnorm_cuda.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'channelnorm_cuda' extension
gcc -pthread -B /media/data2/xly/anaconda3/envs/py36/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/TH -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/media/data2/xly/anaconda3/envs/py36/include/python3.6m -c channelnorm_cuda.cc -o build/temp.linux-x86_64-3.6/channelnorm_cuda.o -std=c++11 -DTORCH_EXTENSION_NAME=channelnorm_cuda
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/usr/local/cuda/bin/nvcc -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/TH -I/media/data2/xly/anaconda3/envs/py36/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/media/data2/xly/anaconda3/envs/py36/include/python3.6m -c channelnorm_kernel.cu -o build/temp.linux-x86_64-3.6/channelnorm_kernel.o -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -DTORCH_EXTENSION_NAME=channelnorm_cuda --compiler-options '-fPIC' -std=c++11
channelnorm_kernel.cu:3:35: fatal error: ATen/cuda/CUDAContext.h: No such file or directory
#include <ATen/cuda/CUDAContext.h>
^
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
The text was updated successfully, but these errors were encountered: