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 ·
3678571
1
Parent(s): 34fb209
Update model_index.json
Browse files- model_index.json +2 -2
model_index.json
CHANGED
|
@@ -6,8 +6,8 @@
|
|
| 6 |
"CLIPFeatureExtractor"
|
| 7 |
],
|
| 8 |
"safety_checker": [
|
| 9 |
-
|
| 10 |
-
|
| 11 |
],
|
| 12 |
"scheduler": [
|
| 13 |
"diffusers",
|
|
|
|
| 6 |
"CLIPFeatureExtractor"
|
| 7 |
],
|
| 8 |
"safety_checker": [
|
| 9 |
+
"stable_diffusion",
|
| 10 |
+
"StableDiffusionSafetyChecker"
|
| 11 |
],
|
| 12 |
"scheduler": [
|
| 13 |
"diffusers",
|