Instructions to use ByteDance/SDXL-Lightning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ByteDance/SDXL-Lightning with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ByteDance/SDXL-Lightning", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update readme
Browse files
README.md
CHANGED
|
@@ -22,9 +22,9 @@ We provide both full UNet and LoRA checkpoints. The full UNet models have the be
|
|
| 22 |
The community has made some amazing demos based on SDXL-Lightning.
|
| 23 |
Here we feature some of the best:
|
| 24 |
|
| 25 |
-
*
|
| 26 |
-
*
|
| 27 |
-
*
|
| 28 |
|
| 29 |
## Diffusers Usage
|
| 30 |
|
|
|
|
| 22 |
The community has made some amazing demos based on SDXL-Lightning.
|
| 23 |
Here we feature some of the best:
|
| 24 |
|
| 25 |
+
* Generate with all configurations: [Demo](https://huggingface.co/spaces/AP123/SDXL-Lightning)
|
| 26 |
+
* Real-time generation as you type: [Demo1](https://huggingface.co/spaces/radames/Real-Time-Text-to-Image-SDXL-Lightning), [Demo2](https://fastsdxl.ai/)
|
| 27 |
+
* Comparison to other models: [Link](https://anotherjesse.com/posts/sdxl-lightning/)
|
| 28 |
|
| 29 |
## Diffusers Usage
|
| 30 |
|