Instructions to use mywang/lora-trained-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mywang/lora-trained-xl 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("mywang/lora-trained-xl") prompt = "a photo of sks dog" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 133 Bytes
08fd026 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:422a3f532f2dce22b90955a31ba02e53e65f4ac1e7685cbe38ab50b01d7bca4c
size 23649529
|