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