GithubHelp home page GithubHelp logo

Comments (8)

borisdayma avatar borisdayma commented on August 26, 2024 1

The colab has been modified and should now work well on your version.

Those references in gradio were from an old version from last year.

from dalle-mini.

articulite avatar articulite commented on August 26, 2024 1

Just a little sketchy haha.
image

from dalle-mini.

Aaron-G-42 avatar Aaron-G-42 commented on August 26, 2024

Are you running with the high-RAM version in google colab? I'm not using Pro so I had to switch the 'DALLE_MODEL' to the lower RAM version as the notes specified. Wasn't sure why but suspected that was the reason my results are consistently worse than hugging face platform. Example:

Untitled

(btw that bottom left on the colab was how it came out. Seems like a bug? I did notice a '255' indexing somewhere where I thought it should be 256... but haven't investigated)

from dalle-mini.

borisdayma avatar borisdayma commented on August 26, 2024

So in colab you probably run dalle-mini while the spaces is dalle-mega.
I updated the colab so it requires a bit less memory but it may not be enough for such a large model without colab pro.

from dalle-mini.

articulite avatar articulite commented on August 26, 2024

I'm getting crazy good results for an art project out of the spaces, but nightmare fuel and/or anime girls using the same queries in the colab. Getting weird results out of jina-ai/dalle-flow too, so I figure your dictionary is superior or something.

I'm really pushing it hard with complex queries and it's handling incredibly well.

Edit: I just tried colab pro and it OOMs (before model.to_fp16(params)). $50/mo for colab pro+ is out of my budget. :'(

from dalle-mini.

articulite avatar articulite commented on August 26, 2024

What don't understand though is why this:

.../app_gradio.py

has this:

from dalle_mini.model import CustomFlaxBartForConditionalGeneration

DALLE_REPO = "flax-community/dalle-mini"
DALLE_COMMIT_ID = "4d34126d0df8bc4a692ae933e3b902a1fa8b6114"

And you're saying that's the same as this in colab?:

DALLE_MODEL = "dalle-mini/dalle-mini/mega-1:latest"

from dalle-mini.

articulite avatar articulite commented on August 26, 2024

Woah ok so I had restarted the runtime and run all while doing other things. Checked back and it's working now.

Now let's see if the queries are scary anime girls...

from dalle-mini.

articulite avatar articulite commented on August 26, 2024

Nope! It's perfect.

from dalle-mini.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.