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

Can you only run different model types in the same image? #51

Open
kilimchoi opened this issue Jul 30, 2024 · 1 comment
Open

Can you only run different model types in the same image? #51

kilimchoi opened this issue Jul 30, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@kilimchoi
Copy link

Based on readme, it sounds like we have to build a separate docker image for different model type.
so if we want to support sd2+, sdxl, sd3 models, do we need to build 3 separate docker images?

@TimPietrusky
Copy link
Member

@kilimchoi thanks for getting in touch!

so if we want to support sd2+, sdxl, sd3 models, do we need to build 3 separate docker images?

Exactly, this is how it works right now. The idea was, that people can pick one of the images for their use case and use it without the worry about any other model. This makes sure, that the image sizes are "small" and only contain the things that are totally needed for the specific model.

If you want to have multiple models in one worker, you have two options:

  1. You bake them into one image yourself
  2. You attach a network-storage and use the base image (as it contains no models at all). On the network-storage, you can then add all the models you want.

@TimPietrusky TimPietrusky self-assigned this Aug 11, 2024
@TimPietrusky TimPietrusky added the question Further information is requested label Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants