Run this model with HF Jobs
Run diffusers/pix2pix-sd on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/diffusers/pix2pix-sd. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/diffusers/pix2pix-sd on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Commit ·
ccf2f1c
1
Parent(s): 11a8f3d
Adding `safetensors` variant of this model
Browse filesFiles changed (5)
123version https://git-lfs.github.com/spec/v1oid sha256:fbc31a67aab29ad38eef622a252d3fa4b0a81d4a4dc65da416cf45b13aa67688size 7703416451123version https://git-lfs.github.com/spec/v1oid sha256:4666d0f9b718a6ed165ce95b8aac0d3d78031b8906fdc88ca8e735af5261788csize 1215981833123version https://git-lfs.github.com/spec/v1oid sha256:7b3a12df205cb3c74dd4eae4354d93f606ae6b3bc29d5d06fd97921cb9ad8a81size 492265879123version https://git-lfs.github.com/spec/v1oid sha256:fba63ff10c4271b953216b714c4f333c9d26d022e24ac226f09fde475812bd2asize 3438213622123version https://git-lfs.github.com/spec/v1oid sha256:a2b5134f4dbc140d9c11f11cba3233099e00af40f262f136c691fb7d38d2194csize 334643276instruct-pix2pix-00-22000.safetensorsAdded+3
safety_checker/model.safetensorsAdded+3
text_encoder/model.safetensorsAdded+3
unet/diffusion_pytorch_model.safetensorsAdded+3
vae/diffusion_pytorch_model.safetensorsAdded+3