Sygil-Dev / stable-diffusion

GNU Affero General Public License v3.0
1.72k stars 148 forks source link

fixed docker build in linux #197

Closed endomorphosis closed 2 years ago

endomorphosis commented 2 years ago

I made some modifications, so that this will docker build correctly.

when it launches, it iterates through all of the gpu's on the system, and will launch 1 instance per GPU, then announce the instances and GPUs that are running, to a separate server.

oc013 commented 2 years ago

what a mess, use the docker-compose file. If you can't use docker compose for some reason, the same arguments can be recreated from docker command.

A container per gpu is a cool idea though but this changeset is a lot

See #93

endomorphosis commented 2 years ago

I am going to add a websocket connection to a separate server, so that the other server can dispatch jobs to workers, and I can just run a multiple of these docker containers as workers. I will look into your advice and will clean up the repo when its done.