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