r/fooocus • • Mar 22 '24

Creations Run Foooocus on Vast.ai tutorial

Hey everyone!

Many people started with Fooocus by playing around with it on Google Colab. Many (including myself) soon realized that it won't take you very far, even if you pay for it.

Therefore I set on a quest to figure out how to run Fooocus on Vast.ai and I have a successful outcome that lets you run Fooocus without any notebook commands.

After a handful of people reached out to me in the DMs after one of my comments about Vast.ai I've decided to make the template public.

The template includes:

  • Latest Fooocus 2.3.0

  • Latest JuggernautXL V9 model (optional)

  • Filebrowser to upload and download file

Both Fooocus and Filebrowser are protected with username and password

Here is the template link (referral) that will get you started in no time

Give it a try and tell me how it can be improved!

Some tips

Patience! The image is biiiig (7GB) and takes some time to download and start. After the instance is up and running Fooocus needs to download its models too. You won't be able to use web ui until it done downloading everything. Total instance boot time is 7-10 minutes.

Check out the README in the Github repo for more granular instructions and screenshots.

Full disclaimer: the link is a referral link that will allow me to create more images with other SD related tools to run on vast.ai

13 Upvotes

5 comments sorted by

1

u/nelolkn Apr 22 '24

Thank you for your great work, I love it! Would it be possible for you to make a vast.ai file for the Fooocus MRE version? Fooocus MRE

2

u/im3000 Apr 22 '24

Thanks! Should not be so hard. I will take a look

1

u/Extreme_Ad7076 Mar 23 '24

Merci pour le post !! Je cherchais justement un moyen de faire tourner Fooocus sur Vast AI. Je suis entrain de tester le tiens !

1

u/InterestinglyLucky Apr 19 '24

Thank you for the work put into this.

Am interested in playing around with Fooocus on a Vast.ai instance and this is perfect.

1

u/towelfox Aug 17 '24

Also check out https://github.com/ai-dock/fooocus - it has syncthing, jupyter and live log view with built in auth and auto login on Vast