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

No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda' #48

Open
Entretoize opened this issue Nov 25, 2020 · 1 comment
Open

No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda' #48

Entretoize opened this issue Nov 25, 2020 · 1 comment

Comments

@Entretoize
Copy link

I'm trying to install, but receive the following error:

# bash make.sh
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
Traceback (most recent call last):
  File "setup.py", line 69, in <module>
    ext_modules=get_extensions(),
  File "setup.py", line 42, in get_extensions
    raise NotImplementedError('Cuda is not availabel')
NotImplementedError: Cuda is not availabel

I added that in make.sh:

export CUDA_HOME=/usr/local/cuda-11.0
export CUDNN_INCLUDE_DIR=/usr/local/cuda-11.0/include
export CUDNN_LIB_DIR=/usr/local/cuda-11.0/lib64

But that just changed the error to:
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-11.0'

This is torch.cuda.is_available() that returns false.

@wen-coder
Copy link

版本对应问题的可以注意一下

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