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