Instructions to use serjsaraev/instruct-pix2pix-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use serjsaraev/instruct-pix2pix-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("serjsaraev/instruct-pix2pix-model", 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 checkpoint-900/optimizer.bin from serjsaraev/instruct-pix2pix-model: direct link, hf CLI and curl.
- Browser
- Download file 20.5 GB
-
https://huggingface.co/serjsaraev/instruct-pix2pix-model/resolve/main/checkpoint-900/optimizer.bin
- Command line
-
hf download hf://serjsaraev/instruct-pix2pix-model/checkpoint-900/optimizer.bin
-
curl -L -o optimizer.bin https://huggingface.co/serjsaraev/instruct-pix2pix-model/resolve/main/checkpoint-900/optimizer.bin
20.5 GB
- Xet hash:
- 7a481562ef4c296c672db124b509de07c257486e783445e7fcc6c44996a1e464
- Size of remote file:
- 20.5 GB
- SHA256:
- 4e80b72d86df36f5d167fec84e3e5a148212a30c1a49e15e91432c6531633bcb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.