Skipping model load at the start #2532
Answered
by
mashb1t
Sreerag-ibtl
asked this question in
Q&A
-
Can we skip model loading at the start? I didn't see any cmd flag matching it. As a side note, I plan to use Fooocus as an API rather than UI. Loading models in the start will occupy GPU making other services in the container to throw OOM errors. |
Beta Was this translation helpful? Give feedback.
Answered by
mashb1t
Mar 15, 2024
Replies: 1 comment 1 reply
-
This is only possible when changing the code and commenting / removing these lines: https://github.com/lllyasviel/Fooocus/blob/main/modules/default_pipeline.py#L254-L258 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mashb1t
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is only possible when changing the code and commenting / removing these lines: https://github.com/lllyasviel/Fooocus/blob/main/modules/default_pipeline.py#L254-L258
Wouldn't the otehr services then go OOM when starting the image generation the container anyways?