camenduru / Fooocus-colab

194 stars 59 forks source link

Reach GPU RAM limit in 10 image generated #2

Open Semonxue opened 1 year ago

Semonxue commented 1 year ago

Thanks Gamenduru and lllyasviel , Fooocus is good for easily generating midjourney quality images.

After I tested , I found the app will crash after about 10 images in colab. It will touch GPU ram limit very soon.

I'm run on colab pro and T4 server.

Please check the screenshot when crash in below. Screenshot of Fooocus_colab ipynb - Colaboratory

kuldp18 commented 1 year ago

Thanks Gamenduru and lllyasviel , Fooocus is good for easily generating midjourney quality images.

After I tested , I found the app will crash after about 10 images in colab. It will touch GPU ram limit very soon.

I'm run on colab pro and T4 server.

Please check the screenshot when crash in below. Screenshot of Fooocus_colab ipynb - Colaboratory

Also the --normalvram flag doesn't help :(

camenduru commented 1 year ago

yep, we have a memory leak 😱 maybe it is in the comfyui code, idk yet 😭

kuldp18 commented 1 year ago

yep, we have a memory leak 😱 maybe it is in the comfyui code, idk yet 😭

so I should avoid running it locally as well right?

camenduru commented 1 year ago

image

maybe fixed please try again

Semonxue commented 1 year ago

@camenduru Thanks for hard working. It looks the problem is still there. I tried 2 times and still crashed in 20 images.

image image