Instructions to use diffusers/tiny-stable-diffusion-torch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/tiny-stable-diffusion-torch 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/tiny-stable-diffusion-torch", 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
- Draw Things
- DiffusionBee
Commit ·
34fb209
1
Parent(s): d8a5ece
Update model_index.json
Browse files- model_index.json +2 -2
model_index.json
CHANGED
|
@@ -28,6 +28,6 @@
|
|
| 28 |
"vae": [
|
| 29 |
"diffusers",
|
| 30 |
"AutoencoderKL"
|
| 31 |
-
]
|
| 32 |
-
"requires_safety_checker": false
|
| 33 |
}
|
|
|
|
| 28 |
"vae": [
|
| 29 |
"diffusers",
|
| 30 |
"AutoencoderKL"
|
| 31 |
+
],
|
| 32 |
+
"requires_safety_checker": false
|
| 33 |
}
|