basujindal / stable-diffusion

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

Use modern method to enable GPU access in Docker Compose #160

Closed awthwathje closed 1 year ago

awthwathje commented 1 year ago

As stated in the Compose docs, runtime: nvidia is a legacy method. It didn't even work in my WSL environment.

In this PR the modern method is used, exactly as suggested in the official documentation.