Instructions to use InvokeAI/ip_adapter_sdxl_image_encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use InvokeAI/ip_adapter_sdxl_image_encoder with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, CLIPVisionModelWithProjection tokenizer = AutoTokenizer.from_pretrained("InvokeAI/ip_adapter_sdxl_image_encoder") model = CLIPVisionModelWithProjection.from_pretrained("InvokeAI/ip_adapter_sdxl_image_encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from InvokeAI/ip_adapter_sdxl_image_encoder: direct link, hf CLI and curl.
- Browser
- Download file 621 Bytes
-
https://huggingface.co/InvokeAI/ip_adapter_sdxl_image_encoder/resolve/main/README.md
- Command line
-
hf download hf://InvokeAI/ip_adapter_sdxl_image_encoder/README.md
-
curl -L -o README.md https://huggingface.co/InvokeAI/ip_adapter_sdxl_image_encoder/resolve/main/README.md
621 Bytes
| license: apache-2.0 | |
| This is the Image Encoder required for SDXL IP Adapter models to function correctly. It is compatible with version 3.2+ of Invoke AI. | |
| IP Adapter allows for users to input an Image Prompt, which is interpreted by the system, and passed in as conditioning for the image generation process. | |
| The Community Edition of Invoke AI can be found at invoke.ai or on GitHub at https://github.com/invoke-ai/InvokeAI | |
| This model is a copy of https://huggingface.co/h94/IP-Adapter/tree/5c2eae7d8a9c3365ba4745f16b94eb0293e319d3/sdxl_models/image_encoder. It is hosted here for compatibility with InvokeAI. | |