Instructions to use deepBiz/ddpm-butterflies-128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use deepBiz/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("deepBiz/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
- 510 kB xet
- 525 kB xet
- 482 kB xet
- 471 kB xet
- 451 kB xet
- 376 kB xet
- 375 kB xet
- 326 kB xet
- 341 kB xet
- 338 kB xet
- 352 kB xet
- 322 kB xet
- 325 kB xet
- 336 kB xet
- 306 kB xet
- 358 kB xet
- 340 kB xet
- 343 kB xet
- 348 kB xet
- 364 kB xet
- 333 kB xet
- 363 kB xet
- 412 kB xet
- 386 kB xet
- 373 kB xet
- 367 kB xet
- 348 kB xet
- 363 kB xet
- 376 kB xet
- 365 kB xet
- 317 kB xet
- 277 kB xet
- 285 kB xet
- 333 kB xet
- 340 kB xet
- 324 kB xet
- 320 kB xet
- 267 kB xet
- 300 kB xet
- 305 kB xet
- 294 kB xet
- 320 kB xet
- 232 kB xet
- 249 kB xet
- 227 kB xet
- 231 kB xet
- 274 kB xet
- 254 kB xet
- 321 kB xet
- 342 kB xet