Instructions to use sayakpaul/trained-lumina2-lora-yarn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sayakpaul/trained-lumina2-lora-yarn 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") pipe.load_lora_weights("sayakpaul/trained-lumina2-lora-yarn") prompt = "a puppy in a pond, yarn art style" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
How to differentiate the outputs w/wo lora
1
#1 opened over 1 year ago
by
fullsoftwares