Instructions to use google/ddpm-cifar10-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use google/ddpm-cifar10-32 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-cifar10-32", 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
Download diffusion_pytorch_model.safetensors from google/ddpm-cifar10-32: direct link, hf CLI and curl.
- Browser
- Download file 143 MB
-
https://huggingface.co/google/ddpm-cifar10-32/resolve/main/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://google/ddpm-cifar10-32/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/google/ddpm-cifar10-32/resolve/main/diffusion_pytorch_model.safetensors
143 MB
- Xet hash:
- 5eb89da57c35c690f1519abf78afa8215df5744e2ec2bd8b5ade9e8da4c29d31
- Size of remote file:
- 143 MB
- SHA256:
- 1558dbe3fb093b0857d473e376b711eeda1b186c557be5e85b3a56300cd49f0f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.