
select runpod template

RunPod Pytorch 2.1
runpod/pytorch
:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04

any template would work though

if you need extra models download them into the Fooocus/models/checkpoints

edit pod
make volume disk 70 gb - or any size you want

add expose HTTP ports 7861 to connect via proxy
it will by defualt start with --share with gradio share as well

upload everything into workspace folder

to install run below command

export HF_HOME="/workspace"
chmod +x RunPod_Install.sh
./RunPod_Install.sh

to use after install

open a new terminal and run below code to start every time

cd /workspace
cd Fooocus
source venv/bin/activate
python entry_with_update.py --listen --share



