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

About NVIDIA Driver in WSL2 #22

Closed
zqnss666 opened this issue Nov 14, 2022 · 5 comments
Closed

About NVIDIA Driver in WSL2 #22

zqnss666 opened this issue Nov 14, 2022 · 5 comments

Comments

@zqnss666
Copy link

I have tried to install the program in wsl2 using ubuntu. If I use command "nvidia-smi' in linux, I can get a result:
error1

But when I try to install cuda from nvidia by
wget https://developer.download.nvidia.com/compute/cuda/11.5.0/local_installers/cuda_11.5.0_495.29.05_linux.run
sudo sh cuda_11.5.0_495.29.05_linux.run
It will warn like that:
error

Thus is it necessary to download and install the nvidia driver for linux 64-bit in nvidia website? I tried to do that, but I can not install it locally in wsl2-ubuntu system. It reminded that there is not an NVIDIA GPU in this system. Thanks!

@Steve-Tod
Copy link
Collaborator

At the end of the log you can see that you can use sudo cuda_11.5.0_495.29.05_linux.run -silent -driver to install driver. And from nvidia-smi it seems you already have cuda driver installed. You can try install pytorch and run a = torch.randn(3).cuda() and see if there's any error.

@zqnss666
Copy link
Author

Thus if I run it smoothly, it proves cuda will be used in experiments without problem?

@zqnss666
Copy link
Author

And when I tried to build the ConvOnets as step 4 in installation, some warnings happened:
21126abd3387f4b6b90f431c2c91fd0
If it was caused by differentt versions of related packages? And it will affect future experiments like generating or training? Thanks!!

@Steve-Tod
Copy link
Collaborator

The warning is normal. It won't affect the experiments.

@zqnss666
Copy link
Author

Thanks!I am now tring to process data and train the models.

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