Instructions to use alvdansen/littletinies with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use alvdansen/littletinies with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("alvdansen/littletinies") prompt = "a girl wandering through the forest" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Any code example?
#1
by ShengguangZhou - opened
Hi, I love your imagination on LoRA, mind to provide code example?
What sort of code?
@ShengguangZhou so this is using a stable diffusion xl model with custom LoRA, so you can just follow the stable diff docs https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion/stable_diffusion_xl