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

An error while running the install.sh script #294

Open
user67979868 opened this issue Jan 29, 2025 · 2 comments
Open

An error while running the install.sh script #294

user67979868 opened this issue Jan 29, 2025 · 2 comments

Comments

@user67979868
Copy link

I encountered an error while running the install.sh script. The error message is as follows:

/usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/myenv37/lib/python3.7/site-packages/torch/lib/include -I/root/miniconda3/envs/myenv37/lib/python3.7/site-packages/torch/lib/include/TH -I/root/miniconda3/envs/myenv37/lib/python3.7/site-packages/torch/lib/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/myenv37/include/python3.7m -c channelnorm_kernel.cu -o build/temp.linux-x86_64-cpython-37/channelnorm_kernel.o -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_70,code=compute_70 -DTORCH_EXTENSION_NAME=channelnorm_cuda -D_GLIBCXX_USE_CXX11_ABI=0 --compiler-options '-fPIC' -std=c++11
channelnorm_kernel.cu:3:35: fatal error: ATen/cuda/CUDAContext.h: No such file or directory
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1

The error indicates that the compiler cannot find the file ATen/cuda/CUDAContext.h. Indeed, I have been unable to locate this file in my environment.

My current setup is: Ubuntu 16.04, PyTorch version 0.4.1, CUDA 9.2, and Python 3.7.

I would greatly appreciate any assistance you can provide in resolving this issue.

@atgrap
Copy link

atgrap commented Jan 29, 2025

please any one help to give this checkpoint model

@user67979868
Copy link
Author

please any one help to give this checkpoint model

OK, thanks! I already solve this problem by changing pytorch to 1.0.0!

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

2 participants