Instructions to use jasperai/flash-sdxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jasperai/flash-sdxl 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("jasperai/flash-sdxl") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,11 +8,11 @@ tags:
|
|
| 8 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 9 |
license: cc-by-nc-nd-4.0
|
| 10 |
---
|
| 11 |
-
# ⚡ FlashDiffusion:
|
| 12 |
|
| 13 |
|
| 14 |
Flash Diffusion is a diffusion distillation method proposed in [ADD ARXIV]() *by Clément Chadebec, Onur Tasar and Benjamin Aubin.*
|
| 15 |
-
This model is a **26.4M** LoRA distilled version of
|
| 16 |
|
| 17 |
|
| 18 |
<p align="center">
|
|
|
|
| 8 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 9 |
license: cc-by-nc-nd-4.0
|
| 10 |
---
|
| 11 |
+
# ⚡ FlashDiffusion: FlashSDXL ⚡
|
| 12 |
|
| 13 |
|
| 14 |
Flash Diffusion is a diffusion distillation method proposed in [ADD ARXIV]() *by Clément Chadebec, Onur Tasar and Benjamin Aubin.*
|
| 15 |
+
This model is a **26.4M** LoRA distilled version of [SDXL](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0) model that is able to generate images in **4 steps**. The main purpose of this model is to reproduce the main results of the paper.
|
| 16 |
|
| 17 |
|
| 18 |
<p align="center">
|