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-1000/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-1000/optimizer.bin
- Command line
-
hf download hf://serjsaraev/instruct-pix2pix-model/checkpoint-1000/optimizer.bin
-
curl -L -o optimizer.bin https://huggingface.co/serjsaraev/instruct-pix2pix-model/resolve/main/checkpoint-1000/optimizer.bin
20.5 GB
- Xet hash:
- 7af2d418aa450262c5dbc1f7efcee1a21a2c68a29a7023b386b934d2fd653dd4
- Size of remote file:
- 20.5 GB
- SHA256:
- 10bc1627e59745b5ac89225119b46be2203d7ff52340a6649eb875897b36b4cc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.