Giter VIP home page Giter VIP logo

Comments (6)

damien122 avatar damien122 commented on May 20, 2024 1

hi, do you have Nvidia-smi installed?
Just try in a new line:
!nvidia-smi

If it is installed you should see a table with your Grafik card information.

May be this would be helpful

https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/

from disco_diffusion_local.

Ens-Primum avatar Ens-Primum commented on May 20, 2024

BLUF: Going to look over the install directions and see if I missed anything.

!nvidia-smi
returns:
-bash: !nvidia: event not found

Followed the link and ran:
sudo apt install nvidia-driver-510 nvidia-dkms-510

Failed but suggested I run apt-get update
apt-get update failed due to permissions.

I used this article to switch my user to the root user and retried the update, success.

Still as the root user I retried apt install nvidia-driver-510 nvidia-dkms-510, success
then: hwinfo --gfxcard --short, failed, had to install it too with apt-get hwinfo.
retrying hwinfo --gfxcard --short works now but returns no output.

moved back into the notebook by running:
conda activate pytorch_110
and then:
jupyter notebook --no-browser

nvidia-smi is found now but gives a new error:
"NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running."

Possible explanation:
"I have no solid evidence to base this on, but it's possible that WSL does not actually expose all of the hardware claimed by the Host to the WSL Ubuntu environment. This may be why you can't work with it, because you don't have direct PCI access like you would in an Ubuntu installation directly on-system, but are instead basically 'containerized' within Windows. The underlying WSL abstraction library for syscalls also may not be permitted to have that access either."

Specs:
Intel(R) Core(TM) i9-10900KF CPU @ 3.70GHz 3.70 GHz
32.0 GB (RAM)
Windows 10 Pro 21H2
NVIDIA GeForce RTX 3090

from disco_diffusion_local.

Ens-Primum avatar Ens-Primum commented on May 20, 2024

Looks like I went after WSL/Ubuntu from the wrong direction. I already had it installed from an earlier docker desktop installation. Tearing that down and trying over.

from disco_diffusion_local.

Ens-Primum avatar Ens-Primum commented on May 20, 2024

I have completely removed Ubuntu/WSL and started over.
nvidia-smi works now:
image

Unfortunately I'm running into a new issue:

RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

image

from disco_diffusion_local.

Ens-Primum avatar Ens-Primum commented on May 20, 2024

Error persists with different drivers:
image

from disco_diffusion_local.

Ens-Primum avatar Ens-Primum commented on May 20, 2024

Making a new post since this one was solved by me uninstalling/reinstalling WSL.

from disco_diffusion_local.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.