Instructions to use thanhtuit96/ddpm_128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use thanhtuit96/ddpm_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("thanhtuit96/ddpm_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
- 575 kB xet
- 615 kB xet
- 604 kB xet
- 622 kB xet
- 626 kB xet
- 631 kB xet
- 566 kB xet
- 589 kB xet
- 620 kB xet
- 581 kB xet
- 569 kB xet
- 601 kB xet
- 565 kB xet
- 528 kB xet
- 537 kB xet
- 509 kB xet
- 498 kB xet
- 483 kB xet
- 562 kB xet
- 538 kB xet
- 575 kB xet
- 597 kB xet
- 585 kB xet
- 582 kB xet
- 558 kB xet
- 478 kB xet
- 535 kB xet
- 530 kB xet
- 520 kB xet
- 546 kB xet
- 481 kB xet
- 490 kB xet
- 521 kB xet
- 541 kB xet
- 460 kB xet
- 499 kB xet
- 396 kB xet
- 420 kB xet
- 364 kB xet
- 481 kB xet
- 496 kB xet
- 449 kB xet
- 452 kB xet
- 394 kB xet
- 432 kB xet
- 484 kB xet
- 463 kB xet
- 478 kB xet
- 488 kB xet
- 494 kB xet