Instructions to use CiaraRowles/IP-Adapter-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CiaraRowles/IP-Adapter-Instruct with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CiaraRowles/IP-Adapter-Instruct", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
File size: 360 Bytes
69a0768 62dbb17 69a0768 1f57727 9f7a49e 7effcbf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ---
license: apache-2.0
language:
- en
library_name: diffusers
pipeline_tag: image-to-image
inference: false
---
IP-Adapter-Instruct

see github: https://github.com/unity-research/IP-Adapter-Instruct
Paper: https://arxiv.org/abs/2408.03209 |