Skip to content

Aws and fooocus #1386

Answered by mashb1t
rivboyj asked this question in Q&A
Dec 14, 2023 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Lambda will never be possible in the way you think it would as Fooocus uses 2 processes (one main GUI thread and one worker), which are countering the approach of the lambda.
Sagemaker is also not the perfect match as Fooocus is not just one model but multiple ones and a whole pipeline.
The best way to use Fooocus in AWS should be by creating a custom AMI and boot up instances on-demand in a 0-0-1 ASG on demand, boot up time ~10min on a Windows machine, ~5min on an Ubuntu server using A10Gs (g5) or T4 (g4dn, not recommended).

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@kukovinetsyevhenii
Comment options

@mashb1t
Comment options

Answer selected by mashb1t
@kukovinetsyevhenii
Comment options

@mashb1t
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mashb1t
Comment options

@jeanjerome
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants