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

CUDA Version issue #7

Closed
cedro3 opened this issue Dec 16, 2020 · 4 comments
Closed

CUDA Version issue #7

cedro3 opened this issue Dec 16, 2020 · 4 comments

Comments

@cedro3
Copy link

cedro3 commented Dec 16, 2020

I'm trying to run demo on Google Colab, but I get the following error:

AssertionError:
The NVIDIA driver on your system is too old (found version 10010).
Please update your GPU driver by downloading and installing a new
version from the URL: http://www.nvidia.com/Download/index.aspx
Alternatively, go to: https://pytorch.org to install
a PyTorch version that has been compiled with your version
of the CUDA driver.

However, when I check the version with Nvidia-smi, it is CUDA version: 10.1, which is fine.
Is there any solution?

@RohithPillai
Copy link

Had the same issue. But reinstalling pytorch with cudatoolkit=10.1 fixed it for me.
conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.1 -c pytorch

@cedro3
Copy link
Author

cedro3 commented Dec 18, 2020

Thank you for the useful information. I'm running on Google Colab, so running the code below first solved the problem.

!pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html

Thank you. This problem has been resolved.

@cedro3
Copy link
Author

cedro3 commented Dec 18, 2020 via email

@cedro3
Copy link
Author

cedro3 commented Dec 19, 2020

This issue has been resolved.

@cedro3 cedro3 closed this as completed Dec 19, 2020
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