Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container? #6

Open
helloeverything1 opened this issue Sep 23, 2022 · 5 comments
Open

Docker container? #6

helloeverything1 opened this issue Sep 23, 2022 · 5 comments

Comments

@helloeverything1
Copy link

Could a docker container be made to make it easier to contribute your processing power?
Everything I run is containerized and so I tend to avoid things that aren't.

@db0
Copy link
Member

db0 commented Sep 23, 2022

I could, if someone makes one :D

@manioo8
Copy link

manioo8 commented Oct 4, 2022

@helloeverything1 in the steps for setting up the worker you have to download a 4GB model. what approach would be better for you, having this model included in a docker container, having the container download the model from a slow mirror during the first run, or downloading the model yourself from https://huggingface.co/CompVis/stable-diffusion-v-1-4-original and providing it to the docker image?

@helloeverything1
Copy link
Author

I sorta just saw a cool open source project and wanted to help, not sure if I am the best one to make this decision. But I feel like having the container download the model on its first run is probably best for me because its self contained but the image doesn't have to be huge. (IDK if it matters at all for AI but with a mirror files could be updated on its side and the container could update itself)

@0xdevalias
Copy link

My /2c is that it would kind of depend on the use case of the Dockerfile. I think having a more lightweight one that doesn't include the model directly in it's layers would make a lot of sense for some use cases, but I could see how having the model included and cached within the Docker container's layers could make sense in other use cases.

@wolfgangmeyers
Copy link

docker image probably shouldn't include models, since there are over 100 of them now. But the worker needs a configuration to automatically download configured models without prompting the user.

All-Ki pushed a commit to All-Ki/AI-Horde that referenced this issue Mar 7, 2023
All-Ki pushed a commit to All-Ki/AI-Horde that referenced this issue Mar 7, 2023
* Update WebUI to allow up to 10 threads

* stylefix

* Update model manager with fix

Co-authored-by: Donald Nixon <donald@nodero.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants