Instructions to use Deci/DeciDiffusion-v2-0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Deci/DeciDiffusion-v2-0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Deci/DeciDiffusion-v2-0", 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
|
@@ -88,7 +88,9 @@ DeciDiffusion 2.0 vs. Stable Diffusion v1.5 at FP16 precision
|
|
| 88 |
|
| 89 |
## How to Use
|
| 90 |
|
| 91 |
-
|
|
|
|
|
|
|
| 92 |
# pip install diffusers==0.21.4 transformers torch
|
| 93 |
|
| 94 |
from diffusers import StableDiffusionPipeline
|
|
|
|
| 88 |
|
| 89 |
## How to Use
|
| 90 |
|
| 91 |
+
**Note:** You must use diffusers v0.21.4 to run the model successfully.
|
| 92 |
+
|
| 93 |
+
```python
|
| 94 |
# pip install diffusers==0.21.4 transformers torch
|
| 95 |
|
| 96 |
from diffusers import StableDiffusionPipeline
|