basujindal / stable-diffusion

Optimized Stable Diffusion modified to run on lower GPU VRAM
Other
3.14k stars 467 forks source link

could not select device driver "nvidia" with capabilities [[gpu]] #217

Open superhappyfun opened 1 year ago

superhappyfun commented 1 year ago

When I run the docker compose command: docker compose up --build I get this error: Error response from daemon: could not select device driver "nvidia" with capabilities: [[gpu]]

I can see that the driver name in the docker-compose.yml file is "nvidia", so I just need to change this to my device driver name, right? How do I find out what that is? I'm running Linux Mint 21 (Vanessa). Has anyone else encountered this problem? Thanks!

m516 commented 1 year ago

The instructions in the readme call for the Nvidia Container Toolkit. Have you installed that toolkit?