Lumina2Text2ImgPipeline don't exists

#1
by poluramus - opened

The Lumina2Text2ImgPipeline don't seems to exists. I can find the LuminaText2ImgPipeline, but not the one with the number two. Am I missing something ?

Alpha-VLLM org

Thanks for your interest. Our lumina 2 model is going to be released soon. Please stay tuned!

FYI to other folks:

I had to explicitly run

pip uninstall diffusers

Then

pip install git+https://github.com/painebenjamin/diffusers.git@lumina2

And then I didnt get that error

The lumina2 pipeline is currently still in PR of diffusers for now, so we have to install it manually. For folks doing fresh install before the PR gets merged, replace the diffusers in the requirements.txt with git+https://github.com/painebenjamin/diffusers.git@lumina2 and it should work as is.

When you say "should work", do you mean "i think it should work", or "I've actually tried it and it works for me on a clean environment".
Because as far as I've tried (as of yesterday!) it does not work (on Ubuntu 24).

Alpha-VLLM org

@ppbrown @poluramus
Currently, the official Diffusers repository has not merged our code yet. However, you can directly install Diffusers by running:

pip install git+https://github.com/zhuole1025/diffusers@lumina2

Once installed, you can use the inference code we provided, and it will run normally.

When you say "should work", do you mean "i think it should work", or "I've actually tried it and it works for me on a clean environment".
Because as far as I've tried (as of yesterday!) it does not work (on Ubuntu 24).

It is confirmed to be working on my Windows 11 machine.
BTW I am using https://huggingface.co/spaces/benjamin-paine/Lumina-Image-2.0/, not the repo from the original author, as my machine cannot stand loading all the models at once.

Sign up or log in to comment