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

Error: Found no NVIDIA driver on your system #3699 #136

Open
clonesangram87 opened this issue Jun 25, 2023 · 0 comments
Open

Error: Found no NVIDIA driver on your system #3699 #136

clonesangram87 opened this issue Jun 25, 2023 · 0 comments

Comments

@clonesangram87
Copy link

Hi,

I have raised an issue in google colab about running ESRGAN. Below is the issue I am facing and received a response from them. Kindly let me know the answer google colab have asked.

Describe the current behavior:
While running the below command I am getting error: Found no NVIDIA driver on your system came when running test.py file
I am trying to run the below:

!git clone https://github.com/xinntao/ESRGAN
!cd ESRGAN

!python /content/ESRGAN/test.py

Traceback (most recent call last):
File "/content/ESRGAN/test.py", line 17, in
model = model.to(device)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1145, in to
return self._apply(convert)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 797, in _apply
module._apply(fn)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 820, in _apply
param_applied = fn(param)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1143, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "/usr/local/lib/python3.10/dist-packages/torch/cuda/init.py", line 247, in _lazy_init
torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

I am connected to GPU
Below is the Cuda details found:

!nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0

**Response from Google colab:

I can see that most of the code in the above mentioned repo is 4-5 years old. Can you confirm with the repo owner that it is compatible with the Colab's current ecosystem, especially with torch 2.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

1 participant