Instructions to use diffusers/lora-trained-xl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/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("diffusers/stable-diffusion-xl-base-0.9", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("diffusers/lora-trained-xl") prompt = "a photo of sks dog" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,3 +23,7 @@ These are LoRA adaption weights for diffusers/stable-diffusion-xl-base-0.9. The
|
|
| 23 |
|
| 24 |
|
| 25 |
LoRA for the text encoder was enabled: False.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
LoRA for the text encoder was enabled: False.
|
| 26 |
+
|
| 27 |
+
## License
|
| 28 |
+
|
| 29 |
+
[SDXL 0.9 Research License](https://huggingface.co/stabilityai/stable-diffusion-xl-base-0.9/blob/main/LICENSE.md)
|