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
|
@@ -13,7 +13,6 @@ widget:
|
|
| 13 |
output:
|
| 14 |
url: images/image (7).webp
|
| 15 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
| 16 |
-
instance_prompt: Diffusion, Distillation, text-to-image, fast image generation, sdxl
|
| 17 |
license: cc-by-nc-nd-4.0
|
| 18 |
---
|
| 19 |
# flash-sdxl
|
|
|
|
| 13 |
output:
|
| 14 |
url: images/image (7).webp
|
| 15 |
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
|
|
|
| 16 |
license: cc-by-nc-nd-4.0
|
| 17 |
---
|
| 18 |
# flash-sdxl
|