stable-diffusion-webui-docker
stable-diffusion-webui-docker copied to clipboard
Wsl docker windows,How to use the specified graphics card for running
Wsl docker windows,How to use the specified graphics card for running.
I have two Nvidia graphics cards, one A4000 and one P106-100. I want to try the P106-100
Similar question here, but I don't know how to set it up in docker.
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/3156
Tks !
you can create a file in the root of the repo called docker-compose.override.yml and put this in it:
services:
auto:
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['1'] # 0 or 1, depending on the graphics card
capabilities: [gpu]
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.