Instructions to use CompVis/stable-diffusion-v1-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CompVis/stable-diffusion-v1-2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-2", 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 ·
08a7981
1
Parent(s): c15a211
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,6 +14,7 @@ For more information about how Stable Diffusion functions, please have a look at
|
|
| 14 |
The **Stable-Diffusion-v1-2** checkpoint was initialized with the weights of the [Stable-Diffusion-v1-1](https:/steps/huggingface.co/CompVis/stable-diffusion-v1-1)
|
| 15 |
checkpoint and subsequently fine-tuned on 515,000 steps at resolution `512x512` on "laion-improved-aesthetics" (a subset of laion2B-en,
|
| 16 |
filtered to images with an original size `>= 512x512`, estimated aesthetics score `> 5.0`, and an estimated watermark probability `< 0.5`.
|
|
|
|
| 17 |
|
| 18 |
## Model Details
|
| 19 |
- **Developed by:** Robin Rombach, Patrick Esser
|
|
|
|
| 14 |
The **Stable-Diffusion-v1-2** checkpoint was initialized with the weights of the [Stable-Diffusion-v1-1](https:/steps/huggingface.co/CompVis/stable-diffusion-v1-1)
|
| 15 |
checkpoint and subsequently fine-tuned on 515,000 steps at resolution `512x512` on "laion-improved-aesthetics" (a subset of laion2B-en,
|
| 16 |
filtered to images with an original size `>= 512x512`, estimated aesthetics score `> 5.0`, and an estimated watermark probability `< 0.5`.
|
| 17 |
+
For more information, please refer to [Training](#training).
|
| 18 |
|
| 19 |
## Model Details
|
| 20 |
- **Developed by:** Robin Rombach, Patrick Esser
|