Skip to content

Reducing container file size #20

Answered by davefojtik
TowhidKashem asked this question in Q&A
Discussion options

You must be logged in to vote

Since container size on its own won't affect its generation speed (the model sizes and resources of course can, but only when they're loaded for a task), the main reason to keep them tiny is your own time needed to upload them online and perhaps waiting for a new workers to download them.

But of course, it makes sense to remove models that you're sure you won't need. In fact, they're making most of the image size (currently uncompressed 17.7GB), which is also the reason why the konieshadow/fooocus-api is much smaller since it does not include them but instead downloads the first time you launch it, and then at times you hit certain controlnet endpoints to download the rest. As you already…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@TowhidKashem
Comment options

@davefojtik
Comment options

@TowhidKashem
Comment options

Answer selected by TowhidKashem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement Possible new feature or improvement request
2 participants