Instructions to use sd2-community/stable-diffusion-2-1-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sd2-community/stable-diffusion-2-1-base with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("sd2-community/stable-diffusion-2-1-base", 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 (Consistency: Disclaimer)
#1
by qpqpqpqpqpqp - opened
README.md
CHANGED
|
@@ -6,6 +6,9 @@ tags:
|
|
| 6 |
---
|
| 7 |
|
| 8 |
# Stable Diffusion v2-1-base Model Card
|
|
|
|
|
|
|
|
|
|
| 9 |
This model card focuses on the model associated with the Stable Diffusion v2-1-base model.
|
| 10 |
|
| 11 |
This `stable-diffusion-2-1-base` model fine-tunes [stable-diffusion-2-base](https://huggingface.co/stabilityai/stable-diffusion-2-base) (`512-base-ema.ckpt`) with 220k extra steps taken, with `punsafe=0.98` on the same dataset.
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
# Stable Diffusion v2-1-base Model Card
|
| 9 |
+
|
| 10 |
+
### ⚠️ This repository is a mirror of the now deprecated `stabilityai/stable-diffusion-2-1-base`, this repository and organization are not affiliated in any way with Stability AI.
|
| 11 |
+
|
| 12 |
This model card focuses on the model associated with the Stable Diffusion v2-1-base model.
|
| 13 |
|
| 14 |
This `stable-diffusion-2-1-base` model fine-tunes [stable-diffusion-2-base](https://huggingface.co/stabilityai/stable-diffusion-2-base) (`512-base-ema.ckpt`) with 220k extra steps taken, with `punsafe=0.98` on the same dataset.
|