Instructions to use google/ddpm-cat-256 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use google/ddpm-cat-256 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("google/ddpm-cat-256", 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
Commit History
-
Adding `safetensors` variant of this model
c7462eb
-
Update README.md
a30605d
-
Update README.md
34e20c9 -
add images
651128a -
Update README.md
818c515 -
Upload README.md with huggingface_hub (#2)
- Upload README.md with huggingface_hub (5057027611ec447eaed5efbeab03036e5cfedd71)65a0fcd -
add images
96c4c57
-
convert weights
a2e2189 -
finish config
de2513a -
update config
2f36b66
-
Merge branch 'main' of https://huggingface.co/google/ddpm-lsun-cat into main
24473e6 -
add model
5c5cea4 -
Create README.md
355331f -
initial commit
b8e258e