Overview
Fooocus is an open-source image generating model. In this tutorial, you’ll run Fooocus in a Jupyter Notebook and then launch the Gradio-based interface to generate images. Time to complete: ~5 minutesPrerequisites
The minimal requirement to run Fooocus is:- 4GB Nvidia GPU memory (4GB VRAM)
- 8GB system memory (8GB RAM)
Runpod infrastructure
- Select Pods and choose + GPU Pod.
- Choose a GPU instance with at least 4GB VRAM and 8GB RAM by selecting Deploy.
-
Search for a template that includes Jupyter Notebook and select Deploy.
- Select Runpod Pytorch 2.
- Ensure Start Jupyter Notebook is selected.
- Select Choose and then Deploy.
Run the notebook
- Select Connect to Jupyter Lab.
- In the Jupyter Lab file browser, select File > New > Notebook.
- In the first cell, paste the following and then run the Notebook.