Instructions to use Ray-dl/ddpm-butterflies-128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Ray-dl/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("Ray-dl/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
- 527 kB xet
- 578 kB xet
- 559 kB xet
- 511 kB xet
- 543 kB xet
- 581 kB xet
- 535 kB xet
- 507 kB xet
- 610 kB xet
- 519 kB xet
- 526 kB xet
- 566 kB xet
- 612 kB xet
- 561 kB xet
- 579 kB xet
- 561 kB xet
- 554 kB xet
- 540 kB xet
- 553 kB xet
- 558 kB xet
- 606 kB xet
- 578 kB xet
- 513 kB xet
- 527 kB xet
- 584 kB xet
- 531 kB xet
- 570 kB xet
- 568 kB xet
- 562 kB xet
- 561 kB xet
- 545 kB xet
- 564 kB xet
- 549 kB xet
- 594 kB xet
- 540 kB xet
- 497 kB xet
- 496 kB xet
- 566 kB xet
- 543 kB xet
- 565 kB xet
- 577 kB xet
- 539 kB xet
- 564 kB xet
- 570 kB xet
- 625 kB xet
- 598 kB xet
- 511 kB xet
- 539 kB xet
- 580 kB xet
- 574 kB xet