Instructions to use Alpha-VLLM/Lumina-Image-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Alpha-VLLM/Lumina-Image-2.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Alpha-VLLM/Lumina-Image-2.0", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Improve model card with metadata and citation
#16
by nielsr HF Staff - opened
This PR enhances the model card by:
- Adding the
library_nameandlicenseto the metadata section for improved searchability and clarity. Thelibrary_nameis set todiffusers, reflecting the model's implementation. The license is assumed to be MIT, pending verification. Please update if incorrect. - Including the full citation for the paper in the model card for proper attribution.
The Gradio demo and GitHub links were already present and are retained.
Thanks, updated!
Dakerqi changed pull request status to merged