Instructions to use SherrySun/ddpm-butterflies-128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SherrySun/ddpm-butterflies-128 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SherrySun/ddpm-butterflies-128", 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
Ctrl+K
- 774 kB xet
- 536 kB xet
- 542 kB xet
- 556 kB xet
- 2.34 MB xet
- 2.35 MB xet
- 2.36 MB xet
- 2.38 MB xet
- 2.38 MB xet
- 2.4 MB xet
- 2.4 MB xet
- 2.4 MB xet
- 2.43 MB xet
- 2.42 MB xet
- 2.44 MB xet
- 2.44 MB xet
- 2.45 MB xet
- 2.45 MB xet
- 2.45 MB xet
- 2.46 MB xet
- 2.47 MB xet
- 2.47 MB xet
- 2.47 MB xet
- 2.47 MB xet
- 2.48 MB xet
- 2.48 MB xet
- 2.48 MB xet
- 2.48 MB xet
- 2.48 MB xet
- 2.48 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.49 MB xet
- 2.48 MB xet
- 2.48 MB xet
- 2.48 MB xet