Fooocus-API icon indicating copy to clipboard operation
Fooocus-API copied to clipboard

Deploying on EC2

Open annie-bhaiya opened this issue 10 months ago • 2 comments

I'm not able to deploy it on ec2. It says that they don't have CUDA GPUs, but google says that the hardware does have that!

annie-bhaiya avatar Apr 01 '24 03:04 annie-bhaiya

I am not sure as I have no environment on Google cloud, but you can try to install cuda follow cuda-downloads and try again

mrhan1993 avatar Apr 03 '24 08:04 mrhan1993

you need a GPU Instance. Like p2, p3 p4d, p5, g3, g4, g5. And Select this AMI: Deep Learning OSS Nvidia Driver AMI GPU PyTorch 2.1.0 image

Then follow the command below to start:

git clone  https://github.com/konieshadow/Fooocus-API
cd Fooocus-API
pip install -r requirements.txt 
python main.py

PlexPt avatar Apr 03 '24 08:04 PlexPt