CompVis / stable-diffusion

A latent text-to-image diffusion model
https://ommer-lab.com/research/latent-diffusion-models/
Other
68.4k stars 10.17k forks source link

RuntimeError: Found no NVIDIA driver on your system. #161

Open ThreeTwoBravo opened 2 years ago

ThreeTwoBravo commented 2 years ago

Running stable diffusion locally with Ubuntu1804/WSL2 on windows 10 21H2 (19044.1288). Have a RTX3090 with latest drives installed.

When I run a prompt is starts downloading: image

It then stops with RuntimeError: Found no NVIDIA driver on your system. image

Do I need to install the CUDA toolkit for WSL2 from here? I did notice the toolkit was included in the ldm environment package https://docs.nvidia.com/cuda/wsl-user-guide/index.html#setting-up-linux-dev-env

Thanks for any help

BlueAmulet commented 2 years ago

Why not just run stable diffusion under Windows without WSL? You don't need WSL to be able to use stable diffusion or pytorch or CUDA on Windows.

ThreeTwoBravo commented 2 years ago

I wasn't aware that was possible. Can it be run locally or do you mean using it online with colab etc? Tbh this has become more about the challenge of getting it up and running locally and learning about how WSL works ;)

ThreeTwoBravo commented 2 years ago

SOLVED: I was running WSL 1, updated to WSL2 and its working fine. Silly mistake but learnt a lot before I found it ;)

pipik-roman commented 2 years ago

I have the same issue, but running without WSL. Is it possible to run this on systems without NVIDIA driver/graphics?