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