Instructions to use diffusers/pix2pix-sd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/pix2pix-sd with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/pix2pix-sd", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download unet/diffusion_pytorch_model.safetensors from diffusers/pix2pix-sd: direct link, hf CLI and curl.
- Browser
- Download file 3.44 GB
-
https://huggingface.co/diffusers/pix2pix-sd/resolve/main/unet/diffusion_pytorch_model.safetensors
- Command line
-
hf download hf://diffusers/pix2pix-sd/unet/diffusion_pytorch_model.safetensors
-
curl -L -o diffusion_pytorch_model.safetensors https://huggingface.co/diffusers/pix2pix-sd/resolve/main/unet/diffusion_pytorch_model.safetensors
3.44 GB
- Xet hash:
- 0a95e8e11838765268172a39914b1598f6152034f0bfe70cb212da761835078f
- Size of remote file:
- 3.44 GB
- SHA256:
- fba63ff10c4271b953216b714c4f333c9d26d022e24ac226f09fde475812bd2a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.