VectorSpaceLab / OmniGen

OmniGen: Unified Image Generation. https://arxiv.org/pdf/2409.11340
MIT License
2.52k stars 187 forks source link

How can I run OmniGen online? #113

Open R-iscool opened 4 days ago

R-iscool commented 4 days ago

I don't really know how to run this on colab. I put in this code !git clone https://github.com/staoxiao/OmniGen.git %cd OmniGen !pip install -e . !pip install gradio spaces !python app.py --share And this is the last output it gave me. After that, it stopped Screenshot_20241109_172458_Chrome

Btw I ran this on colab on a phone (Samsung m34) Also, is it possible to use omnigen online? If yes please tell me how

HarjotSingh-b18055 commented 3 days ago

I tried running on colab. seems that RAM allowed by Colab is not enough to run this. My notebook crashed at this step due to insufficient memory. So seems it is not possible on free tier resources by colab.

R-iscool commented 3 days ago

can you suggest alternative method to run online or a fix to run on colab?

HarjotSingh-b18055 commented 3 days ago

can you suggest alternative method to run online or a fix to run on colab?

@R-iscool running online is not a problem. The problem is resources. The resources that OmniGen demands are not available for free. If you can pay then running online is not a problem.