Instructions to use segmind/tiny-sd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use segmind/tiny-sd with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("segmind/tiny-sd", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -48,8 +48,10 @@ These are the key hyperparameters used during training:
|
|
| 48 |
|
| 49 |
## Speed Comparision
|
| 50 |
|
| 51 |
-
We have observed that the distilled models are upto
|
| 52 |
|
| 53 |

|
| 54 |

|
| 55 |
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
## Speed Comparision
|
| 50 |
|
| 51 |
+
We have observed that the distilled models are upto 80% faster than the Base SD1.5 Models. Below is a comparision on an A100 80GB.
|
| 52 |
|
| 53 |

|
| 54 |

|
| 55 |
|
| 56 |
+
Below is the code for benchmarking the speeds
|
| 57 |
+
|